From 47adb54dee963a54798fc5a5392aceeebba9fde1 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Thu, 11 Sep 2025 14:32:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B1=A1=E6=9F=93=E5=80=BC?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detailed/pollutionReport/index.vue | 105 +++++++++++++----- 1 file changed, 79 insertions(+), 26 deletions(-) diff --git a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/index.vue b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/index.vue index 9be12d82..a9cd70a6 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/index.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/index.vue @@ -1,5 +1,5 @@ @@ -165,13 +164,13 @@ const localFilters = reactive({ }) -// 计算表格高度 const calculateTableHeight = () => { const windowHeight = window.innerHeight const headerHeight = 120 - const paginationHeight = 50 - const padding = 20 - tableHeight.value = windowHeight - headerHeight - paginationHeight - padding + const paginationHeight = 80 // 增加分页控件高度预留 + const padding = 30 // 增加padding避免被遮挡 + const calculatedHeight = windowHeight - headerHeight - paginationHeight - padding + tableHeight.value = Math.max(calculatedHeight, 300) } // 防抖处理窗口大小变化 @@ -384,9 +383,8 @@ onBeforeUnmount(() => { \ No newline at end of file