From 3fbc552e71f8029d1f567896957a2f8bc9a64727 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 12 Jun 2024 11:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E5=BB=BA=E5=8D=95=E4=BD=8D=E8=81=94?= =?UTF-8?q?=E5=BB=BA=E6=B4=BB=E5=8A=A8=E8=81=94=E7=B3=BB=E4=BA=BA=E5=85=A5?= =?UTF-8?q?=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/communityParty/regionalParty/unitsForm.vue | 2 +- src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/communityParty/regionalParty/unitsForm.vue b/src/views/modules/communityParty/regionalParty/unitsForm.vue index 977356130..43e30d8c0 100644 --- a/src/views/modules/communityParty/regionalParty/unitsForm.vue +++ b/src/views/modules/communityParty/regionalParty/unitsForm.vue @@ -243,7 +243,7 @@ export default { handelChangeStaff(val){ if(val){ this.formData.contactMobile = this.dicts.stafflist.filter(item=>item.staffId === val)[0].mobile; - this.formData.contact = val; + this.formData.contact = this.dicts.stafflist.filter(item=>item.staffId === val)[0].roleStr; }else{ this.formData.contactMobile = ''; this.formData.contact = ''; diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue index 81a001d6e..f1522dc7b 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue @@ -344,7 +344,7 @@ export default { handelChangeStaff(val){ if(val){ this.formData.principalPhone = this.stafflist.filter(item=>item.name === val)[0].mobile; - this.formData.principalId= this.stafflist.filter(item=>item.name === val)[0].staffId; + this.formData.contact = this.dicts.stafflist.filter(item=>item.staffId === val)[0].roleStr; }else{ this.formData.principalPhone = ''; this.formData.principalId = null;