From 28c3bcfbacc7af60e93210ba654fd681002a6849 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期四, 14 八月 2025 15:59:09 +0800
Subject: [PATCH] 加流程节点  维修工单添加 领取按钮 领取后 生成维修开始时间  提交后 生成维修结束时间 计算 维修时长  故障时长

---
 src/views/eam/repair/EamReportRepairList.vue |   32 +++++++++++++++++++++++++++-----
 1 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/src/views/eam/repair/EamReportRepairList.vue b/src/views/eam/repair/EamReportRepairList.vue
index 674f996..228bbd0 100644
--- a/src/views/eam/repair/EamReportRepairList.vue
+++ b/src/views/eam/repair/EamReportRepairList.vue
@@ -11,7 +11,7 @@
           </a-col>
           <a-col :xl="4" :lg="6" :md="8" :sm="12">
             <a-form-item label="鎶ヤ慨鐘舵��">
-              <j-dict-select-tag dict-code="report_repair_status" placeholder="璇烽�夋嫨鎶ヤ慨鐘舵��"
+              <j-dict-select-tag dict-code="repair_status" placeholder="璇烽�夋嫨鎶ヤ慨鐘舵��"
                                  v-model="queryParam.reportStatus"/>
             </a-form-item>
           </a-col>
@@ -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