import { ref } from "vue";

// 默认列表头部筛选配置
export const headerSearchList = ref([
    {
        label: '时间',
        key: 'time',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '今天', value: 'today' },
            { label: '本周', value: 'thisWeek' },
            { label: '最近1月', value: 'last1Month' },
            { label: '最近3月', value: 'last3Month' },
            { label: '半年内', value: 'halfYear' },
            { label: '自定义', value: 'custom' },
        ],
        defaultValue: 'all'
    },
    {
        label: '分组',
        key: 'group',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '分组1', value: 'group1' },
            { label: '分组2', value: 'group2' },
            { label: '分组3', value: 'group3' },
            { label: '分组4', value: 'group4' },
            { label: '分组5', value: 'group5' },
            { label: '分组6', value: 'group6' },
        ],
        defaultValue: 'all'
    },
    {
        label: '人员',
        key: 'personnel',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '马丁', value: 'martin' },
            { label: '王诗雅', value: 'wangshiya' },
            { label: '王梓木', value: 'wangzimu' },
            { label: '殷思源', value: 'yinsiyuan' },
            { label: '付文杰', value: 'fuwenjie' },
            { label: '李润曦', value: 'lirunxi' },
        ],
        defaultValue: 'all'
    },
    {
        label: '产品',
        key: 'product',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '大数据教学诊断', value: 'big_data_diagnosis' },
            { label: '智能判分', value: 'smart_grading' },
            { label: '材料采集', value: 'material_collection' },
            { label: '校内通知', value: 'school_notification' },
            { label: '校本研修', value: 'school_research' },
            { label: '协同备课', value: 'collaborative_prep_1' },
            { label: '协同备课', value: 'collaborative_prep_2' }, // 图片中此项有重复
            { label: '协同备课', value: 'collaborative_prep_3' }, // 图片中此项有重复
        ],
        defaultValue: 'all'
    },
    {
        label: '省份',
        key: 'province',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '北京', value: 'beijing' },
            { label: '上海', value: 'shanghai' },
            { label: '天津', value: 'tianjin' },
            { label: '广东', value: 'guangdong' },
            { label: '广西', value: 'guangxi' },
        ],
        defaultValue: 'all'
    },
    {
        label: '地区',
        key: 'region',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '东城区', value: 'dongcheng' },
            { label: '西城区', value: 'xicheng' },
            { label: '海淀区', value: 'haidian' },
            { label: '朝阳区', value: 'chaoyang' },
            { label: '丰台区', value: 'fengtai' },
            { label: '石景山区', value: 'shijingshan' },
        ],
        defaultValue: 'all'
    },
    {
        label: '学段',
        key: 'education_stage',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '幼儿园', value: 'kindergarten' },
            { label: '小学', value: 'primary_school' },
            { label: '初中', value: 'junior_high' },
            { label: '高中', value: 'senior_high' },
            { label: '完全中学', value: 'complete_middle' },
            { label: '九年一贯', value: 'nine_year' },
            { label: '十二年一贯', value: 'twelve_year' },
            { label: '职高', value: 'vocational_high' },
            { label: '大学', value: 'university' },
        ],
        defaultValue: 'all'
    },
    {
        label: '类型',
        key: 'type',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '首单客户', value: 'first_order' },
            { label: '存量客户', value: 'existing_customer' },
        ],
        defaultValue: 'all'
    }
]);




// 操作日志筛选配置
export const operationLogSearchList = ref([
    {
        label: '时间',
        key: 'time',
        type: 'single',
        options:[
            { label: '全部', value: 'all' },
            { label: '今天', value: 'today' },
            { label: '昨天', value: 'yesterday' },
            { label: '近3天', value: 'last3Days' },
            { label: '近1周', value: 'last1Week' },
            { label: '近1月', value: 'last1Month' },
            { label: '自定义', value: 'custom' }
        ],
        defaultValue: 'all'
    },
    {
        label: '小组',
        key: 'group',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '分组1', value: 'group1' },
            { label: '分组2', value: 'group2' },
            { label: '分组3', value: 'group3' },
            { label: '分组4', value: 'group4' },
            { label: '分组5', value: 'group5' },
            { label: '分组6', value: 'group6' },
        ],
        defaultValue: 'all'
    },
    {
        label: '人员',
        key: 'personnel',
        type: 'single',
        options: [
            { label: '全部', value: 'all' },
            { label: '马丁', value: 'martin' },
            { label: '王诗雅', value: 'wangshiya' },
            { label: '王梓木', value: 'wangzimu' },
            { label: '殷思源', value: 'yinsiyuan' },
            { label: '付文杰', value: 'fuwenjie' },
            { label: '李润曦', value: 'lirunxi' },
        ],
        defaultValue: 'all'
    },
]);