From 483f167ad09eda3dcf7c7d2a725ff0050faf8b1b Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 28 七月 2025 14:58:50 +0800
Subject: [PATCH] 1

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

diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index c9d524b..5251692 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -1878,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