|
|
|
@ -112,7 +112,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
return { |
|
|
|
// xxxx props
|
|
|
|
allowClear: false, |
|
|
|
placeholder: '请选择机组', |
|
|
|
placeholder: '全部机组', |
|
|
|
options: optionList.units.map(unit => ({ value: unit.id, label: unit.name })), |
|
|
|
onChange: async (e: any) => { |
|
|
|
// const { reload } = tableAction
|
|
|
|
@ -145,7 +145,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
componentProps: ({ formModel }) => { |
|
|
|
return { |
|
|
|
allowClear: false, |
|
|
|
placeholder: '请选择系统', |
|
|
|
placeholder: '全部系统', |
|
|
|
options: optionList.types.map(type => ({ value: type.id, label: type.name })), |
|
|
|
onChange: async (e: any) => { |
|
|
|
// const { reload } = tableAction
|
|
|
|
@ -176,7 +176,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
componentProps: () => { |
|
|
|
return { |
|
|
|
allowClear: false, |
|
|
|
placeholder: '请选择子系统', |
|
|
|
placeholder: '全部子系统', |
|
|
|
options: systemOptions.value.map(system => ({ value: system.id, label: system.name })), |
|
|
|
} |
|
|
|
}, |
|
|
|
|