diff --git a/src/views/dashboard/IncomeSortEcharts.vue b/src/views/dashboard/IncomeSortEcharts.vue index f23ee2c..a05534f 100644 --- a/src/views/dashboard/IncomeSortEcharts.vue +++ b/src/views/dashboard/IncomeSortEcharts.vue @@ -3,8 +3,9 @@
收入分类统计
- 合同额 - 收入额 + 收入分析 + 应收 + 确收
@@ -77,7 +78,7 @@ export default { name: 'IncomeSortEcharts', data() { return { - activeIndex:'allMoney', + activeIndex:'income', echartsInstace:null, columns, url:{ @@ -105,7 +106,8 @@ export default { } let typeEnum = { allMoney:1, - confirmAmount:2 + confirmAmount:2, + income:3 } getAction(this.url.list,{type:typeEnum[this.activeIndex]}).then(res =>{ if(res.success){ @@ -273,18 +275,19 @@ export default { align-items: center; right: 20px; top: 20px; - width: 120px; + width: 180px; height: 35px; line-height: 35px; border: 1px solid #069F99; border-radius: 4px; cursor: pointer; &-left { - width: 50%; + width: 33.3%; text-align: center; + border-right: 1px solid #069F99; } &-right { - width: 50%; + width: 33.3%; text-align: center; } }