From 0a1d2fe85a280f5543b9b3241aaf8d8a39a32f8c Mon Sep 17 00:00:00 2001
From: mg <maokecheng@163.com>
Date: 星期四, 27 十月 2022 18:26:40 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_ui

---
 src/views/systemSetting/baseSetting/department/updateUser/index.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/department/updateUser/index.vue b/src/views/systemSetting/baseSetting/department/updateUser/index.vue
index 05735a8..b3e2481 100644
--- a/src/views/systemSetting/baseSetting/department/updateUser/index.vue
+++ b/src/views/systemSetting/baseSetting/department/updateUser/index.vue
@@ -129,13 +129,14 @@
     this.checkedList.forEach((e) => {
       this.checkedUser.push(e.userId);
     });
+    console.log(this.checkedUser)
     this.$axios({
       method: "get",
       url: "sccg/depart/tree",
     }).then((res) => {
       that.departList = res.data;
     });
-    this.getUserList();
+    this.getUserList(this.user.id);
     // 鑾峰彇閮ㄩ棬绫诲瀷
     this.getDepartType();
   },
@@ -191,11 +192,11 @@
     },
 
     // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭�
-    getUserList() {
+    getUserList(id) {
       // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭�佺敤鎴锋煡璇�(鏆傛椂鏀寔鐢佃瘽鍙风爜)
-      this.$axios.get(`sccg/admin/list`).then((res) => {
+      this.$axios.get(`/sccg/depart/query_surplus_exist_user?id=`+id).then((res) => {
         if (res.code === 200) {
-          this.userList = res.data.records;
+          this.userList = res.data;
         }
       });
     },
@@ -322,7 +323,8 @@
   right: 0;
 
   .box-card {
-    max-height: 200px;
+    min-height: 240px;
+    max-height: 260px;
     overflow: hidden;
     background-color: #09152f;
     position: relative;
@@ -330,7 +332,7 @@
 
     .scrollWrap {
       overflow: scroll;
-      height: 160px;
+      height: 180px;
       position: relative;
       color: #4b9bb7;
 
@@ -357,7 +359,7 @@
       top: 77px;
       right: 20px;
       width: 20px;
-      height: 160px;
+      height: 180px;
       background-color: #09152f;
     }
 

--
Gitblit v1.8.0