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 () {