From 4a96df3ea2c19216bd49f2dfa4a41decd16a1486 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期一, 23 六月 2025 09:52:12 +0800
Subject: [PATCH] 1、设备结构树页面接收NC文件列表新增指派到产品NC文件功能 2、设备TEEP页面故障率数据展示格式调整

---
 src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
index 2fad9dd..e8efdee 100644
--- a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
+++ b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
@@ -9,6 +9,9 @@
     </a-table>
 
     <DocumentModal ref="modalForm" @ok="modalFormOk"/>
+
+    <has-received-document-assign-modal :size="size" ref="documentAssignModalRef"
+                                        :currentDocumentInfo="currentRightClickedDocumentInfo"/>
   </div>
 </template>
 
@@ -16,17 +19,18 @@
   import { getAction } from '@/api/manage'
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
   import DocumentModal from '../../../../common/DocumentModal.vue'
+  import HasReceivedDocumentAssignModal from './HasReceivedDocumentAssignModal'
 
   export default {
     name: 'HasReceivedDocumentTableList',
-    components: { DocumentModal },
+    components: { HasReceivedDocumentAssignModal, DocumentModal },
     mixins: [JeecgListMixin],
     props: {
       currentTreeNodeInfo: {
         type: Object
       },
-      currentTypeOfDevice:{
-        type:Number
+      currentTypeOfDevice: {
+        type: Number
       },
       size: {
         type: String
@@ -51,7 +55,7 @@
             dataIndex: 'docName',
             key: 'docName',
             align: 'center',
-            scopedSlots: {customRender: 'docName'},
+            scopedSlots: { customRender: 'docName' },
             width: 300,
             sorter: true
           },
@@ -185,7 +189,12 @@
         this.$refs.modalForm.title = modalTitle
       },
 
-      handleDocumentAssign(record, modalTitle) {
+      /**
+       * 鎺у埗鎸囨淳鍒颁骇鍝佸脊绐�
+       * @param record 琛ㄦ牸琛屼俊鎭�
+       * @param modalTitle 寮圭獥鏍囬
+       */
+      handleDocumentRecAssign(record, modalTitle) {
         this.$refs.documentAssignModalRef.title = modalTitle
         this.$refs.documentAssignModalRef.visible = true
       },

--
Gitblit v1.9.3