From 793989f6eb4e39f4b1f47931fdeefb4a12385424 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期三, 30 七月 2025 16:46:32 +0800
Subject: [PATCH] refactor(eims): 优化设备数据定时任务和报告服务

---
 eims-ui/apps/web-antd/src/views/eims/repair-req/data.tsx |   36 +++++++++++++++++++++++-------------
 1 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/eims-ui/apps/web-antd/src/views/eims/repair-req/data.tsx b/eims-ui/apps/web-antd/src/views/eims/repair-req/data.tsx
index f6ce668..f3d1323 100644
--- a/eims-ui/apps/web-antd/src/views/eims/repair-req/data.tsx
+++ b/eims-ui/apps/web-antd/src/views/eims/repair-req/data.tsx
@@ -79,6 +79,23 @@
 export const columns: VxeGridProps['columns'] = [
   { type: 'checkbox', width: 60, fixed: 'left' },
   {
+    title: '璁惧(宸ュ叿)鍚嶇О',
+    sortable: true,
+    minWidth: 150,
+    fixed: 'left',
+    slots: {
+      default: ({ row }) => {
+        if (row.reqType === REPAIR_REQ_TYPE.EQU) {
+          return row.equName;
+        } else if (row.reqType === REPAIR_REQ_TYPE.FIXTURE) {
+          return row.fixtureName;
+        } else {
+          return '';
+        }
+      }
+    }
+  },
+  {
     title: '鎶ヤ慨鍗曞彿',
     field: 'code',
     minWidth: 160,
@@ -118,20 +135,10 @@
     minWidth: 200
   },
   {
-    title: '璁惧(宸ュ叿)鍚嶇О',
+    title: '鍙戠敓鏃堕棿',
+    field: 'occTime',
     sortable: true,
-    minWidth: 150,
-    slots: {
-      default: ({ row }) => {
-        if (row.reqType === REPAIR_REQ_TYPE.EQU) {
-          return row.equName;
-        } else if (row.reqType === REPAIR_REQ_TYPE.FIXTURE) {
-          return row.fixtureName;
-        } else {
-          return '';
-        }
-      }
-    }
+    minWidth: 200
   },
   {
     title: '鏁呴殰绫诲埆',
@@ -139,6 +146,9 @@
     minWidth: 100,
     slots: {
       default: ({ row }) => {
+        if(!row.faultType){
+          return ''
+        }
         return renderDict(row.faultType, DictEnum.REPAIR_FAULT_TYPE);
       }
     }

--
Gitblit v1.9.3