diff --git a/src/views/modules/partymember/icpartyorgtree.vue b/src/views/modules/partymember/icpartyorgtree.vue
index 11f62d4f3..dd69f1160 100644
--- a/src/views/modules/partymember/icpartyorgtree.vue
+++ b/src/views/modules/partymember/icpartyorgtree.vue
@@ -15,8 +15,8 @@
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
:header-cell-style="{background:'#2195FE',color:'#FFFFFF'}"
:height="tableHeight">
-
-
+
+
-
-
+
+
- {
- if (res.code !== 0) {
- return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败')
- }else {
- this.principalShow = false
- this.getTableData()
- this.resetEditPrincipalData()
+ this.$refs['principalRules'].validate((valid) => {
+ if (!valid) {
+ return false
}
- }).catch(() => {})
+ 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(() => {})
+ })
},
handleClose() {
this.principalShow = false