import {ref} from 'vue'


import viewLightIcon from '@/assets/icon/view_white.png'
import viewIcon from '@/assets/icon/view.png'
import listIcon from '@/assets/icon/list.png'
import listLightIcon from '@/assets/icon/list_white.png'


export const searchList  = ref([
    {
        key:'schoolYear',
        type:'select',
        placeholder:'请选择',
        defaultValue:'',
        options:[]
    },
    {
        key:'evaluationName',  //模糊查询值
        type:'input',
        placeholder:'评价名称',
        defaultValue:'',
    },
])

export const statusSearchList = ref([
    {
        label:'状态',
        key:'evaluationStatus',
        type:"single",
        options:[
            {
                label:'全部',
                value:'all'
            },
            {
                label:'进行中',
                value:'1'
            },
            {
                label:'已结束',
                value:'2'
            },
        ],
        defaultValue:'all',
    }
])


export const viewModeTabList = ref([
    {
        label:'视图',
        key:'view',
        prefix:viewIcon,
        prefixLight:viewLightIcon,
    },
    {
        label:'列表',
        key:'list',
        prefix:listIcon,
        prefixLight:listLightIcon,
    }
])
