|
|
@@ -316,7 +316,7 @@ export default {
|
|
|
list.targetList.forEach((item) => {
|
|
|
barList[0].date.push(item.month + "月");
|
|
|
barList[0].children.push(item.current || 0);
|
|
|
- barList[1].children.push(item.compare || 0);
|
|
|
+ barList[1].children.push(item.sameperiod || 0);
|
|
|
});
|
|
|
this.barList = barList;
|
|
|
this.BASE.closeLoading();
|
|
|
@@ -399,8 +399,7 @@ export default {
|
|
|
},
|
|
|
];
|
|
|
this.tableData = [...arr, ...res];
|
|
|
- // this.rowClick(res[res.length - 1]);
|
|
|
- this.rowClick(res[0]);
|
|
|
+ this.rowClick(res[res.length - 1]);
|
|
|
} else {
|
|
|
this.BASE.closeLoading();
|
|
|
this.barList = [];
|