From e2f7148c8d5103e1b76e8b31d65f1c3de72c3afc Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期一, 11 八月 2025 14:54:12 +0800
Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region

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

diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue
index 38aa5e1..1a5d78c 100644
--- a/src/views/hosp/rules/index.vue
+++ b/src/views/hosp/rules/index.vue
@@ -8,8 +8,8 @@
             style="margin-bottom: 20px" />
         </div>
         <div class="scrollable-container">
-          <div class="content">
-            <el-tree :data="deptOptions" :props="defaultProps" :expand-on-click-node="false"
+          <div class="content"> 
+            <el-tree :data="deptOptions" :props="defaultProps"  default-expand-all :expand-on-click-node="false"
               :filter-node-method="filterNode" ref="tree" node-key="id" :default-expanded-keys="treeId"
               highlight-current @node-click="handleNodeClick" />
           </div>
@@ -788,13 +788,13 @@
 
               this.$modal.msgSuccess("淇敼鎴愬姛");
               this.open = false;
-              this.getList();
+             this.getListByXmId()
             });
           } else {
             addRules(this.form).then((response) => {
               this.$modal.msgSuccess("鏂板鎴愬姛");
               this.open = false;
-              this.getList();
+              this.getListByXmId()
             });
           }
         }
@@ -809,7 +809,7 @@
           return delRules(ids);
         })
         .then(() => {
-          this.getList();
+          this.getListByXmId();
           this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
         })
         .catch(() => { });

--
Gitblit v1.8.0