资产类别统计问题处理

init
gongdi 4 years ago
parent 2771ad21a6
commit 6a4f87851a

@ -362,16 +362,16 @@
* */
callInter:function () {
//
let depEchart = echarts.getInstanceByDom(document.getElementById("deptRecordEchart"));
let placeEchart = echarts.getInstanceByDom(document.getElementById("placeEchart"));
let categoryEchart = echarts.getInstanceByDom(document.getElementById("categoryRecordEchart"));
if(depEchart){
if(document.getElementById("deptRecordEchart")){
let depEchart = echarts.getInstanceByDom(document.getElementById("deptRecordEchart"));
depEchart.clear();
}
if(placeEchart){
if(document.getElementById("placeEchart")){
let placeEchart = echarts.getInstanceByDom(document.getElementById("placeEchart"));
placeEchart.clear();
}
if(categoryEchart){
if(document.getElementById("categoryRecordEchart")){
let categoryEchart = echarts.getInstanceByDom(document.getElementById("categoryRecordEchart"));
categoryEchart.clear();
}
this.getDeptPieDiagram();
@ -391,7 +391,7 @@
* */
changeReportType:function (e) {
let reportType = e.target.checked;
this.containChild = reportType;
this.reportType = reportType;
this.callInter();
}
},

Loading…
Cancel
Save