From 8672c10bc339c42f2f4b241b70ea5e6579a2a896 Mon Sep 17 00:00:00 2001 From: HAHA Date: Tue, 28 Jun 2022 16:28:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=92=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E6=93=8D=E4=BD=9C=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E7=BB=84=E7=BB=87id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/base/organization/organization.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index fbfe3bd2..518bf082 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -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'