From a38b2ce4cf02b6ac7069ac89517287bf78f4dfdf Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期二, 29 十月 2024 14:13:56 +0800 Subject: [PATCH] 完成个人信息头像更换 --- src/router.js | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 51 insertions(+), 7 deletions(-) diff --git a/src/router.js b/src/router.js index 9f0ea40..8d90ad3 100644 --- a/src/router.js +++ b/src/router.js @@ -50,21 +50,21 @@ 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: '鐩戞帶'}, + meta: { title: '鐩戞帶', noCache: true }, hidden: true } ] @@ -111,6 +111,19 @@ 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', @@ -145,6 +158,13 @@ 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 }, { @@ -271,7 +291,7 @@ component: () => import('@/views/education/cheat/list'), name: 'EducationCheatPage', meta: { title: '浣滃紛璁板綍', noCache: true } - }, + } ] }, { @@ -285,13 +305,13 @@ 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 }, @@ -303,9 +323,32 @@ name: 'answerDetail', meta: { title: '绛斿嵎璇︽儏', noCache: true }, hidden: true + }, + { + path: 'answer-user', + component: () => import('@/views/answer/user'), + name: 'AnswerPageList', + meta: { title: '绛斿嵎娆℃暟', noCache: true } } ] }, + { + path: '/config', + component: Layout, + children: [ + { + path: '/setting', + name: 'SysSetting', + meta: { + title: '绯荤粺閰嶇疆', + icon: 'answer', + affix: true + }, + component: () => import('@/views/sys/SysSetting') + } + ] + }, + // { // path: '/message', // component: Layout, @@ -361,7 +404,8 @@ } ] }, - { path: '*', + { + path: '*', hidden: true, component: () => import('@/views/error-page/404'), meta: { title: '404', noCache: true } -- Gitblit v1.8.0