【修改】修改统计图位置

This commit is contained in:
fengachen
2022-09-16 14:24:28 +08:00
parent fb6c196a61
commit 7283be5a09
2 changed files with 5 additions and 5 deletions
+5 -3
View File
@@ -19,6 +19,10 @@
<single-month-echarts class="single-month m-t-10"></single-month-echarts> <single-month-echarts class="single-month m-t-10"></single-month-echarts>
<!-- 全所收入统计 单月--> <!-- 全所收入统计 单月-->
<!-- 科室总体统计 -->
<department-total-echarts class="three-year m-t-10"></department-total-echarts>
<!-- 科室总体统计 -->
<section class="wrap"> <section class="wrap">
<!--三年统计 --> <!--三年统计 -->
<three-year-echarts class="depart-total m-t-10"></three-year-echarts> <three-year-echarts class="depart-total m-t-10"></three-year-echarts>
@@ -30,9 +34,7 @@
</section> </section>
<!-- 科室总体统计 -->
<department-total-echarts class="three-year m-t-10"></department-total-echarts>
<!-- 科室总体统计 -->
<!-- 企业客户统计(合同额前十)--> <!-- 企业客户统计(合同额前十)-->
<all-money-ten-echarts class="all-money m-t-10"></all-money-ten-echarts> <all-money-ten-echarts class="all-money m-t-10"></all-money-ten-echarts>
-2
View File
@@ -111,12 +111,10 @@ export default {
// 将接口数据 转化成表格数据形式 // 将接口数据 转化成表格数据形式
let tableData = [ let tableData = [
{indexName: '合同金额'}, {indexName: '合同金额'},
{indexName: '确认收入金额'}
] ]
dataSource.map((item, index) => { dataSource.map((item, index) => {
let dataIndex = 'key' + index let dataIndex = 'key' + index
tableData[0][dataIndex] = item.allMoney tableData[0][dataIndex] = item.allMoney
tableData[1][dataIndex] = item.confirmAmount
}) })
this.dataSource = tableData this.dataSource = tableData
} }