From cf55e57ac8e892c321cc9eeb79e14b39e7d80e82 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 28 Nov 2025 16:34:19 +0800
Subject: [PATCH] Merge branch 'feature/v8.0/8.0.3' into prod

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

diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index 84b895f..a4782da 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -490,7 +490,7 @@
                 label: '所属部门',
                 prop: 'deptId',
                 type: 'tree',
-                multiple: true,
+                multiple: false,
                 dicData: [],
                 // props: {
                 //   label: 'title',
@@ -793,7 +793,7 @@
         }
       }
 
-      row.deptId = func.join(row.deptId)
+      // row.deptId = func.join(row.deptId)
       row.roleId = func.join(row.roleId)
       row.postId = func.join(row.postId)
       row.name = row.realName
@@ -836,7 +836,7 @@
         }
       }
 
-      row.deptId = func.join(row.deptId)
+      // row.deptId = func.join(row.deptId)
       row.roleId = func.join(row.roleId)
       row.postId = func.join(row.postId)
       row.name = row.realName
@@ -1061,9 +1061,9 @@
       if (['edit', 'view'].includes(type)) {
         getUser(this.form.id).then(res => {
           this.form = res.data.data
-          if (this.form.hasOwnProperty('deptId')) {
-            this.form.deptId = func.split(this.form.deptId)
-          }
+          // if (this.form.hasOwnProperty('deptId')) {
+          //   this.form.deptId = func.split(this.form.deptId)
+          // }
           if (this.form.hasOwnProperty('roleId')) {
             this.form.roleId = func.split(this.form.roleId)
           }

--
Gitblit v1.9.3