From 68b8ed3b4b7ddbb5fe113c1d7df3aa909dc66fb6 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 03 七月 2024 18:37:29 +0800
Subject: [PATCH] feat:新增随机时间题目配置

---
 src/router.js |  101 +++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 90 insertions(+), 11 deletions(-)

diff --git a/src/router.js b/src/router.js
index 6fb3e17..bf49fcf 100644
--- a/src/router.js
+++ b/src/router.js
@@ -26,7 +26,7 @@
   {
     path: '/',
     component: Layout,
-    redirect: '/dashboard',
+    redirect: '/login',
     children: [
       {
         path: 'dashboard',
@@ -72,6 +72,18 @@
         hidden: true
       },
       {
+        path: 'departmentExamine/list',
+        component: () => import('@/views/user/departmentExamine/list'),
+        name: 'departmentExamineList',
+        meta: { title: '璋冨姩瀹℃牳', noCache: true }
+      },
+      {
+        path: 'UserConditionExamine/list',
+        component: () => import('@/views/user/UserConditionExamine/list'),
+        name: 'UserConditionExamineList',
+        meta: { title: '鐘舵�佸鏍�', noCache: true }
+      },
+      {
         path: 'tag/list',
         component: () => import('@/views/user/tag/list'),
         name: 'TagAdminPageList',
@@ -94,14 +106,19 @@
       title: '鍦ㄧ嚎瀛︿範',
       icon: 'exam'
     },
+    alwaysShow: true,
     children: [
       {
-        path: 'video/type',
-        component: () => import('@/views/onlineStudy/video/type'),
-        name: 'VideoType',
-        meta: {
-          title: '瑙嗛鍒嗙被', noCache: true
-        }
+        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 }
       }
     ]
   },
@@ -157,6 +174,12 @@
         component: () => import('@/views/exam/personalRandomTemplate/list'),
         name: 'personalSimulation',
         meta: { title: '闅忔満璇曞嵎', noCache: true }
+      },
+      {
+        path: 'personalRandomTemplate/config',
+        component: () => import('@/views/exam/personalRandomTemplate/config'),
+        name: 'personalSimulationConfig',
+        meta: { title: '闅忔満璇曞嵎閰嶇疆', noCache: true }
       },
       {
         path: 'personalRandomTemplate/edit',
@@ -291,13 +314,19 @@
         path: 'list',
         component: () => import('@/views/answer/list'),
         name: 'AnswerPageList',
-        meta: { title: '绛斿嵎鍒楄〃', noCache: true }
+        meta: { title: '绛斿嵎璁板綍', noCache: true }
       },
       {
         path: 'sheetStatistics',
         component: () => import('@/views/answer/sheetStatistics.vue'),
         name: 'AnswerPageList',
-        meta: { title: '绛斿嵎缁熻', noCache: true }
+        meta: { title: '鍒嗘暟缁熻', noCache: true }
+      },
+      {
+        path: 'dataStatistics',
+        component: () => import('@/views/answer/dataStatistics.vue'),
+        name: 'AnswerPageList',
+        meta: { title: '鍒嗘暟缁熻(鍏�)', noCache: true }
       },
       {
         path: 'achievementStatistics',
@@ -441,7 +470,7 @@
   {
     path: '/',
     component: Layout,
-    redirect: '/dashboard',
+    redirect: '/login',
     children: [
       {
         path: 'dashboard',
@@ -452,6 +481,36 @@
     ]
   },
   {
+    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: 'departmentExamine/list',
+        component: () => import('@/views/user/departmentExamine/list'),
+        name: 'departmentExamineList',
+        meta: { title: '璋冨姩鎻愬璁板綍', noCache: true }
+      },
+      {
+        path: 'UserConditionExamine/list',
+        component: () => import('@/views/user/UserConditionExamine/list'),
+        name: 'UserConditionExamineList',
+        meta: { title: '鐘舵�佹彁瀹¤褰�', noCache: true }
+      },
+    ]
+  },
+  {
     path: '/exam',
     component: Layout,
     name: 'ExamPage',
@@ -459,7 +518,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'),
@@ -504,7 +577,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