import { ref } from "vue";

export const searchList = ref([
    {
        key: 'role',
        type: 'select',
        placeholder: '请选择',
        defaultValue:'all',
        options: [
            { label: '全部角色', value: 'all' },
            { label: '项目组长', value: '110000' },
            { label: '管理员', value: '310000' }
        ]
    },
    {
        key: 'region',
        type: 'select',
        placeholder: '全部地区',
        defaultValue:'all',
        options: [
            { label: '全部地区', value: 'all' }
        ]
    },
    {
        key: 'group',
        type: 'select',
        placeholder: '全部分组',
        defaultValue:'all',
        options: [
            { label: '全部分组', value: 'all' }
        ]
    },
    {
        key: 'member',
        type: 'select',
        placeholder: '全部组员',
        defaultValue:'all',
        hidden: false,
        options: [
            { label: '全部组员', value: 'all' }
        ]
    },
    {
        key: 'keyword',
        type: 'input',
        placeholder: '请输入', 
    },
])