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) }) },