| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import { ref } from "vue";
- interface SearchItem {
- key: string;
- type: 'input' | 'select' | 'datePicker' | 'radio';
- label?: string;
- placeholder?: string;
- hidden: boolean;
- defaultValue?: any;
- disabled?: boolean;
- filterable?: boolean;
- clearable?: boolean;
- options?: { label: string; value: string | number; disabled?: boolean }[];
- }
- // 不同类别的日志筛选项
- export const differentTypeLogSearchList = ref<SearchItem[]>([
- {
- key: 'schoolId',
- type: 'select',
- label: '',
- placeholder: '全部学校',
- hidden: false,
- filterable: true,
- // defaultValue: 0,
- options: [],
- },
- {
- key: 'accountType',
- type: 'select',
- label: '',
- placeholder: '全部类型',
- hidden: false,
- // defaultValue: 0,
- options: [],
- },
- {
- key: 'userAccount',
- type: 'input',
- label: '',
- placeholder: '请输入账号',
- hidden: false,
- defaultValue: '',
- options: [],
- },
- // {
- // key: 'moduleType',
- // type: 'select',
- // label: '功能模块',
- // placeholder: '请选择功能模块',
- // hidden: false,
- // defaultValue: 0,
- // options: [],
- // },
- // {
- // key: 'operationType',
- // type: 'select',
- // label: '操作类型',
- // placeholder: '请选择操作类型',
- // hidden: false,
- // defaultValue: 0,
- // options: [],
- // },
-
- ])
- export const peopleLogSearchList = ref<SearchItem[]>([
- {
- key: 'dateRange',
- type: 'datePicker',
- placeholder: '请选择时间范围',
- hidden: false,
- defaultValue: '',
- options: [],
- },
- ])
|