From 6ab830320b2508ee5f6a7be6cb18653e5d651f0d Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期三, 10 九月 2025 14:37:06 +0800 Subject: [PATCH] 1、DNC首页三维工艺生成产品结构树列表增加字符数超出省略功能 2、设备调拨列表详情改为查看流程详情 --- src/views/dashboard/modules/SyncProcessList.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/dashboard/modules/SyncProcessList.vue b/src/views/dashboard/modules/SyncProcessList.vue index 01a5e50..005f7d8 100644 --- a/src/views/dashboard/modules/SyncProcessList.vue +++ b/src/views/dashboard/modules/SyncProcessList.vue @@ -10,6 +10,12 @@ :scroll="{ y: 400 }" > + <!--闇�瑕佽秴鍑虹渷鐣ョ殑瀛楁--> + <template slot="ellipsisText" slot-scope="text"> + <template v-if="(text&&text.length<=10)||!text">{{text}}</template> + <j-ellipsis v-else :value="text" :length="10"/> + </template> + <span slot="action" slot-scope="text, record"> <a-popconfirm title="纭畾棰嗗彇鍚�?" @confirm="() => handleInspection(record.id)"> <a>棰嗗彇</a> @@ -71,6 +77,7 @@ title: '宸ヨ壓瑙勭▼缂栧彿', align: "center", dataIndex: 'planNumber', + scopedSlots: { customRender: 'ellipsisText' }, }, { title: '宸ヨ壓瑙勭▼鐗堟湰', @@ -80,11 +87,13 @@ { title: '鍙戝竷鏃堕棿', align: "center", - dataIndex: 'createTime' + dataIndex: 'createTime', + scopedSlots: { customRender: 'ellipsisText' }, }, { title: '鎿嶄綔', align: "center", + width:100, scopedSlots: { customRender: 'action' }, } ] -- Gitblit v1.9.3