From a16a7006603e4b68b52689e88479881bff8c6106 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期六, 26 七月 2025 17:06:44 +0800
Subject: [PATCH] 维修工单修改

---
 src/views/eam/repair/EamReportRepairList.vue |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/src/views/eam/repair/EamReportRepairList.vue b/src/views/eam/repair/EamReportRepairList.vue
index d040048..228bbd0 100644
--- a/src/views/eam/repair/EamReportRepairList.vue
+++ b/src/views/eam/repair/EamReportRepairList.vue
@@ -98,6 +98,24 @@
             <a>浣滃簾</a>
           </a-popconfirm>
         </span>
+
+        <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
+        <span slot="faultDescription" slot-scope="text">
+          <j-ellipsis :value="text" :length="8"/>
+        </span>
+        <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
+        <span slot="accidentPhenomenon" slot-scope="text">
+          <j-ellipsis :value="text" :length="8"/>
+        </span>
+        <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
+        <span slot="measure" slot-scope="text">
+          <j-ellipsis :value="text" :length="8"/>
+        </span>
+        <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず-->
+        <span slot="causingResults" slot-scope="text">
+          <j-ellipsis :value="text" :length="8"/>
+        </span>
+
       </a-table>
     </div>
     <!-- table鍖哄煙-end -->
@@ -179,7 +197,8 @@
           {
             title: '鏁呴殰鐜拌薄',
             align: 'center',
-            dataIndex: 'faultDescription'
+            dataIndex: 'faultDescription',
+            scopedSlots: { customRender: 'faultDescription' }
           },
           {
             title: '鏄惁鍋滄満',
@@ -243,17 +262,20 @@
           {
             title: '浜嬫晠鐜拌薄',
             align: 'center',
-            dataIndex: 'accidentPhenomenon'
+            dataIndex: 'accidentPhenomenon',
+            scopedSlots: { customRender: 'accidentPhenomenon' }
           },
           {
             title: '閲囧彇鎺柦',
             align: 'center',
-            dataIndex: 'measure'
+            dataIndex: 'measure',
+            scopedSlots: { customRender: 'measure' }
           },
           {
             title: '閫犳垚缁撴灉',
             align: 'center',
-            dataIndex: 'causingResults'
+            dataIndex: 'causingResults',
+            scopedSlots: { customRender: 'causingResults' }
           }
         ],
         faultTimeRange: [],

--
Gitblit v1.9.3