From 13770fcc2dad1daa3534e4c4c5420e8d21904b29 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 05 五月 2022 11:48:27 +0800
Subject: [PATCH] save jump subuser list

---
 src/views/personalCenter/components/SubAccount.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/views/personalCenter/components/SubAccount.vue b/src/views/personalCenter/components/SubAccount.vue
index 46f5518..eee504c 100644
--- a/src/views/personalCenter/components/SubAccount.vue
+++ b/src/views/personalCenter/components/SubAccount.vue
@@ -82,14 +82,9 @@
 
         <el-table-column label="鎿嶄綔">
           <template slot-scope="scope">
-            <!-- 缂栬緫 -->
             <span class="iconfont option" @click="editUser(scope.row)"
               >缂栬緫</span
             >
-            <!-- 瑙g粦 -->
-            <!-- <span class="iconfont option" @click="Untying(scope.row)"
-              >瑙g粦</span
-            > -->
           </template>
         </el-table-column>
       </el-table>
@@ -371,7 +366,6 @@
       this.ruleForm.isChangePwd = row.isChangePwd;
       this.ruleForm.industryId = row.industryId;
       this.ruleForm.areaId = row.areaId;
-      debugger;
       this.ruleForm.address = [row.provinceId, row.areaId];
       this.ruleForm.provinceId = row.provinceId;
       this.ruleForm.authDuration = row.authDuration;
@@ -420,9 +414,12 @@
         menuIds: this.ruleForm.menuIds,
         dataIds: this.ruleForm.dataIds,
       };
-      debugger;
       saveSubUser(json).then((res) => {
-        debugger;
+        if (res.success) {
+          this.isShowAdd = false;
+          this.isEditing = false;
+          this.findUserList();
+        }
       });
     },
     findUserList() {

--
Gitblit v1.8.0