From 46d143d1d6fe8f286399f4d027c9a86adf7cd7fc Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 09 七月 2025 08:50:01 +0800 Subject: [PATCH] feat(inspection,maintenance): - 实现保养工单批量确认功能 - 在点检记录确认时增加时间限制,距离上次更新时间两小时内不允许确认 --- eims-ui/apps/web-antd/src/views/eims/repair-record/data.tsx | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/eims-ui/apps/web-antd/src/views/eims/repair-record/data.tsx b/eims-ui/apps/web-antd/src/views/eims/repair-record/data.tsx index ba5426d..3c57b6a 100644 --- a/eims-ui/apps/web-antd/src/views/eims/repair-record/data.tsx +++ b/eims-ui/apps/web-antd/src/views/eims/repair-record/data.tsx @@ -1,27 +1,42 @@ import type { VxeGridProps } from '#/adapter/vxe-table'; +import { DictEnum } from '@vben/constants'; +import { renderDict } from '#/utils/render'; export const columns: VxeGridProps['columns'] = [ { type: 'checkbox', width: 60, fixed: 'left' }, { + title: '澶勭悊鏃堕棿', + field: 'handleTime', + width: 200 + }, + { title: '鎿嶄綔鐢ㄦ埛', - field: 'operaUser', - width: 160, + field: 'operaUserName', + width: 160 }, { title: '鎿嶄綔', field: 'opera', width: 100, + slots: { + default: ({ row }) => { + if (!row.opera) { + return ''; + } + return renderDict(row.opera, DictEnum.REPAIR_RECORD_HANDLE); + } + } }, { title: '鎿嶄綔缁撴灉', field: 'operaResult', - width: 160, + width: 160 }, { title: '', field: 'blank', - minWidth: 100, + minWidth: 100 } ]; -- Gitblit v1.9.3