| | |
| | | path: '/exam/mark/paper', |
| | | component: () => import('@/views/exam/exam/MarkPaper'), |
| | | name: 'MarkPaper', |
| | | meta: { title: '阅卷'}, |
| | | meta: { title: '阅卷', noCache: true }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/exam/mark/paper/detail', |
| | | component: () => import('@/views/exam/exam/MarkPaperDetail'), |
| | | name: 'MarkPaperDetail', |
| | | meta: { title: '阅卷'}, |
| | | meta: { title: '阅卷详情', noCache: true }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/exam/monitor', |
| | | component: () => import('@/views/exam/exam/monitor'), |
| | | name: 'monitor', |
| | | meta: { title: '监控', noCache: true }, |
| | | hidden: true |
| | | } |
| | | ] |
| | |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'teacher/list', |
| | | component: () => import('@/views/user/teacher/list'), |
| | | name: 'UserTeacherPageList', |
| | | meta: { title: '教师列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'teacher/edit', |
| | | component: () => import('@/views/user/teacher/edit'), |
| | | name: 'UserTeacherEdit', |
| | | meta: { title: '教师编辑', noCache: true, activeMenu: '/user/teacher/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'admin/list', |
| | | component: () => import('@/views/user/admin/list'), |
| | | name: 'UserAdminPageList', |
| | |
| | | component: () => import('@/views/exam/paper/edit'), |
| | | name: 'ExamPaperEdit', |
| | | meta: { title: '试卷编辑', noCache: true, activeMenu: '/exam/paper/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'paper/import', |
| | | component: () => import('@/views/exam/paper/import'), |
| | | name: 'ExamPaperImport', |
| | | meta: { title: '试卷导入', noCache: true, activeMenu: '/exam/paper/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | |
| | | component: () => import('@/views/education/resource/list'), |
| | | name: 'EducationResourcePage', |
| | | meta: { title: '教学资源', noCache: true } |
| | | }, |
| | | { |
| | | path: 'cheat/list', |
| | | component: () => import('@/views/education/cheat/list'), |
| | | name: 'EducationCheatPage', |
| | | meta: { title: '作弊记录', noCache: true } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'list', |
| | | path: 'answer-list', |
| | | component: () => import('@/views/answer/list'), |
| | | name: 'AnswerPageList', |
| | | meta: { title: '答卷列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'answer-list', |
| | | path: 'answer-info', |
| | | component: () => import('@/views/answer/info'), |
| | | name: 'answerList', |
| | | meta: { title: '答卷信息', noCache: true }, |
| | |
| | | name: 'answerDetail', |
| | | meta: { title: '答卷详情', noCache: true }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'answer-user', |
| | | component: () => import('@/views/answer/user'), |
| | | name: 'AnswerPageList', |
| | | meta: { title: '答卷次数', noCache: true } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/message', |
| | | path: '/config', |
| | | component: Layout, |
| | | name: 'MessagePage', |
| | | meta: { |
| | | title: '消息中心', |
| | | icon: 'message' |
| | | }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'list', |
| | | component: () => import('@/views/message/list'), |
| | | name: 'MessageListPage', |
| | | meta: { title: '消息列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'send', |
| | | component: () => import('@/views/message/send'), |
| | | name: 'MessageSendPage', |
| | | meta: { title: '消息发送', noCache: true } |
| | | path: '/setting', |
| | | name: 'SysSetting', |
| | | meta: { |
| | | title: '系统配置', |
| | | icon: 'answer', |
| | | affix: true |
| | | }, |
| | | component: () => import('@/views/sys/SysSetting') |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | // { |
| | | // path: '/message', |
| | | // component: Layout, |
| | | // name: 'MessagePage', |
| | | // meta: { |
| | | // title: '消息中心', |
| | | // icon: 'message' |
| | | // }, |
| | | // alwaysShow: true, |
| | | // children: [ |
| | | // { |
| | | // path: 'list', |
| | | // component: () => import('@/views/message/list'), |
| | | // name: 'MessageListPage', |
| | | // meta: { title: '消息列表', noCache: true } |
| | | // }, |
| | | // { |
| | | // path: 'send', |
| | | // component: () => import('@/views/message/send'), |
| | | // name: 'MessageSendPage', |
| | | // meta: { title: '消息发送', noCache: true } |
| | | // } |
| | | // ] |
| | | // }, |
| | | { |
| | | path: '/log', |
| | | component: Layout, |
| | |
| | | } |
| | | ] |
| | | }, |
| | | { path: '*', |
| | | { |
| | | path: '*', |
| | | hidden: true, |
| | | component: () => import('@/views/error-page/404'), |
| | | meta: { title: '404', noCache: true } |