From 057b5e0bb0cbc6944f147bb931c9b8bad45d90c7 Mon Sep 17 00:00:00 2001 From: duanliangtao Date: Fri, 15 Dec 2023 10:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=82=B9=E5=85=B3=E6=B3=A8=E4=BA=BA?= =?UTF-8?q?=E7=BE=A4=E8=A6=81=E9=9A=8F=E7=9D=80=E7=BB=84=E7=BB=87=E5=B1=82?= =?UTF-8?q?=E7=BA=A7=E7=9A=84=E5=8F=98=E6=8D=A2=E5=8A=A8=E6=80=81=E5=8F=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataBoard/overview/components/jdjs.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/dataBoard/overview/components/jdjs.vue b/src/views/dataBoard/overview/components/jdjs.vue index a3f3edff9..5b4e982f6 100644 --- a/src/views/dataBoard/overview/components/jdjs.vue +++ b/src/views/dataBoard/overview/components/jdjs.vue @@ -111,7 +111,7 @@ export default { if (val.orgId) { this.getReport(val); this.getData(); - this.getChartData(); + this.getChartData(val); } }, }, @@ -148,10 +148,14 @@ export default { this.report = data; }); }, - getChartData() { + getChartData({ orgId, orgLevel }) { this.loading = true - this.$http.get('/actual/base/resiCategory/categoryCountList').then(({data: {data}}) => { + this.$http.get('/actual/base/resiCategory/categoryCountList?orgId=' + + orgId + + "&level=" + + orgLevel + ).then(({data: {data}}) => { this.initCharts(data) }) },