From 584639ff10570352e8f6886ca91ae6342cf6b805 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 29 Jul 2021 12:01:52 +0800
Subject: [PATCH] 考试问题修复
---
src/router/views/index.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index c142848..99a5b67 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -647,5 +647,60 @@
component: () =>
import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
}]
- }
-]
\ No newline at end of file
+ },
+ {
+ path: '/applyexam',
+ redirect: '/applyexam/index',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '报名考试',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/applyexam/index')
+ }]
+ },
+ {
+ path: '/startexam',
+ redirect: '/startexam/index',
+ component: Layout,
+ children: [{
+ path: 'index',
+ name: '开始考试',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/startexam/index')
+ }]
+ },
+ {
+ path: '/titleDetails',
+ component: () =>
+ import( /* webpackChunkName: "views" */ '@/views/exam/topicDetails')
+ },
+ {
+ path: '',
+ component: Layout,
+ children: [{
+ path: '/exam/subjects/:id',
+ component: () => import('@/views/exam/examSubjects'),
+ name: '题目管理',
+ title: '题目管理',
+ noCache: true
+ }]
+ },
+ {
+ path: '',
+ component: Layout,
+ children: [{
+ path: '/startexam/:id',
+ component: () => import('@/views/startexam/index'),
+ name: '开始考试',
+ title: '开始考试',
+ noCache: true
+ }]
+ },
+]
--
Gitblit v1.9.3