| | |
| | | import { renderDict } from '#/utils/render'; |
| | | |
| | | export const querySchema: FormSchemaGetter = () => [ |
| | | // { |
| | | // component: 'Input', |
| | | // fieldName: 'title', |
| | | // label: '标题' |
| | | // }, |
| | | // { |
| | | // component: 'Input', |
| | | // fieldName: 'assetno', |
| | | // label: '资产编号' |
| | | // }, |
| | | { |
| | | component: 'Input', |
| | | fieldName: 'title', |
| | | label: '标题' |
| | | }, |
| | | { |
| | | component: 'Input', |
| | | fieldName: 'assetno', |
| | | label: '资产编号' |
| | | fieldName: 'params.searchValue', |
| | | componentProps: { |
| | | placeholder: '请输入标题或资产编号' |
| | | }, |
| | | label: '关键字' |
| | | }, |
| | | { |
| | | component: 'RangePicker', |
| | |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | title: '保养中', |
| | | field: 'byCount', |
| | | minWidth: 80, |
| | | slots: { |
| | | default: ({ row }) => { |
| | | return <Tag color="blue">{row.byCount}</Tag>; |
| | | } |
| | | } |
| | | }, |
| | | // { |
| | | // title: '保养中', |
| | | // field: 'byCount', |
| | | // minWidth: 80, |
| | | // slots: { |
| | | // default: ({ row }) => { |
| | | // return <Tag color="blue">{row.byCount}</Tag>; |
| | | // } |
| | | // } |
| | | // }, |
| | | { |
| | | title: '待验证', |
| | | field: 'dyzCount', |