|
@@ -49,6 +49,14 @@ export default {
|
|
|
this.HandleStaticDataY.push(dataArr[i].DATA_COUNT);
|
|
|
this.HandleStaticCode.push(dataArr[i].BASE_CODE);
|
|
|
}
|
|
|
+ if(dataArr.length < 10){
|
|
|
+ for(let i= dataArr.length;i<10;i++){
|
|
|
+ this.HandleStaticDataX.push('--------------------');
|
|
|
+ this.HandleStaticDataXTotal.push('--');
|
|
|
+ this.HandleStaticDataY.push(0);
|
|
|
+ this.HandleStaticCode.push('');
|
|
|
+ }
|
|
|
+ }
|
|
|
this.HandleStaticCode.reverse()
|
|
|
setHandleStaticOption(ele,this.HandleStaticDataX.reverse(),this.HandleStaticDataXTotal.reverse(),this.HandleStaticDataY.reverse())
|
|
|
echarts.init(ele).on('click',(params)=> {
|