import onLineImg from '@/assets/images/leveladd/zai.png'
import faceCourseImg from '@/assets/images/leveladd/mian.png'
import caseImg from '@/assets/images/leveladd/an.png'
import workImg from '@/assets/images/leveladd/zuo.png'
import exaImg from '@/assets/images/leveladd/kao.png'
import liveImg from '@/assets/images/leveladd/zhi.png'
import linkImg from '@/assets/images/leveladd/wai.png'
import discussImg from '@/assets/images/leveladd/tao.png'
import activityImg from '@/assets/images/leveladd/huo.png'
import testImg from '@/assets/images/leveladd/ce.png'
import evaImg from '@/assets/images/leveladd/diao.png'
import voteImg from '@/assets/images/leveladd/tou.png'
import projectImg from '@/assets/images/leveladd/xiang.png'

import AddOnline from "@/components/drawers/AddOnline.vue";
import AddCase from "@/components/drawers/AddCase.vue";
import AddHomework from "@/components/drawers/AddHomework.vue";
import AddExa from "@/components/drawers/AddTest.vue";
import AddDiscuss from "@/components/drawers/AddDiscuss.vue";
import AddActive from "@/components/drawers/AddActive.vue";
import AddEval from "@/components/drawers/AddEval.vue";
import AddInvist from "@/components/drawers/AddInvist.vue";
import AddVote from "@/components/vote/AddVote.vue";
import AddLive from "@/components/drawers/AddLive.vue";
import AddRef from "@/components/drawers/AddRef.vue";
import AddProject from "@/components/drawers/AddProject.vue";
import AddFaceClass from "@/components/drawers/AddFaceClass.vue";

export const TASK_TYPE = {
    1: {
        name: '在线',
        img: onLineImg,
        component: AddOnline
    },
    2: {
        name: '面授',
        img: faceCourseImg,
        component: AddFaceClass
    },
    3: {
        name: '案例',
        img: caseImg,
        component: AddCase
    },
    4: {
        name: '作业',
        img: workImg,
        component: AddHomework
    },
    5: {
        name: '考试',
        img: exaImg,
        component: AddExa
    },
    6: {
        name: '直播',
        img: liveImg,
        component: AddLive
    },
    7: {
        name: '外链',
        img: linkImg,
        component: AddRef
    },
    8: {
        name: '讨论',
        img: discussImg,
        component: AddDiscuss
    },
    9: {
        name: '活动',
        img: activityImg,
        component: AddActive
    },
    10: {
        name: '测评',
        img: testImg,
        component: AddEval
    },
    11: {
        name: '评估',
        img: evaImg,
        component: AddInvist
    },
    12: {
        name: '投票',
        img: voteImg,
        component: AddVote
    },
    13: {
        name: '项目',
        img: projectImg,
        component: AddProject
    },
}