From 3e0f519c396ac8a72e7bbd426e4f38fa6cc403dc Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期五, 14 三月 2025 16:50:34 +0800
Subject: [PATCH] 点检模块

---
 eims-ui/apps/web-antd/src/views/eims/insp-st/data.tsx |   55 ++++++++++++++++++++++++++++++-------------------------
 1 files changed, 30 insertions(+), 25 deletions(-)

diff --git a/eims-ui/apps/web-antd/src/views/eims/maint-order-st/data.tsx b/eims-ui/apps/web-antd/src/views/eims/insp-st/data.tsx
similarity index 75%
copy from eims-ui/apps/web-antd/src/views/eims/maint-order-st/data.tsx
copy to eims-ui/apps/web-antd/src/views/eims/insp-st/data.tsx
index 0629b80..e4de7f4 100644
--- a/eims-ui/apps/web-antd/src/views/eims/maint-order-st/data.tsx
+++ b/eims-ui/apps/web-antd/src/views/eims/insp-st/data.tsx
@@ -12,8 +12,13 @@
 export const querySchema: FormSchemaGetter = () => [
   {
     component: 'Input',
-    fieldName: 'equName',
-    label: '璁惧鍚嶇О'
+    fieldName: 'title',
+    label: '鏍囬'
+  },
+  {
+    component: 'Input',
+    fieldName: 'assetNo',
+    label: '璧勪骇缂栧彿'
   },
   {
     component: 'RangePicker',
@@ -23,7 +28,7 @@
   {
     component: 'Select',
     componentProps: {
-      options: getDictOptions(DictEnum.MAINT_ORDER_ST_STATUS)
+      options: getDictOptions(DictEnum.EIMS_INSPECT_STATUS)
     },
     fieldName: 'status',
     label: '鐘舵��'
@@ -33,15 +38,15 @@
 export const columns: VxeGridProps['columns'] = [
   { type: 'checkbox', width: 60, fixed: 'left' },
   {
-    title: '璁惧鍚嶇О',
-    field: 'equName',
+    title: '鏍囬',
+    field: 'title',
     minWidth: 200,
     fixed: 'left'
   },
   {
-    title: '璁″垝淇濆吇鏃ユ湡',
+    title: '淇濆吇骞存湀',
     field: 'planTime',
-    minWidth: 200
+    minWidth: 120
   },
   {
     title: '鐘舵��',
@@ -49,7 +54,7 @@
     minWidth: 80,
     slots: {
       default: ({ row }) => {
-        return renderDict(row.status, DictEnum.MAINT_ORDER_ST_STATUS);
+        return renderDict(row.status, DictEnum.EIMS_INSPECT_STATUS);
       }
     }
   },
@@ -59,47 +64,47 @@
     minWidth: 160
   },
   {
-    title: '宸ュ崟鎬绘暟',
-    field: 'orderCount',
+    title: '鐐规鎬绘暟',
+    field: 'recordCount',
     minWidth: 100
   },
   {
-    title: '寰呬繚鍏�',
-    field: 'dbyCount',
+    title: '鏈偣妫�',
+    field: 'unCheckCount',
     minWidth: 80,
     slots: {
       default: ({ row }) => {
-        return <Tag color="orange">{row.dbyCount}</Tag>;
+        return <Tag color="orange">{row.unCheckCount}</Tag>;
       }
     }
   },
   {
-    title: '淇濆吇涓�',
-    field: 'byCount',
+    title: '宸茬偣妫�',
+    field: 'checkCount',
     minWidth: 80,
     slots: {
       default: ({ row }) => {
-        return <Tag color="blue">{row.byCount}</Tag>;
+        return <Tag color="blue">{row.checkCount}</Tag>;
       }
     }
   },
   {
-    title: '寰呴獙璇�',
-    field: 'dyzCount',
+    title: '姝e父',
+    field: 'normalNum',
     minWidth: 80,
     slots: {
       default: ({ row }) => {
-        return <Tag color="purple">{row.dyzCount}</Tag>;
+        return <Tag color="success">{row.normalNum}</Tag>;
       }
     }
   },
   {
-    title: '瀹屾垚',
-    field: 'wcCount',
+    title: '寮傚父',
+    field: 'abNormalNum',
     minWidth: 80,
     slots: {
       default: ({ row }) => {
-        return <Tag color="success">{row.wcCount}</Tag>;
+        return <Tag color="red">{row.abNormalNum}</Tag>;
       }
     }
   },
@@ -114,8 +119,8 @@
     minWidth: 160
   },
   {
-    title: '绋芥煡鏃堕棿',
-    field: 'verifyTime',
+    title: '鐐规鏃堕棿',
+    field: 'inspTime',
     minWidth: 200
   },
   {
@@ -157,7 +162,7 @@
       getPopupContainer
     },
     fieldName: 'planTime',
-    label: '璁″垝淇濆吇鏃ユ湡'
+    label: '璁″垝鐐规鏃ユ湡'
   },
   {
     component: 'Input',

--
Gitblit v1.9.3