@ -145,7 +145,7 @@ export const DeviceMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 170,
width: 200,
},
form: {
component: 'InputNumber',
@ -231,31 +231,31 @@ export const Item = useCrudSchemas(reactive<CrudSchema[]>([
}
// {
// label: '是否可用',
// field: 'available',
// dictType: DICT_TYPE.TRUE_FALSE,
// dictClass: 'string',
// isSearch: false,
// isTable: true,
// sort: 'custom',
// table: {
// width: 150
// },
// tableForm: {
// type: 'Select',
// inactiveValue: 'FALSE',
// disabled: true
// form: {
// component: 'Switch',
// value: 'TRUE',
// componentProps: {
// activeValue: 'TRUE'
// }
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
width: 150
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
component: 'Switch',
value: 'TRUE',
componentProps: {
activeValue: 'TRUE'
label: '创建时间',
field: 'createTime',
@ -144,7 +144,7 @@ export const MoldMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
@ -184,7 +184,7 @@ const formsSuccess = async (formType, data) => {
await ProblemSolvingApi.createProblemSolving(data)
message.success(t('common.createSuccess'))
} else {
await ProblemSolvingApi.updateProblemSolving(data)
message.success(t('common.updateSuccess'))
basicFormRef.value.dialogVisible = false
@ -170,7 +170,7 @@
if (val == 'edit') { // 编辑
openForm('update', row)
else if (val == 'mainOrderCOMPLETE') { // 关闭
else if (val == 'mainOrderCOMPLETE') { // 完成
handleCOMPLETE(row.id)
else if (val == 'delete') { // 删除