From 87fce896046ec8e804810f75a90a62a5986e67ed Mon Sep 17 00:00:00 2001
From: ZN <zhang_12370@163.com>
Date: 星期二, 31 三月 2026 15:18:26 +0800
Subject: [PATCH] fix: 修正端口号、消息页签索引及生产报告表单字段

---
 src/pages/inspectionUpload/index.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/pages/inspectionUpload/index.vue b/src/pages/inspectionUpload/index.vue
index a843715..135244b 100644
--- a/src/pages/inspectionUpload/index.vue
+++ b/src/pages/inspectionUpload/index.vue
@@ -16,7 +16,7 @@
               <text class="task-location">{{ item.inspectionLocation }}</text>
             </view>
             <view class="task-actions">
-              <u-button type="primary"
+              <!-- <u-button type="primary"
                         size="small"
                         @click.stop="startScanForTask(item)"
                         :customStyle="{
@@ -26,6 +26,17 @@
                 marginRight: '8px'
               }">
                 鎵爜涓婁紶
+              </u-button> -->
+              <u-button type="primary"
+                        size="small"
+                        @click.stop="startUploadForTask(item)"
+                        :customStyle="{
+                borderRadius: '15px',
+                height: '30px',
+                fontSize: '12px',
+                marginRight: '8px'
+              }">
+                鍥剧墖涓婁紶
               </u-button>
               <u-button type="success"
                         size="small"
@@ -855,6 +866,12 @@
     }
   };
 
+  // 鍥剧墖涓婁紶(鍙�夋嫨鍥剧墖涓婁紶鎴栬�呮槸鐩告満鎷嶇収)
+  const startUploadForTask = async (task, type) => {
+    // 鐩存帴鎵撳紑涓婁紶寮圭獥
+    openUploadDialog(task);
+  };
+
   // 鏌ョ湅闄勪欢
   const viewAttachments = async task => {
     try {

--
Gitblit v1.9.3