From 8aa3edd56c279100c9053576f3e90fa55459fe77 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 Jan 2023 16:15:55 +0800
Subject: [PATCH] 修改

---
 src/views/system/user.vue |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index 1822253..cf83beb 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -261,7 +261,7 @@
         },
         option: {
           height: 'auto',
-          calcHeight: 80,
+          calcHeight: 54,
           tip: false,
           searchShow: true,
           searchMenuSpan: 6,
@@ -279,10 +279,11 @@
               display: false
             },
             {
-              label: "所属租户",
+              label: "所属客户",
               prop: "tenantName",
               slot: true,
-              display: false
+              display: false,
+              width:200
             },
             {
               label: "用户姓名",
@@ -300,7 +301,8 @@
               label: "所属部门",
               prop: "deptName",
               slot: true,
-              display: false
+              display: false,
+              width:260
             },
 
             {
@@ -312,6 +314,13 @@
               label: "在线状态",
               prop: "online_status",
               slot: true,
+              display: false
+            },
+            {
+              label: "工作状态",
+              prop: "work_status",
+              slot: true,
+              hide: true,
               display: false
             },
             {
@@ -341,7 +350,7 @@
               icon: 'el-icon-user-solid',
               column: [
                 {
-                  label: "所属租户",
+                  label: "所属客户",
                   prop: "tenantId",
                   type: "tree",
                   dicUrl: "/api/blade-system/tenant/select",
@@ -508,8 +517,8 @@
                 {
                   label: "所属部门",
                   prop: "deptId",
-                  type: "tree",
-                  multiple: true,
+                  type: "cascader",
+                  //multiple: true,
                   dicData: [],
                   props: {
                     label: "title"
@@ -532,11 +541,7 @@
                     label: "postName",
                     value: "id"
                   },
-                  rules: [{
-                    required: true,
-                    message: "请选择所属岗位",
-                    trigger: "click"
-                  }],
+
                 },
               ]
             },

--
Gitblit v1.9.3