From 6a4f87851abe7fe02bc9d61d0d73e5c127da81b6 Mon Sep 17 00:00:00 2001 From: gongdi <410827992@qq.com> Date: Thu, 14 Oct 2021 15:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E4=BA=A7=E7=B1=BB=E5=88=AB=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oa/assetCategoryRecord/assetCategoryLarge.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/assetCategoryRecord/assetCategoryLarge.vue b/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/assetCategoryRecord/assetCategoryLarge.vue index 1cceaf0..7c1437a 100644 --- a/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/assetCategoryRecord/assetCategoryLarge.vue +++ b/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/oa/assetCategoryRecord/assetCategoryLarge.vue @@ -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(); } },