1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import { buildProps } from 'element-plus/es/utils';
| import { PropType } from 'vue';
| import { FormItemConfig } from '/@/components/form/yw-form';
|
| export const searchFormProps = buildProps({
| /** @description 查询参数 */
| queryParams: {
| type: Object as PropType<Record<string, any>>,
| default: {},
| },
| /** @description 表单项配置 */
| formItems: {
| type: Array<FormItemConfig>,
| default: [],
| },
| /** @description 排序状态 */
| isDrag: {
| type: Boolean,
| default: false,
| },
| } as const);
|
| export type searchFormEmits = {
| (event: 'resetClick'): void;
| (event: 'queryClick'): void;
| (event: 'addClick'): void;
| (event: 'dragStatusChange'): void;
| };
|
|