【FIX:BUG87909】-收入分类统计表头显示不下三点显示

This commit is contained in:
fengchenchen
2024-07-31 18:45:55 +08:00
parent c5b204f4d0
commit 80721abca6
+10 -2
View File
@@ -46,6 +46,12 @@
<div class="table-text">{{ text }}</div>
</a-tooltip>
</template>
<span v-for="item in columns" :slot="item.dataIndex" :key="item.dataIndex">
<a-tooltip>
<template slot="title">{{ item[item.dataIndex] }}</template>
<div class="table-text">{{ item[item.dataIndex] }}</div>
</a-tooltip>
</span>
<template slot="allMoney" slot-scope="text">
<a-tooltip>
@@ -272,7 +278,9 @@ export default {
]
newData.map((item, index) => {
this.columns.push({
title: item.name_dictText,
// title: item.name_dictText,
slots:{title: 'key' + index},
['key' + index]:item.name_dictText,
align: 'center',
width: 80,
dataIndex: 'key' + index,
@@ -360,7 +368,7 @@ export default {
}
&-right {
width: 33.3%;
width: 33.4%;
text-align: center;
}
}