From 2f519ead537a0b38019bbf64a6075cbb6e08f9b4 Mon Sep 17 00:00:00 2001
From: hyingbo <1363390067@qq.com>
Date: 星期三, 09 七月 2025 13:53:01 +0800
Subject: [PATCH] 车间大屏看板设置设备默认图片

---
 src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
index 841e1ed..c52f9bc 100644
--- a/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
+++ b/src/views/dnc/base/modules/ProductStructure/Document/OtherDocumentTableList.vue
@@ -2,7 +2,10 @@
   <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"/>
@@ -45,6 +48,7 @@
             dataIndex: 'docName',
             key: 'docName',
             align: 'center',
+            scopedSlots: { customRender: 'docName' },
             width: 300,
             sorter: true
           },

--
Gitblit v1.9.3