| key |
string |
form对象中的映射字段名称 |
| type |
string |
类型根据不同类型展示不同的搜索内容 input 输入框 select 选择框 date 时间选择器 |
| name |
string |
展示输入框的名称 |
| label? |
string |
当type为select时 需要传入的字段指定option数组对应展示名称的项 |
| value? |
string |
当type为select时 需要传入的字段指定option数组对应展示值的项 |
| selectType? |
string |
more/不传 当type为select时指定当前选择器是单选还是多选 |
| option? |
Array |
当type为select时 必传的字段 选择框的内容 {label : value, value : value} label 和value需要跟外层一致 |
| limit? |
number |
当type为select 且 selectType为more是 设置的内容默认1 选择框能选值的数量 |
| subType? |
string |
当type为date时 传入的参数 设置时间选择框的类型 对应element的时间选择器 例如 date, month, year等 |
| valueFormat? |
string |
当type为date时 设置时间选择器值的格式化 |
|
|