年月搜索框调小 登录页图标调小

This commit is contained in:
DESKTOP-AD8UBUJ\ling
2026-03-02 15:58:40 +08:00
parent 824dd39172
commit abfd398b86
2 changed files with 76 additions and 73 deletions

View File

@@ -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
}