Browse Source

修改部门id传参

feature
战立标 2 years ago
parent
commit
7cf4e73b6a
  1. 19
      src/views/dataBoard/renfang/visualizing/components/dibaorenyuan.vue
  2. 2
      src/views/dataBoard/satisfactionEval/modules/SelfInspectionScore/index.vue

19
src/views/dataBoard/renfang/visualizing/components/dibaorenyuan.vue

@ -88,9 +88,12 @@ export default {
} else {
level = "agency"
}
let params = this.$paramsFormat({
agencyId: this.org_id,
level
})
this.$http
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=0")
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=0&"+params)
.then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -101,7 +104,7 @@ export default {
.catch(() => {
});
this.$http
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=1")
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=1&"+params)
.then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -112,7 +115,7 @@ export default {
.catch(() => {
});
this.$http
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=2")
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=2&"+params)
.then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -123,7 +126,7 @@ export default {
.catch(() => {
});
this.$http
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=3")
.get("/actual/base/peopleRoomOverview/lowIncomePie?type=3&"+params)
.then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -134,7 +137,11 @@ export default {
.catch(() => {
});
this.$http
.post(`/actual/base/peopleRoomOverview/findPeoplePie`,{ agencyId:user.agencyId,level:level,category:'SUBSISTENCE_ALLOWANCE_FLAG'})
.post(`/actual/base/peopleRoomOverview/findPeoplePie`, {
agencyId: user.agencyId,
level: level,
category: 'SUBSISTENCE_ALLOWANCE_FLAG'
})
.then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

2
src/views/dataBoard/satisfactionEval/modules/SelfInspectionScore/index.vue

@ -50,7 +50,9 @@ export default {
},
},
mounted() {
if (this.$store.state.chooseArea.chooseName.orgId) {
this.getList()
}
},
methods: {
getList() {

Loading…
Cancel
Save