From b66cf63631ee1bd7cb617cd19a0bfab56ccec5f7 Mon Sep 17 00:00:00 2001
From: zxc <1272811460@qq.com>
Date: Thu, 8 Sep 2022 14:47:01 +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 | 31 +++++++++++--------
1 file changed, 18 insertions(+), 13 deletions(-)
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