From ff1f734e5f37cdd004f6c8bf88a2917737e1ff08 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期四, 11 九月 2025 11:10:56 +0800 Subject: [PATCH] 故障报修列表超期标记红色 --- 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