From 0b12141be37b39763c92d6d7e41cc8fcef1f6525 Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Mon, 27 May 2024 16:28:29 +0800 Subject: [PATCH] =?UTF-8?q?EAM=20=E2=80=94=E2=80=94>=20=20=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=94=9F=E6=88=90=E4=BF=9D=E5=85=BB?= =?UTF-8?q?=E5=B7=A5=E5=8D=95=20=E5=AD=90=E8=A1=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipmentMaintenanceMain.data.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts b/src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts index 5773c2528..08f0a4438 100644 --- a/src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts +++ b/src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts @@ -441,14 +441,20 @@ export const EquipmentMaintenanceDetail = useCrudSchemas(reactive( isSearch: true, }, { - label: '结果枚举0完成 1未完成', + label: '结果枚举', field: 'result', sort: 'custom', isSearch: true, }, + { + label: '保养名称', + field: 'name', + sort: 'custom', + isSearch: true, + }, { label: '保养内容', - field: 'contents', + field: 'content', sort: 'custom', isSearch: true, }, @@ -499,10 +505,12 @@ export const EquipmentMaintenanceDetail = useCrudSchemas(reactive( isDetail:false, }, { - label: '是否可用默认TRUE', + label: '是否可用', field: 'available', sort: 'custom', isSearch: true, + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', // 默认都是字符串类型其他暂不考虑 }, { label: '删除时间',