From 4ef1056df6bc62869953a56b31988ab6f219f295 Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Thu, 8 Sep 2022 09:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E7=B3=BB=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/partymember/icpartyorgtree.vue | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/views/modules/partymember/icpartyorgtree.vue b/src/views/modules/partymember/icpartyorgtree.vue index ebc87f1ce..45d0e6b88 100644 --- a/src/views/modules/partymember/icpartyorgtree.vue +++ b/src/views/modules/partymember/icpartyorgtree.vue @@ -82,6 +82,7 @@ + style="width: 200px" + class="item_width_4"> - 取 消 + 取 消 确 定 @@ -222,13 +224,23 @@ this.$http.post('/resi/partymember/icPartyOrg/editPrincipal',this.editPrincipalData).then(({ data: res }) =>{ if (res.code !== 0) { return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') + }else { + this.principalShow = false + this.getTableData() + this.resetEditPrincipalData() } }).catch(() => {}) - this.principalShow = false - this.getTableData() }, handleClose() { - this.principalShow = false + this.principalShow = false + this.resetEditPrincipalData() + }, + resetEditPrincipalData() { + this.editPrincipalData = { + principal: '', + principalMobile: '', + partyOrgId: '' + } }, // 查询列表 async getTableData () {