|
@ -31,10 +31,15 @@ export const EquipmentMainPart = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '设备工装枚举', |
|
|
label: '类型', |
|
|
field: 'type', |
|
|
field: 'type', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.DEVICE_TYPE, |
|
|
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Select' |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
@ -77,18 +82,16 @@ export const EquipmentMainPart = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isDetail:false, |
|
|
isDetail:false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '是否可用', |
|
|
label: '是否启用', |
|
|
field: 'available', |
|
|
field: 'available', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
form: { |
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
component: 'Switch', |
|
|
isTable: true, |
|
|
value: 'TRUE', |
|
|
isDetail: false, |
|
|
componentProps: { |
|
|
isSearch: false, |
|
|
inactiveValue: 'FALSE', |
|
|
isTableForm: false, |
|
|
activeValue: 'TRUE' |
|
|
isForm: false, |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '删除时间', |
|
|
label: '删除时间', |
|
|