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 |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
index 0594357..e8efdee 100644
--- a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
+++ b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue
@@ -2,10 +2,16 @@
   <div>
     <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" :loading="loading"
              :scroll="{y:265}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange">
-
+      <!-- 瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
+      <span slot="docName" slot-scope="text">
+          <j-ellipsis :value="text"/>
+        </span>
     </a-table>
 
     <DocumentModal ref="modalForm" @ok="modalFormOk"/>
+
+    <has-received-document-assign-modal :size="size" ref="documentAssignModalRef"
+                                        :currentDocumentInfo="currentRightClickedDocumentInfo"/>
   </div>
 </template>
 
@@ -13,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
@@ -48,10 +55,10 @@
             dataIndex: 'docName',
             key: 'docName',
             align: 'center',
+            scopedSlots: { customRender: 'docName' },
             width: 300,
             sorter: true
           },
-          { title: '浠g爜鐗堟湰', dataIndex: 'docAlias', align: 'center' },
           {
             title: '鍑哄簱鐘舵��',
             dataIndex: 'pullStatus_dictText',
@@ -182,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