| | |
| | | import { renderDict } from '#/utils/render'; |
| | | |
| | | export const querySchema: FormSchemaGetter = () => [ |
| | | // { |
| | | // component: 'Input', |
| | | // fieldName: 'equName', |
| | | // label: '设备名称' |
| | | // }, |
| | | { |
| | | component: 'Input', |
| | | fieldName: 'equName', |
| | | label: '设备名称' |
| | | fieldName: 'params.searchValue', |
| | | componentProps: { |
| | | placeholder: '请输入标题或资产编号' |
| | | }, |
| | | label: '关键字' |
| | | }, |
| | | { |
| | | component: 'RangePicker', |
| | | fieldName: 'planTime', |
| | | label: '保养日期' |
| | | }, |
| | | { |
| | | component: 'Select', |
| | | componentProps: { |
| | | options: getDictOptions(DictEnum.MAINT_ORDER_STATUS) |
| | | }, |
| | | fieldName: 'status', |
| | | label: '状态' |
| | | }, |
| | | { |
| | | component: 'Input', |
| | |
| | | }, |
| | | fieldName: 'maintRule', |
| | | label: '计算规则' |
| | | }, |
| | | { |
| | | component: 'Select', |
| | | componentProps: { |
| | | options: getDictOptions(DictEnum.MAINT_ORDER_STATUS) |
| | | }, |
| | | fieldName: 'status', |
| | | label: '状态' |
| | | } |
| | | ]; |
| | | |