|
|
@ -850,7 +850,7 @@ export default { |
|
|
|
dutyList:[], |
|
|
|
// 修改操作是否展示 |
|
|
|
modifyPeo:false, |
|
|
|
submitOrgid:'', |
|
|
|
|
|
|
|
// 级联数据 |
|
|
|
options:[ |
|
|
|
{ |
|
|
@ -1165,7 +1165,7 @@ export default { |
|
|
|
gender:this.peoForm.gender, |
|
|
|
workType:this.peoForm.post, |
|
|
|
roles:this.peoForm.duty, |
|
|
|
orgId:this.submitOrgid |
|
|
|
orgId:this.currentAgencyId |
|
|
|
} |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url,params) |
|
|
@ -1195,7 +1195,7 @@ export default { |
|
|
|
gender:this.peoForm.gender === '男' ? 1 : 0, |
|
|
|
workType:this.peoForm.post, |
|
|
|
roles:this.peoForm.duty, |
|
|
|
agencyId:this.userAgencyId, |
|
|
|
agencyId:this.currentAgencyId, |
|
|
|
} |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url,params) |
|
|
@ -1472,27 +1472,27 @@ export default { |
|
|
|
addPeo(row){ |
|
|
|
this.dialogVisiblePeo = true |
|
|
|
this.peoForm.orgType = 'agency' |
|
|
|
this.submitOrgid = this.currentAgencyId |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 新增社区人员 |
|
|
|
addCommunityPeo(){ |
|
|
|
this.dialogVisiblePeo = true |
|
|
|
this.peoForm.orgType = 'dept' |
|
|
|
this.submitOrgid = this.currentDepartmentId |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 新增网格人员 |
|
|
|
addGridPeo(){ |
|
|
|
this.dialogVisiblePeo = true |
|
|
|
this.peoForm.orgType = 'grid' |
|
|
|
this.submitOrgid = this.currentGridOrgId |
|
|
|
|
|
|
|
}, |
|
|
|
// 修改网格人员 |
|
|
|
async xiuGridPeo(row){ |
|
|
|
this.modifyPeo = true |
|
|
|
this.peoForm.orgType = 'grid' |
|
|
|
this.submitOrgid = this.currentGridOrgId |
|
|
|
|
|
|
|
this.userStaffId = row.staffId |
|
|
|
|
|
|
|
const url = "/gov/org/staff/editstaffinit" |
|
|
@ -1523,7 +1523,7 @@ export default { |
|
|
|
async xiuPeo(row){ |
|
|
|
this.modifyPeo = true |
|
|
|
this.peoForm.orgType = 'agency' |
|
|
|
this.submitOrgid = this.currentAgencyId |
|
|
|
|
|
|
|
this.userStaffId = row.staffId |
|
|
|
|
|
|
|
const url = "/gov/org/staff/editstaffinit" |
|
|
@ -1558,7 +1558,7 @@ export default { |
|
|
|
async xiuCommunityPeo(row){ |
|
|
|
this.modifyPeo = true |
|
|
|
this.peoForm.orgType = 'dept' |
|
|
|
this.submitOrgid = this.currentDepartmentId |
|
|
|
|
|
|
|
this.userStaffId = row.staffId |
|
|
|
|
|
|
|
const url = '/gov/org/staff/editstaffinit' |
|
|
|