【修改】修改收入统计对齐

This commit is contained in:
fengachen
2022-09-07 17:49:15 +08:00
parent cd5dcc0f4f
commit 12dbd3def3
+3 -3
View File
@@ -114,7 +114,7 @@ export default {
this.initEcharts(res.result) this.initEcharts(res.result)
// 将接口数据 转化成表格数据形式 // 将接口数据 转化成表格数据形式
let tableData = [ let tableData = [
{indexName: typeEnum[this.activeIndex] === 1 ? '合同金额' :'确认收入金额'}, {indexName: typeEnum[this.activeIndex] === 1 ? '合同金额' :'确收金额'},
{indexName: '百分比'} {indexName: '百分比'}
] ]
dataSource.map((item, index) => { dataSource.map((item, index) => {
@@ -151,7 +151,7 @@ export default {
}, },
legend: { legend: {
bottom:'2%', bottom:'2%',
left: '10%' left: '7%'
}, },
labelLine:{ labelLine:{
lineStyle:{ lineStyle:{
@@ -210,7 +210,7 @@ export default {
this.columns.push({ this.columns.push({
title: item.name_dictText, title: item.name_dictText,
align: 'center', align: 'center',
width: 70, width: 85,
dataIndex: 'key' + index, dataIndex: 'key' + index,
scopedSlots: {customRender: 'allMoney'} scopedSlots: {customRender: 'allMoney'}
},) },)