From 93f544dbe267c8bbceda5419d4512a993babdbcc Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期一, 28 七月 2025 17:37:58 +0800
Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb

---
 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 d966abc..5251692 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -1611,6 +1611,7 @@
     // 鏍规嵁鍚嶇О绛涢�夐儴闂ㄦ爲
     deptName(val) {
       console.log(val);
+      this.$refs.tree.filter(val);
     },
     treeId(newVal, oldVal) {
       if (newVal) {
@@ -1877,6 +1878,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