From 79dbd2b855f1eec042cea128f16c8cab0779a2c2 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 26 七月 2024 18:03:35 +0800
Subject: [PATCH] 会议按钮
---
src/router.js | 178 ++++++++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 146 insertions(+), 32 deletions(-)
diff --git a/src/router.js b/src/router.js
index fd84032..8d90ad3 100644
--- a/src/router.js
+++ b/src/router.js
@@ -45,6 +45,27 @@
component: () => import('@/views/exam/exam/ExamManage'),
name: 'Exam',
meta: { title: '鑰冭瘯绠$悊', icon: 'exam', affix: true }
+ },
+ {
+ path: '/exam/mark/paper',
+ component: () => import('@/views/exam/exam/MarkPaper'),
+ name: 'MarkPaper',
+ meta: { title: '闃呭嵎', noCache: true },
+ hidden: true
+ },
+ {
+ path: '/exam/mark/paper/detail',
+ component: () => import('@/views/exam/exam/MarkPaperDetail'),
+ name: 'MarkPaperDetail',
+ meta: { title: '闃呭嵎璇︽儏', noCache: true },
+ hidden: true
+ },
+ {
+ path: '/exam/monitor',
+ component: () => import('@/views/exam/exam/monitor'),
+ name: 'monitor',
+ meta: { title: '鐩戞帶', noCache: true },
+ hidden: true
}
]
},
@@ -63,7 +84,7 @@
component: () => import('@/views/class-management/ClassStaff'),
name: 'Classes',
hidden: true,
- meta: { title: '鐝骇鎴愬憳绠$悊', icon: 'classes', affix: true }
+ meta: { title: '鐝骇鎴愬憳绠$悊', icon: 'classes' }
}
]
},
@@ -87,6 +108,19 @@
component: () => import('@/views/user/student/edit'),
name: 'UserStudentEdit',
meta: { title: '瀛︾敓缂栬緫', noCache: true, activeMenu: '/user/student/list' },
+ hidden: true
+ },
+ {
+ path: 'teacher/list',
+ component: () => import('@/views/user/teacher/list'),
+ name: 'UserTeacherPageList',
+ meta: { title: '鏁欏笀鍒楄〃', noCache: true }
+ },
+ {
+ path: 'teacher/edit',
+ component: () => import('@/views/user/teacher/edit'),
+ name: 'UserTeacherEdit',
+ meta: { title: '鏁欏笀缂栬緫', noCache: true, activeMenu: '/user/teacher/list' },
hidden: true
},
{
@@ -124,6 +158,13 @@
component: () => import('@/views/exam/paper/edit'),
name: 'ExamPaperEdit',
meta: { title: '璇曞嵎缂栬緫', noCache: true, activeMenu: '/exam/paper/list' },
+ hidden: true
+ },
+ {
+ path: 'paper/import',
+ component: () => import('@/views/exam/paper/import'),
+ name: 'ExamPaperImport',
+ meta: { title: '璇曞嵎瀵煎叆', noCache: true, activeMenu: '/exam/paper/list' },
hidden: true
},
{
@@ -166,33 +207,56 @@
name: 'shortAnswerPage',
meta: { title: '绠�绛旈缂栬緫', noCache: true, activeMenu: '/exam/question/list' },
hidden: true
+ },
+ {
+ path: 'question/edit/audio',
+ component: () => import('@/views/exam/question/edit/audio'),
+ name: 'audioPage',
+ meta: { title: '璇煶棰樼紪杈�', noCache: true, activeMenu: '/exam/question/list' },
+ hidden: true
+ },
+ {
+ path: 'question/edit/calculate',
+ component: () => import('@/views/exam/question/edit/calculate'),
+ name: 'audioPage',
+ meta: { title: '璁$畻棰樼紪杈�', noCache: true, activeMenu: '/exam/question/list' },
+ hidden: true
+ },
+ {
+ path: 'question/edit/analysis',
+ component: () => import('@/views/exam/question/edit/analysis'),
+ name: 'audioPage',
+ meta: { title: '鍒嗘瀽棰樼紪杈�', noCache: true, activeMenu: '/exam/question/list' },
+ hidden: true
}
]
},
{
- path: '/task',
+ path: '/train',
component: Layout,
- name: 'TaskPage',
+ name: 'TrainPage',
meta: {
- title: '浠诲姟绠$悊',
+ 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 }
+ component: () => import('@/views/train/index'),
+ name: 'TrainListPage',
+ meta: { title: '鍦ㄧ嚎鍩硅', noCache: true }
}
]
},
+
+ {
+ path: '/meet',
+ component: () => import('@/views/meet/index'),
+ meta: { title: '鍦ㄧ嚎鏁欏', noCache: true },
+ hidden: true
+ },
+
{
path: '/education',
component: Layout,
@@ -215,6 +279,18 @@
name: 'EducationSubjectEditPage',
meta: { title: '瀛︾缂栬緫', noCache: true, activeMenu: '/education/subject/list' },
hidden: true
+ },
+ {
+ path: 'resource/list',
+ component: () => import('@/views/education/resource/list'),
+ name: 'EducationResourcePage',
+ meta: { title: '鏁欏璧勬簮', noCache: true }
+ },
+ {
+ path: 'cheat/list',
+ component: () => import('@/views/education/cheat/list'),
+ name: 'EducationCheatPage',
+ meta: { title: '浣滃紛璁板綍', noCache: true }
}
]
},
@@ -229,37 +305,74 @@
alwaysShow: true,
children: [
{
- path: 'list',
+ path: 'answer-list',
component: () => import('@/views/answer/list'),
name: 'AnswerPageList',
meta: { title: '绛斿嵎鍒楄〃', noCache: true }
+ },
+ {
+ path: 'answer-info',
+ component: () => import('@/views/answer/info'),
+ name: 'answerList',
+ meta: { title: '绛斿嵎淇℃伅', noCache: true },
+ hidden: true
+ },
+ {
+ path: 'answer-detail',
+ component: () => import('@/views/answer/detail'),
+ name: 'answerDetail',
+ meta: { title: '绛斿嵎璇︽儏', noCache: true },
+ hidden: true
+ },
+ {
+ path: 'answer-user',
+ component: () => import('@/views/answer/user'),
+ name: 'AnswerPageList',
+ meta: { title: '绛斿嵎娆℃暟', noCache: true }
}
]
},
{
- path: '/message',
+ path: '/config',
component: Layout,
- name: 'MessagePage',
- meta: {
- title: '娑堟伅涓績',
- icon: 'message'
- },
- alwaysShow: true,
children: [
{
- path: 'list',
- component: () => import('@/views/message/list'),
- name: 'MessageListPage',
- meta: { title: '娑堟伅鍒楄〃', noCache: true }
- },
- {
- path: 'send',
- component: () => import('@/views/message/send'),
- name: 'MessageSendPage',
- meta: { title: '娑堟伅鍙戦��', noCache: true }
+ path: '/setting',
+ name: 'SysSetting',
+ meta: {
+ title: '绯荤粺閰嶇疆',
+ icon: 'answer',
+ affix: true
+ },
+ component: () => import('@/views/sys/SysSetting')
}
]
},
+
+ // {
+ // path: '/message',
+ // component: Layout,
+ // name: 'MessagePage',
+ // meta: {
+ // title: '娑堟伅涓績',
+ // icon: 'message'
+ // },
+ // alwaysShow: true,
+ // children: [
+ // {
+ // path: 'list',
+ // component: () => import('@/views/message/list'),
+ // name: 'MessageListPage',
+ // meta: { title: '娑堟伅鍒楄〃', noCache: true }
+ // },
+ // {
+ // path: 'send',
+ // component: () => import('@/views/message/send'),
+ // name: 'MessageSendPage',
+ // meta: { title: '娑堟伅鍙戦��', noCache: true }
+ // }
+ // ]
+ // },
{
path: '/log',
component: Layout,
@@ -291,7 +404,8 @@
}
]
},
- { path: '*',
+ {
+ path: '*',
hidden: true,
component: () => import('@/views/error-page/404'),
meta: { title: '404', noCache: true }
--
Gitblit v1.8.0