From 5173f8e31d106abd003e123c8679cf53c7940b33 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 30 一月 2023 11:54:12 +0800
Subject: [PATCH] 网格绘制

---
 src/views/systemSetting/baseSetting/department/createUser/index.vue |   47 ++++++++++++++++++++++++-----------------------
 1 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/department/createUser/index.vue b/src/views/systemSetting/baseSetting/department/createUser/index.vue
index 321ffee..9756121 100644
--- a/src/views/systemSetting/baseSetting/department/createUser/index.vue
+++ b/src/views/systemSetting/baseSetting/department/createUser/index.vue
@@ -246,9 +246,9 @@
     // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭�
     getUserList() {
       // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭�佺敤鎴锋煡璇�(鏆傛椂鏀寔鐢佃瘽鍙风爜)
-      this.$axios.get(`sccg/admin/list`).then((res) => {
+      this.$axios.get(`/sccg/depart/query_surplus_user`).then((res) => {
         if (res.code === 200) {
-          this.userList = res.data.records;
+          this.userList = res.data;
         }
       });
     },
@@ -267,7 +267,7 @@
           }
         });
       });
-      this.checkedList[0].leader = true;
+      if (this.checkedList.length > 0) this.checkedList[0].leader = true;
       this.openUser = false;
     },
     handleClose() {
@@ -318,12 +318,12 @@
 <style lang="scss" scoped>
 .createUser {
   border-radius: 1px;
-  background-color: #09152f;
+  // background-color: #09152f;
 
   main {
     text-align: left;
     padding: 0 55px;
-    background-color: #09152f;
+    // background-color: #09152f;
     padding-bottom: 50px;
 
     .mainContent {
@@ -331,19 +331,19 @@
       justify-content: center;
       padding-top: 50px;
 
-      &::v-deep .el-form-item__label {
-        color: #4b9bb7;
-      }
+      // &::v-deep .el-form-item__label {
+      //   color: #4b9bb7;
+      // }
 
-      &::v-deep .el-input__inner {
-        background-color: #09152f;
-        border: 1px solid #17324c;
-      }
+      // &::v-deep .el-input__inner {
+      //   background-color: #09152f;
+      //   border: 1px solid #17324c;
+      // }
 
-      &::v-deep .el-textarea__inner {
-        background-color: #09152f;
-        border: 1px solid #17324c;
-      }
+      // &::v-deep .el-textarea__inner {
+      //   background-color: #09152f;
+      //   border: 1px solid #17324c;
+      // }
 
       .addPerson {
         display: flex;
@@ -402,17 +402,18 @@
         right: 0;
 
         .box-card {
-          max-height: 200px;
+          min-height: 240px;
+          max-height: 260px;
           overflow: hidden;
-          background-color: #09152f;
+          // background-color: #09152f;
           position: relative;
           max-width: 220px;
 
           .scrollWrap {
             overflow: scroll;
-            height: 160px;
+            height: 180px;
             position: relative;
-            color: #4b9bb7;
+            // color: #4b9bb7;
 
             .el-checkbox-group {
               display: flex;
@@ -427,7 +428,7 @@
           .myclear {
             width: 100%;
             line-height: 20px;
-            color: #4b9bb7;
+            // color: #4b9bb7;
             display: flex;
             justify-content: space-between;
           }
@@ -437,8 +438,8 @@
             top: 77px;
             right: 20px;
             width: 20px;
-            height: 160px;
-            background-color: #09152f;
+            height: 180px;
+            // background-color: #09152f;
           }
 
           .item {

--
Gitblit v1.8.0