From 8905bdd0a74c4bd6cabc206c36a299341488041e Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 11 九月 2025 11:00:26 +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