From fe011cf7399e8ad5738ab7668a7d6109d9a5cbc6 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期一, 09 六月 2025 16:56:36 +0800
Subject: [PATCH] 联调终端停机上报页面列表查询、维护停机和拆分停机信息功能

---
 src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue |   35 +++++++++++++++++++++++++++++++++--
 1 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue b/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue
index 1057724..13e58f0 100644
--- a/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue
+++ b/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue
@@ -71,7 +71,11 @@
 
           <a-divider type="vertical" />
 
-          <a @click="handleDetail(record)">鐢熸垚鏁版帶鍔犲伐绋嬪簭纭琛�</a>
+          <a @click="handleOpenPrintGuideCardModal(record)">鐢熸垚鏁版帶鍔犲伐绋嬪簭纭琛�</a>
+
+          <a-divider type="vertical" />
+
+          <a @click="handleOpenPrintKnifeListModal(record)">鐢熸垚鍒�鍏锋竻鍗�</a>
 
           <a-divider type="vertical" />
 
@@ -89,6 +93,10 @@
     <guide-card-batch-modal ref="modalForm" @ok="modalFormOk"></guide-card-batch-modal>
 
     <GuideCardBatchModalDrawer  ref="modalEditForm" @ok="modalFormOk"></GuideCardBatchModalDrawer>
+
+    <guide-card-print-modal ref="guideCardPrintModal"/>
+
+    <knife-list-print-modal ref="knifeListPrintModal"/>
   </a-card>
 </template>
 
@@ -100,6 +108,8 @@
   import GuideCardBatchModal from './GuideCardBatchModal'
   import GuideCardBatchModalDrawer from './GuideCardBatchModal.Style#Drawer.vue'
   import { getAction } from '@api/manage'
+  import GuideCardPrintModal from './GuideCardPrintModal'
+  import KnifeListPrintModal from './KnifeListPrintModal'
 
   export default {
     name: 'GuideCardBatchList',
@@ -113,6 +123,8 @@
       }
     },
     components: {
+      KnifeListPrintModal,
+      GuideCardPrintModal,
       GuideCardBatchModal,
       GuideCardBatchModalDrawer
     },
@@ -161,7 +173,7 @@
             dataIndex: 'action',
             align:"center",
             fixed:"right",
-            width:147,
+            width:500,
             scopedSlots: { customRender: 'action' }
           }
         ],
@@ -242,6 +254,25 @@
         this.$refs.modalEditForm.title = "涓婁紶/淇敼淇℃伅";
         this.$refs.modalEditForm.disableSubmit = false;
       },
+
+      /**
+       * 鎺у埗鏁版嵁鍔犲伐绋嬪簭纭琛ㄥ脊绐楀脊鍑�
+       * @param record 鎵规鍒楄〃琛岃褰�
+       */
+      handleOpenPrintGuideCardModal(record){
+        this.$refs.guideCardPrintModal.visible = true
+        this.$refs.guideCardPrintModal.detail = Object.assign({},record)
+      },
+
+
+      /**
+       * 鎺у埗鏁版嵁鍔犲伐绋嬪簭纭琛ㄥ脊绐楀脊鍑�
+       * @param record 鎵规鍒楄〃琛岃褰�
+       */
+      handleOpenPrintKnifeListModal(record){
+        this.$refs.knifeListPrintModal.visible = true
+        this.$refs.knifeListPrintModal.detail = Object.assign({},record)
+      }
     }
   }
 </script>

--
Gitblit v1.9.3