|
@@ -91,6 +91,8 @@ export default {
|
|
|
MONTH_ON_MONTH:'',
|
|
|
YEAR_ON_YEAR:'',
|
|
|
CPS_ALL:'',
|
|
|
+ MAX_CPL:'',
|
|
|
+ MAX_CPS:'',
|
|
|
chartData:[],
|
|
|
CPS_chartData:[],
|
|
|
CPL_chartData:[],
|
|
@@ -202,7 +204,8 @@ export default {
|
|
|
this.CPL_YEAR_ON_YEAR= dataArr["CPL_YEAR_ON_YEAR"];
|
|
|
this.MONTH_ON_MONTH= dataArr["MONTH_ON_MONTH"];
|
|
|
this.YEAR_ON_YEAR= dataArr["YEAR_ON_YEAR"];
|
|
|
-
|
|
|
+ this.MAX_CPL = dataArr["MAX_CPL"];
|
|
|
+ this.MAX_CPS = dataArr["MAX_DATA_COUNT"];
|
|
|
this.CPS_ALL=dataArr["PL_CP_NUM"];
|
|
|
}else{
|
|
|
this.CPS_chartData = [];
|
|
@@ -213,6 +216,8 @@ export default {
|
|
|
this.TB='';
|
|
|
this.HB='';
|
|
|
this.CPS_ALL='';
|
|
|
+ this.MAX_CPL = 1;
|
|
|
+ this.MAX_CPS = 1;
|
|
|
}
|
|
|
this.$nextTick(() => {
|
|
|
this.loading=false;
|
|
@@ -227,14 +232,14 @@ export default {
|
|
|
this.chartData = this.CPL_chartData;
|
|
|
this.$refs[item].style.color = '#fdbf00';
|
|
|
this.$refs['number'].style.color = '#fff'
|
|
|
- setDepartmentCommentEcharts(this.$refs.echarts,this.chartData)
|
|
|
+ setDepartmentCommentEcharts(this.$refs.echarts,this.chartData,this.MAX_CPL)
|
|
|
}else{
|
|
|
this.TB= this.MONTH_ON_MONTH;
|
|
|
this.HB= this.YEAR_ON_YEAR;
|
|
|
this.chartData = this.CPS_chartData;
|
|
|
this.$refs[item].style.color = '#fdbf00';
|
|
|
this.$refs['interest'].style.color = '#fff';
|
|
|
- setDepartmentCommentEcharts(this.$refs.echarts,this.chartData)
|
|
|
+ setDepartmentCommentEcharts(this.$refs.echarts,this.chartData,this.MAX_CPS)
|
|
|
}
|
|
|
}
|
|
|
},
|