From d10c7c728234b5a9098b7bd5bb7a914a14e33c20 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 29 十二月 2023 18:37:28 +0800
Subject: [PATCH] su

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

diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue
index c24178c..0ae9504 100644
--- a/src/views/hosp/rules/index.vue
+++ b/src/views/hosp/rules/index.vue
@@ -249,6 +249,7 @@
       loading: true,
       // 閫変腑鏁扮粍
       ids: [],
+      formIn:{},
       // 闈炲崟涓鐢�
       single: true,
       // 闈炲涓鐢�
@@ -350,6 +351,8 @@
     },
     // 鑺傜偣鍗曞嚮浜嬩欢
     handleNodeClick(data) {
+      this.formIn = data
+      console.log(this.formIn)
       this.queryParams.proId = data.id;
       this.getListByXmId()
     },
@@ -416,6 +419,8 @@
       this.reset();
       this.open = true;
       this.title = "娣诲姞瑙勫垯+鐥呯";
+      this.form.proId = this.formIn.id;
+      this.form.proName = this.formIn.label
       getSonsList().then((response) => {
         this.proList = response.data;
       });

--
Gitblit v1.8.0