是小王呀\24601 1 year ago
parent
commit
ae0aaa9438
  1. 14
      src/views/dataBoard/overview/components/ResourceScheduling.vue
  2. 7
      src/views/modules/base/organization/organization.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()

7
src/views/modules/base/organization/organization.vue

@ -1672,15 +1672,14 @@ export default {
//
async submitPeoDo () {
if(this.peoForm.manageScopes){
const targetAgencyIds = this.peoForm.manageScopes.map(innerArray => innerArray[innerArray.length - 1]);
// Set
const result = new Set();
// level agencyId
this.extractLevelAndAgencyId(this.orgOptions[0], targetAgencyIds, result);
const manageScopeArray = Array.from(result);
var manageScopeArray = Array.from(result);
}
const url = "/gov/org/staff/addstaffv2";
const {
peoForm: { orgType },

Loading…
Cancel
Save