|
@ -24,13 +24,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
label: '描述', |
|
|
label: '描述', |
|
|
field: 'describing', |
|
|
field: 'describing', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true |
|
|
isSearch: false |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '设备编号', |
|
|
|
|
|
field: 'equipmentCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: true |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '类型', |
|
|
label: '类型', |
|
@ -43,6 +37,13 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
component: 'SelectV2' |
|
|
component: 'SelectV2' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '设备编号', |
|
|
|
|
|
field: 'equipmentCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isSearch: true |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '是否拍照', |
|
|
label: '是否拍照', |
|
|
field: 'isPictures', |
|
|
field: 'isPictures', |
|
@ -65,7 +66,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'planStartTime', |
|
|
field: 'planStartTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -87,7 +88,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'planEndTime', |
|
|
field: 'planEndTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -109,7 +110,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'startTime', |
|
|
field: 'startTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -131,7 +132,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'endTime', |
|
|
field: 'endTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -163,7 +164,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
label: '验证人', |
|
|
label: '验证人', |
|
|
field: 'verifyer', |
|
|
field: 'verifyer', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
value: 0 |
|
|
value: 0 |
|
@ -173,7 +174,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
label: '验证内容', |
|
|
label: '验证内容', |
|
|
field: 'verifyContent', |
|
|
field: 'verifyContent', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'Editor', |
|
|
component: 'Editor', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -187,7 +188,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'verifyTime', |
|
|
field: 'verifyTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -208,7 +209,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
label: '巡检人', |
|
|
label: '巡检人', |
|
|
field: 'maintenancer', |
|
|
field: 'maintenancer', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
value: 0 |
|
|
value: 0 |
|
@ -219,7 +220,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'completionTime', |
|
|
field: 'completionTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -241,7 +242,7 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
field: 'maintenanceTime', |
|
|
field: 'maintenanceTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -262,8 +263,8 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
label: '流程状态', |
|
|
label: '流程状态', |
|
|
field: 'status', |
|
|
field: 'status', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.JOB_STATUS, |
|
|
dictType: DICT_TYPE.EAM_ORDER_STATUS, |
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
dictClass: 'string', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
form: { |
|
|
form: { |
|
|
component: 'Radio' |
|
|
component: 'Radio' |
|
@ -275,7 +276,10 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
isSearch: true |
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isDetail:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '自动执行', |
|
|
label: '自动执行', |
|
@ -283,7 +287,10 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
isSearch: true |
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isDetail:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '自动验证', |
|
|
label: '自动验证', |
|
@ -291,28 +298,28 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
isSearch: true |
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isDetail:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '直接生成记录', |
|
|
label: '直接生成记录', |
|
|
field: 'directCreateRecord', |
|
|
field: 'directCreateRecord', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true |
|
|
isSearch: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '故障类型枚举', |
|
|
label: '故障类型枚举', |
|
|
field: 'faultType', |
|
|
field: 'faultType', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
form: { |
|
|
|
|
|
component: 'SelectV2' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '所属厂区编号', |
|
|
label: '所属厂区编号', |
|
|
field: 'factoryAreaCode', |
|
|
field: 'factoryAreaCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true |
|
|
isSearch: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '车间编号', |
|
|
label: '车间编号', |
|
@ -324,13 +331,16 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
label: '工段编号', |
|
|
label: '工段编号', |
|
|
field: 'workshopSectionCode', |
|
|
field: 'workshopSectionCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true |
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isDetail:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
|
field: 'remark', |
|
|
field: 'remark', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true |
|
|
isSearch: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '是否可用', |
|
|
label: '是否可用', |
|
@ -338,7 +348,10 @@ export const EquipmentInspectionRecordMain = useCrudSchemas(reactive<CrudSchema[ |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isDetail:false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'Switch', |
|
|
component: 'Switch', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|