【修改】三年统计修改
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--三年统计-->
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="title">三年统计</div>
|
||||
<div class="title">应收统计</div>
|
||||
<div class="echarts-box" id="threeYear"></div>
|
||||
|
||||
<!-- 表格区域beign -->
|
||||
@@ -110,7 +110,7 @@ export default {
|
||||
this.initEcharts(res.result)
|
||||
// 将接口数据 转化成表格数据形式
|
||||
let tableData = [
|
||||
{indexName: '合同金额'},
|
||||
{indexName: '应收金额'},
|
||||
]
|
||||
dataSource.map((item, index) => {
|
||||
let dataIndex = 'key' + index
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
this.columns.push({
|
||||
title: item.name,
|
||||
align: 'center',
|
||||
width: 200,
|
||||
width: 120,
|
||||
dataIndex: 'key' + index,
|
||||
scopedSlots: {customRender: 'allMoney'}
|
||||
},)
|
||||
@@ -265,7 +265,7 @@ export default {
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '合同金额',
|
||||
name: '应收金额',
|
||||
data: this.echartsData.allMoney,
|
||||
type: 'bar',
|
||||
barMaxWidth: 30,
|
||||
|
||||
Reference in New Issue
Block a user