From 2f6217fcdb11c6e150861500cb99609bb0601854 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期一, 03 六月 2024 09:33:10 +0800
Subject: [PATCH] fix:列表宽度
---
src/router.js | 255 ++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 250 insertions(+), 5 deletions(-)
diff --git a/src/router.js b/src/router.js
index e1d6e9c..1709084 100644
--- a/src/router.js
+++ b/src/router.js
@@ -26,7 +26,7 @@
{
path: '/',
component: Layout,
- redirect: '/dashboard',
+ redirect: '/login',
children: [
{
path: 'dashboard',
@@ -70,6 +70,55 @@
name: 'UserAdminEdit',
meta: { title: '绠$悊鍛樼紪杈�', noCache: true, activeMenu: '/user/admin/list' },
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',
+ 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
+ }
+ ]
+ },
+ {
+ 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 }
}
]
},
@@ -130,7 +179,7 @@
path: 'personalRandomTemplate/edit',
component: () => import('@/views/exam/personalRandomTemplate/edit'),
name: 'personalSimulationEdit',
- meta: { title: '涓汉闅忔満妯℃澘缂栬緫', noCache: true, activeMenu: '/exam/personalRandomTemplate/list' },
+ meta: { title: '闅忔満璇曞嵎', noCache: true, activeMenu: '/exam/personalRandomTemplate/list' },
hidden: true
},
{
@@ -139,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',
@@ -253,13 +308,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',
@@ -272,6 +333,31 @@
component: () => import('@/views/exam/gradeDetails/list.vue'),
name: 'AnswerPageList',
meta: { title: '鎴愮哗缁熻璇︽儏', noCache: true, activeMenu: '/exam/gradeDetails/list' },
+ hidden: true
+ }
+ ]
+ },
+ {
+ 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
}
]
@@ -356,11 +442,170 @@
}
]
+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: '/login',
+ children: [
+ {
+ path: 'dashboard',
+ component: () => import('@/views/dashboard/index'),
+ name: 'Dashboard',
+ meta: { title: '涓婚〉', icon: 'home', affix: true }
+ }
+ ]
+ },
+ {
+ 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',
+ meta: {
+ 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'),
+ 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: '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
+ },
+ {
+ path: 'sheetStatistics',
+ component: () => import('@/views/answer/sheetStatistics.vue'),
+ name: 'AnswerPageList',
+ meta: { title: '鍒嗘暟缁熻', noCache: true }
+ },
+ ]
+ },
+ {
+ path: '/profile',
+ component: Layout,
+ 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 router = new Router({
routes: constantRoutes
})
export {
constantRoutes,
- router
+ router,
+ deptAdminRoutes
}
--
Gitblit v1.8.0