From c12ce4c405d92c0bf11e876468108d1edb134ff2 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期四, 31 七月 2025 17:55:10 +0800
Subject: [PATCH] 1

---
 src/views/hosp/project/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue
index ed09752..3a457bc 100644
--- a/src/views/hosp/project/index.vue
+++ b/src/views/hosp/project/index.vue
@@ -1018,7 +1018,7 @@
     };
     return {
       xiugais: true,
-      xiugaiList: null, // 鏀逛负 null锛屼究浜庡垽鏂槸鍚﹀凡鍔犺浇
+      xiugaiList: [],
       deptOptions: [],
       dialogTableVisible: false,
       isPriceDisabled: false,
@@ -1193,7 +1193,7 @@
   },
   created() {
     // this.getConsumables();
-    // this.getDeptList();
+    this.getDeptList();
     // this.getDeptTree().then(() => {
     //   this.precomputePinyin();
     // });
@@ -1383,12 +1383,16 @@
       this.form.hisXmbm = "";
       this.form.hisXmmc = "";
       this.form.hisdj = "";
-      this.loading = true;
+      // this.loading = true;
       this.proParent = false;
       this.form.proPrice = 0.0;
       this.form.proName = "";
       this.form.proId = null;
       this.form.resultType = "1";
+      
+      // 鍏堣幏鍙栫瀹ゅ垪琛ㄦ暟鎹�
+      this.getDeptList();
+      
       getlist().then((response) => {
         if (response.code == 200) {
           this.loading = false;
@@ -1543,7 +1547,7 @@
     getDeptList() {
       listDept(this.queryParams).then((response) => {
         this.parentNameList = response.data;
-        this.deptList = this.handleTree(response.data, "proId");
+        this.deptList = this.handleTree(response.data, "deptId");
       });
     },
     /* getDeptTree() {

--
Gitblit v1.8.0