diff --git a/src/views/dashboard/IncomeSortEcharts.vue b/src/views/dashboard/IncomeSortEcharts.vue index 765920b..f23ee2c 100644 --- a/src/views/dashboard/IncomeSortEcharts.vue +++ b/src/views/dashboard/IncomeSortEcharts.vue @@ -114,7 +114,7 @@ export default { this.initEcharts(res.result) // 将接口数据 转化成表格数据形式 let tableData = [ - {indexName: typeEnum[this.activeIndex] === 1 ? '合同金额' :'确认收入金额'}, + {indexName: typeEnum[this.activeIndex] === 1 ? '合同金额' :'确收金额'}, {indexName: '百分比'} ] dataSource.map((item, index) => { @@ -151,7 +151,7 @@ export default { }, legend: { bottom:'2%', - left: '10%' + left: '7%' }, labelLine:{ lineStyle:{ @@ -210,7 +210,7 @@ export default { this.columns.push({ title: item.name_dictText, align: 'center', - width: 70, + width: 85, dataIndex: 'key' + index, scopedSlots: {customRender: 'allMoney'} },)