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/updateUser/index.vue |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/department/updateUser/index.vue b/src/views/systemSetting/baseSetting/department/updateUser/index.vue
index b3e2481..c5ab3b6 100644
--- a/src/views/systemSetting/baseSetting/department/updateUser/index.vue
+++ b/src/views/systemSetting/baseSetting/department/updateUser/index.vue
@@ -149,12 +149,12 @@
           checkedList.forEach((item) => {
             arr.push({ leader: item.leader, userId: item.id ? item.id : item.userId });
           });
-          if (arr.length === 0) {
-            this.$message({
-              type: 'warning',
-              message: '璇烽�夋嫨閮ㄩ棬浜哄憳',
-            })
-          } else {
+          // if (arr.length === 0) {
+          //   this.$message({
+          //     type: 'warning',
+          //     message: '璇烽�夋嫨閮ㄩ棬浜哄憳',
+          //   })
+          // } else {
             this.$axios
               .post("sccg/depart/update", {
                 id: user.id,
@@ -162,6 +162,7 @@
                 parentId: user.parentId === '鏆傛棤涓婄骇閮ㄩ棬' ? 0 : user.parentId,
                 departDes: user.departDes,
                 departManagerList: arr,
+                departType: user.departType
               })
               .then((res) => {
                 this.$message({
@@ -171,7 +172,7 @@
                 this.$emit("changeDialog", { flag: false });
                 this.getDepartList();
               });
-          }
+          // }
         } else {
           return false;
         }
@@ -224,13 +225,13 @@
 <style lang="scss" scoped>
 .updateUser {
   border-radius: 1px;
-  background-color: #09152f;
+  // background-color: #09152f;
 
   main {
     // border: 1px solid #fff;
     text-align: left;
     padding: 0 55px;
-    background-color: #09152f;
+    // background-color: #09152f;
     padding-bottom: 50px;
 
     // .mainTitle {
@@ -279,12 +280,12 @@
 }
 
 .updateUser::v-deep .el-form-item__label {
-  color: #4b9bb7;
+  // color: #4b9bb7;
 }
 
 .updateUser::v-deep .el-input__inner {
-  background-color: #09152f;
-  border: 1px solid #17324c;
+  // background-color: #09152f;
+  // border: 1px solid #17324c;
 }
 
 .addPerson {
@@ -326,7 +327,7 @@
     min-height: 240px;
     max-height: 260px;
     overflow: hidden;
-    background-color: #09152f;
+    // background-color: #09152f;
     position: relative;
     max-width: 220px;
 
@@ -360,7 +361,7 @@
       right: 20px;
       width: 20px;
       height: 180px;
-      background-color: #09152f;
+      // background-color: #09152f;
     }
 
     .item {

--
Gitblit v1.8.0