From cadd054568cd4039ab157fe20b257a984845988f Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 17 五月 2024 19:11:36 +0800
Subject: [PATCH] 用户列表展示部门管理员、不查询状态异常的用户、学习类型删除
---
src/router.js | 61 ++++++++++++++++++++++++++----
1 files changed, 52 insertions(+), 9 deletions(-)
diff --git a/src/router.js b/src/router.js
index 039b408..23690a2 100644
--- a/src/router.js
+++ b/src/router.js
@@ -26,7 +26,7 @@
{
path: '/',
component: Layout,
- redirect: '/dashboard',
+ redirect: '/login',
children: [
{
path: 'dashboard',
@@ -100,14 +100,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 }
}
]
},
@@ -447,7 +452,7 @@
{
path: '/',
component: Layout,
- redirect: '/dashboard',
+ redirect: '/login',
children: [
{
path: 'dashboard',
@@ -458,6 +463,24 @@
]
},
{
+ 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: '/exam',
component: Layout,
name: 'ExamPage',
@@ -465,7 +488,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'),
@@ -510,7 +547,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