【修改】收入分类统计bug修改
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
:scroll="{x: 500}"
|
||||
:dataSource="dataSource"
|
||||
:pagination="false"
|
||||
:loading="loading"
|
||||
@change="handleTableChange"
|
||||
class="j-table-force-nowrap main-table">
|
||||
|
||||
<template slot="text" slot-scope="text">
|
||||
@@ -83,7 +81,8 @@ export default {
|
||||
columns,
|
||||
url:{
|
||||
list:'/index/incomeClassificationStatistics'
|
||||
}
|
||||
},
|
||||
dataSource:[]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -116,7 +115,7 @@ export default {
|
||||
this.initEcharts(res.result)
|
||||
// 将接口数据 转化成表格数据形式
|
||||
let tableData = [
|
||||
{indexName: typeEnum[this.activeIndex] === 1 ? '合同金额' :'确收金额'},
|
||||
{indexName: typeEnum[this.activeIndex] !== 2 ? '合同金额' :'确收金额'},
|
||||
{indexName: '百分比'}
|
||||
]
|
||||
dataSource.map((item, index) => {
|
||||
|
||||
Reference in New Issue
Block a user