|
@ -23,6 +23,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '类型', |
|
|
label: '类型', |
|
|
field: 'type', |
|
|
field: 'type', |
|
|
|
|
|
dictType: DICT_TYPE.QUALITY_NOTIFICATION_TYPE, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isForm: false, |
|
|
isForm: false, |
|
@ -98,8 +99,27 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '报告时间', |
|
|
label: '报告时间', |
|
|
field: 'reportTime', |
|
|
field: 'reportTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -108,8 +128,27 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '要求开始时间', |
|
|
label: '要求开始时间', |
|
|
field: 'requestStartTime', |
|
|
field: 'requestStartTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -118,8 +157,27 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '要求结束时间', |
|
|
label: '要求结束时间', |
|
|
field: 'requestEndTime', |
|
|
field: 'requestEndTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -127,6 +185,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '是否造成停机', |
|
|
label: '是否造成停机', |
|
|
field: 'whetherCausesMachineHalt', |
|
|
field: 'whetherCausesMachineHalt', |
|
|
|
|
|
dictType: DICT_TYPE.FALSE_OR_TRUE, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
@ -138,8 +197,27 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '停机开始时间', |
|
|
label: '停机开始时间', |
|
|
field: 'machineHaltStartTime', |
|
|
field: 'machineHaltStartTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -147,12 +225,27 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '停机结束时间', |
|
|
label: '停机结束时间', |
|
|
field: 'machineHaltEndTime', |
|
|
field: 'machineHaltEndTime', |
|
|
dictType: DICT_TYPE.INSPECTION_TYPE, |
|
|
|
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'Select' |
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
}, |
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -182,8 +275,27 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '完成时间', |
|
|
label: '完成时间', |
|
|
field: 'finishTime', |
|
|
field: 'finishTime', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
|