diff --git a/src/views/dataBoard/renfang/index.vue b/src/views/dataBoard/renfang/index.vue index 06e2910cc..25327804c 100644 --- a/src/views/dataBoard/renfang/index.vue +++ b/src/views/dataBoard/renfang/index.vue @@ -50,7 +50,7 @@ -
+
{ if (res.code !== 0) { return this.$message.error(res.msg); @@ -79,7 +83,7 @@ export default { }) .catch(() => {}); this.$http - .get("/actual/base/peopleRoomOverview/oldPeopleResidePie") + .get("/actual/base/peopleRoomOverview/oldPeopleResidePie?"+this.$paramsFormat(param)) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg); @@ -89,7 +93,7 @@ export default { }) .catch(() => {}); this.$http - .post(`/actual/base/peopleRoomOverview/findPeoplePie`,{ agencyId:user.agencyId,level:user.level,category:'OLD_PEOPLE_FLAG'}) + .post(`/actual/base/peopleRoomOverview/findPeoplePie`,{ agencyId:user.agencyId,level:this.level,category:'OLD_PEOPLE_FLAG'}) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg); @@ -102,7 +106,7 @@ export default { let url = '/actual/base/peopleRoomOverview/findPeoplePie' let params = { agencyId:user.agencyId, - level:user.level, + level:this.level, category:'OLD_PEOPLE_FLAG' } }, diff --git a/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue b/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue index 89aece234..f79313bb6 100644 --- a/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue +++ b/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue @@ -308,6 +308,7 @@ export default { }; this.resiChart.setOption(option); this.resiChart.on("click", (e) => { + console.log(e) this.$router.push({ path: "/dataBoard/renfang/resi-class-new", query: {