From b87174cde67aaa8420ea492af9b79fcc9a692036 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 10 十二月 2024 18:11:05 +0800
Subject: [PATCH] bug

---
 src/views/projectEngineering/projectLibrary/index.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue
index 1a6a439..0cb0ff6 100644
--- a/src/views/projectEngineering/projectLibrary/index.vue
+++ b/src/views/projectEngineering/projectLibrary/index.vue
@@ -227,6 +227,10 @@
             <template v-if="item.slotName === 'investType'">
               <dict-tag :options="dict.type.sys_investment_type" :value="scope.row.investType"/>
             </template>
+            <!-- investType鎻掓Ы -->
+            <template v-if="item.slotName === 'importanceType'">
+              <dict-tag :options="dict.type.sys_key_categories" :value="scope.row.importanceType"/>
+            </template>
             <!-- planStartTime -->
             <template v-if="item.slotName === 'planStartTime'">
               {{ scope.row.planStartTime ? scope.row.planStartTime.split('-')[0] + '骞�' : '' }}
@@ -280,6 +284,7 @@
       :isImportOrExport="isImportOrExport"
       @fileDialogCancel="fileDialogCancel"
       :currentColumns="columns"
+      :dataIdList="ids"
     />
   </div>
 </template>
@@ -366,6 +371,7 @@
     };
   },
   created() {
+    this.queryParams.importanceType = this.$route.query.importanceType;
     const projectCategory = this.$route.query.projectCategory;
     if (!projectCategory || projectCategory === '1') {
       this.isReserve = true;
@@ -394,7 +400,7 @@
     },
     handleDetail(row) {
       this.removeStore();
-      this.$router.push({path: '/projectEngineering/project/ProjectDetails', query: {projectId: row.id}});
+      this.$router.push({path: '/projectEngineering/project/ProjectDetails', query: {projectId: row.id,disabled: 'true' }});
     },
     // 鏂板椤甸潰
     add() {
@@ -544,8 +550,8 @@
     /** 鍒犻櫎鎸夐挳鎿嶄綔 */
     handleDelete(row) {
       const ids = row.id || this.ids;
-      this.$modal.confirm('鏄惁纭鍒犻櫎椤圭洰绠$悊鍩虹淇℃伅缂栧彿涓�"' + ids + '"鐨勬暟鎹」锛�').then(function () {
-        return delInfo(ids);
+      this.$modal.confirm('鏄惁纭鍒犻櫎椤圭洰:"' + row.projectName + '"鐨勬暟鎹」锛�').then(function () {
+        return delProject(ids);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("鍒犻櫎鎴愬姛");

--
Gitblit v1.8.0