Browse Source

资源调度公益岗与志愿者初次报错问题

feature
mk 1 year ago
parent
commit
55e359ea3d
  1. 14
      src/views/dataBoard/overview/components/ResourceScheduling.vue

14
src/views/dataBoard/overview/components/ResourceScheduling.vue

@ -245,25 +245,11 @@ export default {
this.getZzzList();
} else if (this.peopleType === '5' ) {
this.getLjdwList();
} else if (this.peopleType === 'publicWelfareNum' || this.peopleType === 'volunteer') {
this.getServerOrgNewTask();
} else {
this.getList()
}
}
},
getServerOrgNewTask() {
let {parentCategoryCode,categoryCode} = this.demandRecDetail;
this.loading = true;
this.$http.post('/actual/base/serviceitem/listServerOrgNewTask', {
serverOrgType: this.peopleType == 'publicWelfareNum'?'publicWelfare':'ic_user_volunteer',
serverParentOrgCategoryCode:parentCategoryCode,
serverOrgCategoryCode:categoryCode
}).then(res => {
this.loading = false;
this.list = res.data.data;
})
},
handleHandle(data) {
this.handleClose()

Loading…
Cancel
Save