From b2f5c965f5278a7f40d84ef88aa92fc8f8a76ca4 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期六, 07 十一月 2026 14:27:00 +0800
Subject: [PATCH] feat: 补齐退单管理/成本分析/执行分析/远程诊断/停机报表/风险监测前端

---
 src/views/mes/pro/feedback/index.vue |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/views/mes/pro/feedback/index.vue b/src/views/mes/pro/feedback/index.vue
index c56983a..14fcb41 100644
--- a/src/views/mes/pro/feedback/index.vue
+++ b/src/views/mes/pro/feedback/index.vue
@@ -24,6 +24,20 @@
 import { useGridColumns, useGridFormSchema } from './data';
 import Form from './modules/form.vue';
 import ArchiveDetail from '#/views/mes/pd/archive/modules/detail.vue';
+import TaskExecution from './modules/execution.vue';
+
+/** 鎵ц鍙嶉鍒嗘瀽寮圭獥 */
+const executionOpen = ref(false);
+const executionTaskId = ref<number>();
+
+function openExecution(row: MesProFeedbackApi.Feedback) {
+  if (!row.taskId) {
+    message.warning('璇ユ姤宸ヨ褰曟湭鍏宠仈鐢熶骇浠诲姟');
+    return;
+  }
+  executionTaskId.value = row.taskId;
+  executionOpen.value = true;
+}
 
 const userStore = useUserStore();
 const currentUserId = userStore.userInfo?.id; // 褰撳墠鐧诲綍鐢ㄦ埛 ID锛岀敤浜庡鎵逛汉鏉冮檺鍒ゆ柇
@@ -208,10 +222,18 @@
               type: 'link',
               onClick: handleArchive.bind(null, row),
             },
+            {
+              label: '鎵ц鍒嗘瀽',
+              type: 'link',
+              auth: ['mes:pro-feedback:query'],
+              ifShow: () => !!row.taskId,
+              onClick: openExecution.bind(null, row),
+            },
           ]"
         />
       </template>
     </Grid>
+    <TaskExecution v-model:open="executionOpen" :task-id="executionTaskId" />
     <ArchiveDetail ref="archiveDetailRef" />
   </Page>
 </template>

--
Gitblit v1.9.3