From cd629ebc2899c4bb30b51ce5f99a84574804f863 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 31 七月 2026 15:40:21 +0800
Subject: [PATCH] 银川 1.API密钥管理页面开发联调 2.模型管理页面开发联调 3.知识库管理页面开发联调 4.通知公告页面开发联调

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

diff --git a/src/views/mes/pro/feedback/index.vue b/src/views/mes/pro/feedback/index.vue
index b4457b7..1793ebb 100644
--- a/src/views/mes/pro/feedback/index.vue
+++ b/src/views/mes/pro/feedback/index.vue
@@ -17,8 +17,13 @@
 } from '#/api/mes/pro/feedback';
 import { $t } from '#/locales';
 
+import { ref } from 'vue';
+
 import { useGridColumns, useGridFormSchema } from './data';
 import Form from './modules/form.vue';
+import QuickFeedbackForm from '../workorder-center/modules/quick-feedback.vue';
+import BatchFeedbackForm from './modules/batch-feedback.vue';
+import ArchiveDetail from '#/views/mes/pd/archive/modules/detail.vue';
 
 const userStore = useUserStore();
 const currentUserId = userStore.userInfo?.id; // 褰撳墠鐧诲綍鐢ㄦ埛 ID锛岀敤浜庡鎵逛汉鏉冮檺鍒ゆ柇
@@ -27,6 +32,18 @@
   connectedComponent: Form,
   destroyOnClose: true,
 });
+
+const [QuickFeedbackModal, quickFeedbackModalApi] = useVbenModal({
+  connectedComponent: QuickFeedbackForm,
+  destroyOnClose: true,
+});
+
+const [BatchFeedbackModal, batchFeedbackModalApi] = useVbenModal({
+  connectedComponent: BatchFeedbackForm,
+  destroyOnClose: true,
+});
+
+const archiveDetailRef = ref<InstanceType<typeof ArchiveDetail>>();
 
 /** 鍒锋柊琛ㄦ牸 */
 function handleRefresh() {
@@ -79,6 +96,16 @@
   downloadFileFromBlobPart({ fileName: '鐢熶骇鎶ュ伐.xls', source: data });
 }
 
+/** 蹇�熸姤宸� */
+function handleQuickCreate() {
+  quickFeedbackModalApi.setData({}).open();
+}
+
+/** 鎵归噺鎶ュ伐 */
+function handleBatchCreate() {
+  batchFeedbackModalApi.setData({}).open();
+}
+
 const [Grid, gridApi] = useVbenVxeGrid({
   formOptions: { schema: useGridFormSchema() },
   gridOptions: {
@@ -103,7 +130,10 @@
 </script>
 
 <template>
-  <Page auto-content-height><FormModal @success="handleRefresh" />
+  <Page auto-content-height>
+    <FormModal @success="handleRefresh" />
+    <QuickFeedbackModal @success="handleRefresh" />
+    <BatchFeedbackModal @success="handleRefresh" />
     <Grid table-title="鐢熶骇鎶ュ伐鍒楄〃">
       <template #toolbar-tools>
         <TableAction
@@ -114,6 +144,19 @@
               icon: ACTION_ICON.ADD,
               auth: ['mes:pro-feedback:create'],
               onClick: handleCreate,
+            },
+            {
+              label: '蹇�熸姤宸�',
+              type: 'primary',
+              icon: ACTION_ICON.ADD,
+              auth: ['mes:pro-feedback:create'],
+              onClick: handleQuickCreate,
+            },
+            {
+              label: '鎵归噺鎶ュ伐',
+              type: 'primary',
+              auth: ['mes:pro-feedback:create'],
+              onClick: handleBatchCreate,
             },
             {
               label: $t('ui.actionTitle.export'),
@@ -167,9 +210,15 @@
                 confirm: handleDelete.bind(null, row),
               },
             },
+            {
+              label: '褰掓。',
+              type: 'link',
+              onClick: () => archiveDetailRef.value?.open(row.itemCode),
+            },
           ]"
         />
       </template>
     </Grid>
+    <ArchiveDetail ref="archiveDetailRef" />
   </Page>
 </template>

--
Gitblit v1.9.3