From 82379f6ff9ddc28abb2a0e46bc97090ec049b6e9 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 07 五月 2024 11:55:51 +0800 Subject: [PATCH] 新增人员状态、状态描述展示、设置操作 --- src/router.js | 124 ++++------------------------------------ 1 files changed, 14 insertions(+), 110 deletions(-) diff --git a/src/router.js b/src/router.js index 5013f6c..cf03701 100644 --- a/src/router.js +++ b/src/router.js @@ -70,6 +70,19 @@ name: 'UserAdminEdit', meta: { title: '绠$悊鍛樼紪杈�', noCache: true, activeMenu: '/user/admin/list' }, hidden: true + }, + { + path: 'tag/list', + component: () => import('@/views/user/tag/list'), + name: 'TagAdminPageList', + meta: { title: '鏍囩鍒楄〃', noCache: true } + }, + { + path: 'tag/edit', + component: () => import('@/views/user/tag/edit'), + name: 'TagAdminEdit', + meta: { title: '鏍囩缂栬緫', noCache: true, activeMenu: '/user/tag/list' }, + hidden: true } ] }, @@ -398,44 +411,6 @@ }, 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: 'question/list', - component: () => import('@/views/exam/question/list'), - name: 'ExamQuestionPageList', - meta: { title: '棰樼洰鍒楄〃', noCache: true } - }, - { - path: 'question/edit/singleChoice', - component: () => import('@/views/exam/question/edit/single-choice'), - name: 'singleChoicePage', - meta: { title: '鍗曢�夐缂栬緫', noCache: true, activeMenu: '/exam/question/list' }, - 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', @@ -454,65 +429,6 @@ 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', - meta: { title: '澶氶�夐缂栬緫', noCache: true, activeMenu: '/exam/question/list' }, - hidden: true - }, - { - path: 'question/edit/trueFalse', - component: () => import('@/views/exam/question/edit/true-false'), - name: 'trueFalsePage', - meta: { title: '鍒ゆ柇棰樼紪杈�', noCache: true, activeMenu: '/exam/question/list' }, - hidden: true - }, - { - path: 'question/edit/gapFilling', - component: () => import('@/views/exam/question/edit/gap-filling'), - name: 'gapFillingPage', - meta: { title: '濉┖棰樼紪杈�', noCache: true, activeMenu: '/exam/question/list' }, - hidden: true - }, - { - path: 'question/edit/shortAnswer', - component: () => import('@/views/exam/question/edit/short-answer'), - name: 'shortAnswerPage', - meta: { title: '绠�绛旈缂栬緫', noCache: true, activeMenu: '/exam/question/list' }, - hidden: true - } - ] - }, - { - path: '/task', - component: Layout, - name: 'TaskPage', - meta: { - 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 } } ] }, @@ -526,18 +442,6 @@ }, alwaysShow: true, children: [ - { - path: 'list', - 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'), @@ -574,7 +478,7 @@ ] const router = new Router({ - routes: sessionStorage.getItem('deptAdmin') === '1' ? deptAdminRoutes : constantRoutes + routes: constantRoutes }) export { -- Gitblit v1.8.0