Browse Source

重点关注人群要随着组织层级的变换动态变化

v1.1
duanliangtao 2 years ago
parent
commit
057b5e0bb0
  1. 10
      src/views/dataBoard/overview/components/jdjs.vue

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

Loading…
Cancel
Save