From 33de1cf5576373b99dc2a6ed4be097f4d6ad0892 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期三, 30 七月 2025 10:58:03 +0800
Subject: [PATCH] 1111

---
 src/views/system/user/index.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 5d29518..3f97217 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -1610,6 +1610,7 @@
     // 鏍规嵁鍚嶇О绛涢�夐儴闂ㄦ爲
     deptName(val) {
       console.log(val);
+      this.$refs.tree.filter(val);
     },
     treeId(newVal, oldVal) {
       if (newVal) {
@@ -1876,6 +1877,10 @@
       this.getlistHosp();
       this.reset();
       this.form = row;
+      this.form = {
+        ...row,
+        deptId: row.deptId != null ? String(row.deptId) : null, // 馃憟 纭繚涓哄瓧绗︿覆
+      };
       if (this.form.hospId) {
         this.sendhospName();
       }

--
Gitblit v1.8.0