From 6794dd6d48ae275f3188aa08613e13f29f78e52d Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 22 Jul 2024 14:14:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E6=80=A7=E9=9C=80=E6=B1=82=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/communityService/gxxq/addForm.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/modules/communityService/gxxq/addForm.vue b/src/views/modules/communityService/gxxq/addForm.vue index c82182bfc..c5fae0c57 100644 --- a/src/views/modules/communityService/gxxq/addForm.vue +++ b/src/views/modules/communityService/gxxq/addForm.vue @@ -760,6 +760,11 @@ export default { if (this.formType === "edit") { url = "/governance/commonDemand/update"; params.id = this.scopeId; + if(this.serviceOptiondList.findIndex(item=>item.id === params.assignInfo.serverOrgId) != -1){ + let {name,mobile} = this.serviceOptiondList.filter(item=>item.id === params.assignInfo.serverOrgId)[0] + params.serverOrgName = name + params.serverOrgMobile = mobile + } } const { data, code, msg } = await requestPost(url, params); @@ -774,8 +779,8 @@ export default { } }catch (error) { this.newFormData.serviceScopeList = serviceScopeListCopy - this.$message.error(msg); - console.log(msg); + this.$message.error(error); + console.log(error); } },