From bebc6b4464c4a3be2f5f51484260d5fcc67306ce Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 03 二月 2026 14:05:58 +0800
Subject: [PATCH] 隐患排查附件功能开发

---
 src/pages/safeProduction/dangerInvestigation/index.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/pages/safeProduction/dangerInvestigation/index.vue b/src/pages/safeProduction/dangerInvestigation/index.vue
index d4e32ba..ea16c92 100644
--- a/src/pages/safeProduction/dangerInvestigation/index.vue
+++ b/src/pages/safeProduction/dangerInvestigation/index.vue
@@ -137,6 +137,12 @@
                       @click="acceptanceVisit(item)">
               楠屾敹
             </u-button>
+            <u-button type="info"
+                      size="small"
+                      class="action-btn"
+                      @click="viewFileList(item)">
+              闄勪欢
+            </u-button>
             <u-button type="error"
                       size="small"
                       class="action-btn"
@@ -202,6 +208,12 @@
   // 杩斿洖涓婁竴椤�
   const goBack = () => {
     uni.navigateBack();
+  };
+  const viewFileList = item => {
+    uni.setStorageSync("dangerInvestigationFileId", item.id);
+    uni.navigateTo({
+      url: "/pages/safeProduction/dangerInvestigation/fileList",
+    });
   };
 
   // 鏌ヨ鍒楄〃
@@ -349,5 +361,8 @@
     background: #667eea; // 淇濇寔椤甸潰鐗规湁鐨勮儗鏅壊
     box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3); // 淇濇寔椤甸潰鐗规湁鐨勯槾褰辨晥鏋�
   }
+  .action-buttons {
+    gap: 4px;
+  }
 </style>
 

--
Gitblit v1.9.3