From abfd398b86fc7adbbb67e019a3f12d6dada2b03c Mon Sep 17 00:00:00 2001 From: "DESKTOP-AD8UBUJ\\ling" <1874467086@qq.com> Date: Mon, 2 Mar 2026 15:58:40 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=B9=B4=E6=9C=88=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=A1=86=E8=B0=83=E5=B0=8F=20=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E8=B0=83=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LowDesign/src/LowReport/index.vue | 9 +- src/views/Login/Login.vue | 140 +++++++++--------- 2 files changed, 76 insertions(+), 73 deletions(-) diff --git a/src/components/LowDesign/src/LowReport/index.vue b/src/components/LowDesign/src/LowReport/index.vue index 5397626..88422c0 100644 --- a/src/components/LowDesign/src/LowReport/index.vue +++ b/src/components/LowDesign/src/LowReport/index.vue @@ -209,7 +209,7 @@ const initTable = async () => { menu: false, addBtn: false, height: isHeight ? 'auto' : undefined, - calcHeight: isHeight ? 160 : '', + calcHeight: isHeight ? 10 : '', index: reportVo.tableConfig.includes('index'), border: reportVo.tableConfig.includes('border'), stripe: reportVo.tableConfig.includes('stripe'), @@ -281,6 +281,11 @@ const initTable = async () => { tableSearch.value[config.prop]=item.searchDefaultValue } } + if(['年','年度','年份','月','月度','月份','年月'].includes(item.fieldName)){ + config.searchSpan=3 + config.searchLabelWidth=60 + + } if(!!item.isAmount){ index==0?amountFieds.value.fistField=config.prop:'' amountFieds.value[item.isAmount]=config @@ -349,7 +354,7 @@ const initTableLayout = () => { if (tableInfo.value.isHeight || props.calcHeight) { const calcH = props.calcHeight - let calcHeight = calcH || 160 + let calcHeight = calcH || 10 if (calcH) tableOption.value.height = 'auto' tableOption.value.calcHeight = calcHeight } diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 5fdfa0a..236ac54 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -1,19 +1,14 @@