diff --git a/src/views/dashboard/Analysis.vue b/src/views/dashboard/Analysis.vue index a0b0703..ede7d79 100644 --- a/src/views/dashboard/Analysis.vue +++ b/src/views/dashboard/Analysis.vue @@ -24,15 +24,14 @@
+ + + - - - -
@@ -100,13 +99,13 @@ export default { .single-month-total, .three-year { width: 100%; - height: 700px; + height: auto; background: #fff; } -.three-year { - height: 620px; -} +//.three-year { +// height: 620px; +//} .m-t-10 { margin-top: 10px; @@ -136,7 +135,7 @@ export default { // 分类统计 .income-sort { - margin-left: 8px; + //margin-left: 8px; width: 49.6%; min-width: 480px; height: auto; diff --git a/src/views/dashboard/DepartmentTotalEcharts.vue b/src/views/dashboard/DepartmentTotalEcharts.vue index 491418c..b136123 100644 --- a/src/views/dashboard/DepartmentTotalEcharts.vue +++ b/src/views/dashboard/DepartmentTotalEcharts.vue @@ -112,12 +112,14 @@ export default { // 将接口数据 转化成表格数据形式 let tableData = [ {indexName: '合同金额'}, - {indexName: '确认收入金额'} + {indexName: '确认收入金额'}, + {indexName: '完成比例'} ] dataSource.map((item, index) => { let dataIndex = 'key' + index tableData[0][dataIndex] = item.allMoney tableData[1][dataIndex] = item.confirmAmount + tableData[2][dataIndex] = this.calcPercent(item.confirmAmount,item.allMoney) }) this.dataSource = tableData } @@ -312,6 +314,7 @@ export default { padding: 20px; box-sizing: border-box; width: 100%; + //height: auto; } .title {