/*
 * @Author: 吴文洁
 * @Date: 2020-04-29 10:26:32
 * @LastEditors: zhangleyuan
 * @LastEditTime: 2021-02-22 11:36:41
 * @Description: 内容线路由配置
 */
import EmployeesManagePage from '@/modules/store-manage/EmployeesManagePage';
import personalInfoPage from '@/modules/personalInfo';
import UserManagePage from '@/modules/store-manage/UserManagePage';
import StoreDecorationPage from '@/modules/store-manage/StoreDecorationPage';
import CourseCatalogPage from '@/modules/store-manage/CourseCatalogPage';
import LiveCoursePage from '@/modules/course-manage/LiveCoursePage';
import AddLivePage from '@/modules/course-manage/AddLive'
import VideoCoursePage from '@/modules/course-manage/video-course'
import AddVideoCoursePage from '@/modules/course-manage/video-course/AddVideoCourse'
//TODO
// import DataList from '@/modules/course-manage/DataList/DataList';
// import ClassBook from '@/modules/resource-disk';
import ResourceDisk from '@/modules/resource-disk';
import SwitchRoute from '@/modules/root/SwitchRoute';
import PlanPage from '@/modules/plan-manage/PlanPage';
import AddPlanPage from '@/modules/plan-manage/AddPlan';

const mainRoutes = [
  {
    path: '/employees-manage',
		component: EmployeesManagePage,
		name: '员工管理'
  },
  {
    path: '/personal-info',
		component: personalInfoPage,
		name: '个人信息'
  },
  {
    path: '/user-manage',
		component: UserManagePage,
		name: '用户管理'
  },
  {
    path: '/store-decoration',
		component: StoreDecorationPage,
		name: '店铺装修'
  },
  {
    path: '/course-catalog',
		component:CourseCatalogPage,
		name: '课程分类'
  },
  {
    path: '/live-course',
		component:LiveCoursePage,
		name: '直播课'
  },
  {
    path: '/video-course',
		component:VideoCoursePage,
		name: '视频课'
  },
  {
    path: '/create-live-course',
		component:AddLivePage,
		name: '创建直播课'
  },
  {
    path: '/create-video-course',
		component:AddVideoCoursePage,
		name: '创建视频课'
  },
  {
    path: '/resource-disk',
		component:ResourceDisk,
		name: '资料云盘'
  },
  {
    path: '/switch-route',
		component: SwitchRoute,
		name: '登录后跳转承载页'
  },
  {
    path:'/plan',
    component: PlanPage,
		name: '培训计划'
  },
  {
    path: '/create-plan',
		component:AddPlanPage,
		name: '创建视频课'
  }
]

export default mainRoutes;