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/ProductStructure/Document/NcDocumentAssignModal.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentAssignModal.vue b/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentAssignModal.vue
index b21399a..0788c06 100644
--- a/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentAssignModal.vue
+++ b/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentAssignModal.vue
@@ -34,6 +34,10 @@
                      @change="handleTableChange"
                      :scroll="{y:456}" :size="size" rowKey="docId">
 
+              <!-- 瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
+              <span slot="docName" slot-scope="text">
+                <j-ellipsis :value="text"/>
+              </span>
             </a-table>
           </a-tab-pane>
         </a-tabs>
@@ -52,7 +56,7 @@
                   </a-button>
                 </div>
 
-                <!--浜у搧缁撴瀯鏍�-->
+                <!--璁惧缁撴瀯鏍�-->
                 <div style="overflow:auto;margin-top: 10px;height: 400px">
                   <a-tree blockNode checkable :checkedKeys="checkedKeys" :expandedKeys.sync="expandedKeys"
                           :autoExpandParent="autoExpandParent" @select="handleTreeNodeSelect"
@@ -121,6 +125,7 @@
           dataIndex: 'docName',
           key: 'docName',
           align: 'center',
+          scopedSlots: { customRender: 'docName' },
           width: 300,
           sorter: true
         },
@@ -137,13 +142,15 @@
         },
         {
           title: '鐘�  鎬�',
-          dataIndex: 'docStatus_dictText',
-          key: 'docStatus',
+          dataIndex: 'docDispatchStatus_dictText',
+          key: 'docDispatchStatus',
           align: 'center',
           filters: [
-            { text: '璁捐', value: 1 },
-            { text: '鍙戝竷', value: 2 },
-            { text: '褰掓。', value: 3 }
+            { text: '缂栧埗', value: 1 },
+            { text: '鏍″', value: 2 },
+            { text: '鎵瑰噯', value: 3 },
+            { text: '璇曞垏', value: 4 },
+            { text: '瀹氬瀷', value: 5 }
           ]
         },
         {
@@ -429,7 +436,7 @@
     },
 
     resetData() {
-      this.searchInput = ''
+      this.searchInput = this.searchValue = ''
       this.expandedKeys = []
       this.selectedRowKeys = []
       this.selectionRows = {}

--
Gitblit v1.9.3