From b60049c4fd341d6a0d109408aa998e02528fc6d6 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 17 五月 2024 14:49:48 +0800 Subject: [PATCH] pdf --- src/router.js | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 109 insertions(+), 4 deletions(-) diff --git a/src/router.js b/src/router.js index cf03701..dafb79e 100644 --- a/src/router.js +++ b/src/router.js @@ -26,7 +26,7 @@ { path: '/', component: Layout, - redirect: '/dashboard', + redirect: '/login', children: [ { path: 'dashboard', @@ -72,10 +72,16 @@ hidden: true }, { + path: 'departmentExamine/list', + component: () => import('@/views/user/departmentExamine/list'), + name: 'departmentExamineList', + meta: { title: '璋冨姩瀹℃牳', noCache: true } + }, + { path: 'tag/list', component: () => import('@/views/user/tag/list'), name: 'TagAdminPageList', - meta: { title: '鏍囩鍒楄〃', noCache: true } + meta: { title: '瀛︾敓鏍囩', noCache: true } }, { path: 'tag/edit', @@ -83,6 +89,36 @@ name: 'TagAdminEdit', meta: { title: '鏍囩缂栬緫', noCache: true, activeMenu: '/user/tag/list' }, hidden: true + } + ] + }, + { + path: '/online/study', + component: Layout, + name: 'OnLineStudy', + meta: { + title: '鍦ㄧ嚎瀛︿範', + icon: 'exam' + }, + alwaysShow: true, + children: [ + { + path: 'type', + component: () => import('@/views/onlineStudy/type'), + name: 'Type', + meta: { title: '瀛︿範绫诲瀷', noCache: true } + }, + { + path: 'file', + component: () => import('@/views/onlineStudy/file'), + name: 'File', + meta: { title: '瀛︿範鏂囦欢', noCache: true } + }, + { + path: 'pdf/view', + component: () => import('@/components/PDF'), + name: 'PDFView', + meta: { title: 'PDF鏌ョ湅', noCache: true } } ] }, @@ -152,6 +188,12 @@ name: 'personalSimulationEdit', meta: { title: '璇曞嵎缂栬緫', noCache: true, activeMenu: '/exam/personalSimulation/list' }, hidden: true + }, + { + path: 'feedback/list', + component: () => import('@/views/feedback/list'), + name: 'feedback', + meta: { title: '閿欓鍙嶉', noCache: true } }, { path: 'personalSimulation/list/mathList', @@ -290,6 +332,31 @@ ] }, { + path: '/questionAnswer', + component: Layout, + name: 'questionAnswerPage', + meta: { + title: '闂瓟绠$悊', + icon: 'question' + }, + alwaysShow: true, + children: [ + { + path: '/list', + component: () => import('@/views/questionAnswer/list'), + name: 'questionAnswerPage', + meta: { title: '闂瓟鍒楄〃', noCache: true } + }, + { + path: '/edit', + component: () => import('@/views/questionAnswer/edit'), + name: 'questionAnswerEdit', + meta: { title: '闂瓟缂栬緫', noCache: true, activeMenu: '/questionAnswer/list' }, + hidden: true + } + ] + }, + { path: '/message', component: Layout, name: 'MessagePage', @@ -391,7 +458,7 @@ { path: '/', component: Layout, - redirect: '/dashboard', + redirect: '/login', children: [ { path: 'dashboard', @@ -402,6 +469,24 @@ ] }, { + path: '/user', + component: Layout, + name: 'UserPage', + meta: { + title: '鐢ㄦ埛绠$悊', + icon: 'users' + }, + alwaysShow: true, + children: [ + { + path: 'student/list', + component: () => import('@/views/user/student/list'), + name: 'UserStudentPageList', + meta: { title: '瀛︾敓鍒楄〃', noCache: true } + }, + ] + }, + { path: '/exam', component: Layout, name: 'ExamPage', @@ -409,7 +494,21 @@ title: '鍗烽绠$悊', icon: 'exam' }, + alwaysShow: true, children: [ + { + path: 'paper/list', + component: () => import('@/views/exam/paper/list'), + name: 'ExamPaperPageList', + meta: { title: '璇曞嵎鍒楄〃', noCache: true } + }, + { + path: 'paper/edit', + component: () => import('@/views/exam/paper/edit'), + name: 'ExamPaperEdit', + meta: { title: '璇曞嵎缂栬緫', noCache: true, activeMenu: '/exam/paper/list' }, + hidden: true + }, { path: 'personalRandomTemplate/list', component: () => import('@/views/exam/personalRandomTemplate/list'), @@ -454,7 +553,13 @@ name: 'AnswerPageList', meta: { title: '鎴愮哗缁熻璇︽儏', noCache: true, activeMenu: '/exam/gradeDetails/list' }, hidden: true - } + }, + { + path: 'sheetStatistics', + component: () => import('@/views/answer/sheetStatistics.vue'), + name: 'AnswerPageList', + meta: { title: '绛斿嵎缁熻', noCache: true } + }, ] }, { -- Gitblit v1.8.0