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([ { key: 'schoolId', type: 'select', label: '', placeholder: '全部学校', hidden: false, // defaultValue: 0, options: [], }, { key: 'accountTypeCode', 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([ { key: 'dateRange', type: 'datePicker', placeholder: '请选择时间范围', hidden: false, defaultValue: '', options: [], }, ])