From 26e1424431a8a98ee40292dca15d9dd7a279c010 Mon Sep 17 00:00:00 2001 From: HAHA Date: Fri, 6 May 2022 16:16:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/organization/organization.vue | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 4bdaca47..fbfe3bd2 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -17,7 +17,7 @@ height="250" :data="agencyTableListData" style="width: 100%"> - + @@ -67,7 +67,7 @@ @@ -196,7 +196,7 @@ width="30%" :before-close="handleClose"> - + @@ -405,6 +405,9 @@ + + +
关 闭 @@ -773,6 +776,7 @@ export default { orgType:'', activeTime:'', zuzhi:'', + disableFlag:'' }, // 人员调动 transferForm:{ @@ -880,6 +884,9 @@ export default { ], gridName:[ { required: true, message: '网格名称必填', trigger: 'blur' } + ], + addDepartmentName:[ + { required: true, message: '部门名称必填', trigger: 'blur' } ] } } @@ -943,7 +950,6 @@ export default { methods:{ // 点击后获取id handleChange (e) { - console.log(e) this.transferForm.orgId = e[1] if(this.transferForm.orgId != null || ''){ if(this.transferForm.orgId === 0){ @@ -1260,7 +1266,8 @@ export default { this.insertForm.name = '', this.insertForm.contacts = '', this.insertForm.code = '', - this.insertForm.phone = '' + this.insertForm.mobile = '', + this.insertForm.departmentName = '' }, // 网格新增弹框重置函数 GridFormRest(){ @@ -1294,7 +1301,7 @@ export default { this.transferForm.orgId = '', this.transferForm.orgType = '' this.selectValue = '' - + this.options[0] = [] }, // 新增组织 addNewAgencyRest(){ @@ -1626,10 +1633,15 @@ export default { if(code === 0){ this.peoForm.name = data.name - this.peoForm.mobile = data.mobile + this.peoForm.mobile = data.mobile.substr(0,3) + "****" + data.mobile.substr(7) this.peoForm.activeTime = data.activeTime this.peoForm.duty = data.roles this.peoForm.zuzhi = data.orgName + if (data.enableFlag === 'enable') { + this.peoForm.disableFlag = '已启用' + } else { + this.peoForm.disableFlag = '已禁用' + } } this.details = true }, @@ -1926,7 +1938,6 @@ export default { }, handelStreeOrCommunityZoing(val){ - console.log(val) this.OrgDetailsForm.level = val.level this.OrgDetailsForm.areaName = val.areaName this.OrgDetailsForm.areaCode = val.areaCode