This commit is contained in:
chy
2026-02-12 15:51:18 +08:00
parent 49c5d07b65
commit 36b4608ddf

View File

@@ -69,10 +69,12 @@
</template> </template>
<template #header v-if="Object.keys(dimensionFields)?.length"> <template #header v-if="Object.keys(dimensionFields)?.length">
<div style="display:flex;margin-left:40px"> <div style="display:flex;margin-left:40px">
<el-checkbox-group @change="searchDimension" v-model="tableSearch['Group by']" <el-checkbox-group
@change="searchDimension" v-model="tableSearch['Group by']"
placeholder="请选择内容"> placeholder="请选择内容">
<template v-for="(item,key) in dimensionFields"> <template v-for="(item,key) in dimensionFields">
<el-checkbox v-if="tableSearch['Group by']&&tableSearch['Group by'].includes(key)||!tableSearch['Group by']?.length" <el-checkbox
v-if="tableSearch['Group by']&&tableSearch['Group by'].includes(key)||!tableSearch['Group by']?.length"
:key="key" :key="key"
:value="key" :value="key"
:label="item.label"></el-checkbox> :label="item.label"></el-checkbox>
@@ -191,7 +193,9 @@ const initTable = async () => {
border: reportVo.tableConfig.includes('border'), border: reportVo.tableConfig.includes('border'),
stripe: reportVo.tableConfig.includes('stripe'), stripe: reportVo.tableConfig.includes('stripe'),
showSummary:false, showSummary:false,
stripe:true, stripe:true,
column: {} column: {}
} }
@@ -658,10 +662,12 @@ defineExpose({
&::after{ &::after{
content:'、' content:'、'
} }
&:last-of-type::after{ &:last-of-type::after{
content:'' content:''
} }
} }
.lastAmountRow{ .lastAmountRow{
} }