From 1191301d638cf52e4cb6cb9dbc9f06338fa81eab Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期一, 27 五月 2024 09:30:09 +0800
Subject: [PATCH] fix:用户修改 部门多选
---
src/router.js | 95 ++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 84 insertions(+), 11 deletions(-)
diff --git a/src/router.js b/src/router.js
index 6fb3e17..79a7290 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 }
}
]
},
@@ -291,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',
@@ -441,7 +464,7 @@
{
path: '/',
component: Layout,
- redirect: '/dashboard',
+ redirect: '/login',
children: [
{
path: 'dashboard',
@@ -452,6 +475,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 +512,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 +571,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