From 4f39d2d3ee69813f106e06fc8a8d168ecccc941c Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 15 三月 2024 15:32:17 +0800 Subject: [PATCH] 成绩统计详情增加时间查询 --- src/router.js | 185 ++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 176 insertions(+), 9 deletions(-) diff --git a/src/router.js b/src/router.js index 4bd71f1..a4c18b1 100644 --- a/src/router.js +++ b/src/router.js @@ -109,6 +109,45 @@ hidden: true }, { + path: 'simulation/list', + component: () => import('@/views/exam/simulation/list'), + name: 'personalSimulationList', + meta: { title: '妯℃嫙鍒楄〃', noCache: true } + }, + { + path: 'personalSimulation/list', + component: () => import('@/views/exam/personalSimulation/list'), + name: 'personalSimulation', + meta: { title: '涓汉妯℃嫙', noCache: true } + }, + { + path: 'personalRandomTemplate/list', + component: () => import('@/views/exam/personalRandomTemplate/list'), + name: 'personalSimulation', + meta: { title: '闅忔満璇曞嵎', noCache: true } + }, + { + path: 'personalRandomTemplate/edit', + component: () => import('@/views/exam/personalRandomTemplate/edit'), + name: 'personalSimulationEdit', + meta: { title: '闅忔満璇曞嵎', noCache: true, activeMenu: '/exam/personalRandomTemplate/list' }, + hidden: true + }, + { + path: 'personalSimulation/edit', + component: () => import('@/views/exam/personalSimulation/edit'), + name: 'personalSimulationEdit', + meta: { title: '璇曞嵎缂栬緫', noCache: true, activeMenu: '/exam/personalSimulation/list' }, + hidden: true + }, + { + path: 'personalSimulation/list/mathList', + component: () => import('@/views/exam/mathList/list.vue'), + name: 'multiplemathList', + meta: { title: '妯℃嫙鍒楄〃璇︽儏', noCache: true, activeMenu: '/exam/mathList/list' }, + hidden: true + }, + { path: 'question/edit/multipleChoice', component: () => import('@/views/exam/question/edit/multiple-choice'), name: 'multipleChoicePage', @@ -215,6 +254,25 @@ component: () => import('@/views/answer/list'), name: 'AnswerPageList', meta: { title: '绛斿嵎鍒楄〃', noCache: true } + }, + { + path: 'sheetStatistics', + component: () => import('@/views/answer/sheetStatistics.vue'), + name: 'AnswerPageList', + meta: { title: '绛斿嵎缁熻', noCache: true } + }, + { + path: 'achievementStatistics', + component: () => import('@/views/answer/achievementStatistics.vue'), + name: 'AnswerPageList', + meta: { title: '鎴愮哗缁熻', noCache: true } + }, + { + path: 'achievementStatistics/gradeDetails', + component: () => import('@/views/exam/gradeDetails/list.vue'), + name: 'AnswerPageList', + meta: { title: '鎴愮哗缁熻璇︽儏', noCache: true, activeMenu: '/exam/gradeDetails/list' }, + hidden: true } ] }, @@ -260,21 +318,129 @@ } ] }, + // { + // path: '/meeting', + // component: Layout, + // name: 'MeetingPage', + // meta: { + // title: '鍦ㄧ嚎浼氳', + // icon: 'log' + // }, + // alwaysShow: true, + // children: [ + // { + // path: 'meeting/index', + // component: () => import('@/views/meeting/list'), + // name: 'MeetingUserPage', + // meta: { title: '鍦ㄧ嚎浼氳', noCache: true } + // } + // ] + // }, { - path: '/meeting', + path: '/profile', component: Layout, - name: 'MeetingPage', + hidden: true, + children: [ + { + path: 'index', + component: () => import('@/views/profile/index'), + name: 'Profile', + meta: { title: '涓汉绠�浠�', icon: 'user', noCache: true } + } + ] + }, + { path: '*', + hidden: true, + component: () => import('@/views/error-page/404'), + meta: { title: '404', noCache: true } + } +] + +const deptAdminRoutes = [ + { + path: '/redirect', + component: Layout, + hidden: true, + children: [ + { + path: '/redirect/:path*', + component: () => import('@/views/redirect/index') + } + ] + }, + { + path: '/login', + name: 'Login', + hidden: true, + component: () => import('@/views/login/index'), + meta: { title: '鐧诲綍' } + }, + { + path: '/', + component: Layout, + redirect: '/dashboard', + children: [ + { + path: 'dashboard', + component: () => import('@/views/dashboard/index'), + name: 'Dashboard', + meta: { title: '涓婚〉', icon: 'home', affix: true } + } + ] + }, + { + path: '/exam', + component: Layout, + name: 'ExamPage', meta: { - title: '鍦ㄧ嚎浼氳', - icon: 'log' + title: '鍗烽绠$悊', + icon: 'exam' + }, + children: [ + { + path: 'personalRandomTemplate/list', + component: () => import('@/views/exam/personalRandomTemplate/list'), + name: 'personalSimulation', + meta: { title: '闅忔満璇曞嵎', noCache: true } + }, + { + path: 'personalRandomTemplate/edit', + component: () => import('@/views/exam/personalRandomTemplate/edit'), + name: 'personalSimulationEdit', + meta: { title: '闅忔満璇曞嵎', noCache: true, activeMenu: '/exam/personalRandomTemplate/list' }, + hidden: true + }, + { + path: 'personalSimulation/edit', + component: () => import('@/views/exam/personalSimulation/edit'), + name: 'personalSimulationEdit', + meta: { title: '璇曞嵎缂栬緫', noCache: true, activeMenu: '/exam/personalSimulation/list' }, + hidden: true + } + ] + }, + { + path: '/answer', + component: Layout, + name: 'AnswerPage', + meta: { + title: '鎴愮哗绠$悊', + icon: 'answer' }, alwaysShow: true, children: [ { - path: 'meeting/index', - component: () => import('@/views/meeting/list'), - name: 'MeetingUserPage', - meta: { title: '鍦ㄧ嚎浼氳', noCache: true } + path: 'achievementStatistics', + component: () => import('@/views/answer/achievementStatistics.vue'), + name: 'AnswerPageList', + meta: { title: '鎴愮哗缁熻', noCache: true } + }, + { + path: 'achievementStatistics/gradeDetails', + component: () => import('@/views/exam/gradeDetails/list.vue'), + name: 'AnswerPageList', + meta: { title: '鎴愮哗缁熻璇︽儏', noCache: true, activeMenu: '/exam/gradeDetails/list' }, + hidden: true } ] }, @@ -304,5 +470,6 @@ export { constantRoutes, - router + router, + deptAdminRoutes } -- Gitblit v1.8.0