| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/exam1', |
| | | component: Layout, |
| | | children: [ |
| | | { |
| | | path: '/exam1/manage', |
| | | component: () => import('@/views/exam/exam/ExamManage'), |
| | | name: 'Exam', |
| | | meta: { title: '考试管理', icon: 'exam', affix: true } |
| | | }, |
| | | { |
| | | path: '/exam/mark/paper', |
| | | component: () => import('@/views/exam/exam/MarkPaper'), |
| | | name: 'MarkPaper', |
| | | meta: { title: '阅卷'}, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/exam/mark/paper/detail', |
| | | component: () => import('@/views/exam/exam/MarkPaperDetail'), |
| | | name: 'MarkPaperDetail', |
| | | meta: { title: '阅卷'}, |
| | | hidden: true |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/classes', |
| | | component: Layout, |
| | | children: [ |
| | | { |
| | | path: '/classes/manage', |
| | | component: () => import('@/views/class-management/Class'), |
| | | name: 'Classes', |
| | | meta: { title: '班级管理', icon: 'classes', affix: true } |
| | | }, |
| | | { |
| | | path: '/classes/class-management/Class-staff', |
| | | component: () => import('@/views/class-management/ClassStaff'), |
| | | name: 'Classes', |
| | | hidden: true, |
| | | meta: { title: '班级成员管理', icon: 'classes' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/user', |
| | | component: Layout, |
| | | name: 'UserPage', |
| | |
| | | name: 'shortAnswerPage', |
| | | meta: { title: '简答题编辑', noCache: true, activeMenu: '/exam/question/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'question/edit/audio', |
| | | component: () => import('@/views/exam/question/edit/audio'), |
| | | name: 'audioPage', |
| | | meta: { title: '语音题编辑', noCache: true, activeMenu: '/exam/question/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'question/edit/calculate', |
| | | component: () => import('@/views/exam/question/edit/calculate'), |
| | | name: 'audioPage', |
| | | meta: { title: '计算题编辑', noCache: true, activeMenu: '/exam/question/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'question/edit/analysis', |
| | | component: () => import('@/views/exam/question/edit/analysis'), |
| | | name: 'audioPage', |
| | | meta: { title: '分析题编辑', noCache: true, activeMenu: '/exam/question/list' }, |
| | | hidden: true |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/task', |
| | | path: '/train', |
| | | component: Layout, |
| | | name: 'TaskPage', |
| | | name: 'TrainPage', |
| | | meta: { |
| | | title: '任务管理', |
| | | title: '在线培训', |
| | | icon: 'task' |
| | | }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'list', |
| | | component: () => import('@/views/task/list'), |
| | | name: 'TaskListPage', |
| | | meta: { title: '任务列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'edit', |
| | | component: () => import('@/views/task/edit'), |
| | | name: 'TaskEditPage', |
| | | meta: { title: '任务创建', noCache: true } |
| | | component: () => import('@/views/train/index'), |
| | | name: 'TrainListPage', |
| | | meta: { title: '在线培训', noCache: true } |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | { |
| | | path: '/meet', |
| | | component: () => import('@/views/meet/index'), |
| | | meta: { title: '在线教学', noCache: true }, |
| | | hidden: true |
| | | }, |
| | | |
| | | { |
| | | path: '/education', |
| | | component: Layout, |
| | |
| | | name: 'EducationSubjectEditPage', |
| | | meta: { title: '学科编辑', noCache: true, activeMenu: '/education/subject/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'resource/list', |
| | | component: () => import('@/views/education/resource/list'), |
| | | name: 'EducationResourcePage', |
| | | meta: { title: '教学资源', noCache: true } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | component: () => import('@/views/answer/list'), |
| | | name: 'AnswerPageList', |
| | | meta: { title: '答卷列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'answer-list', |
| | | component: () => import('@/views/answer/info'), |
| | | name: 'answerList', |
| | | meta: { title: '答卷信息', noCache: true }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'answer-detail', |
| | | component: () => import('@/views/answer/detail'), |
| | | name: 'answerDetail', |
| | | meta: { title: '答卷详情', noCache: true }, |
| | | hidden: true |
| | | } |
| | | ] |
| | | }, |