From 85e31ab46cfa76de986e6084e7e4dfda35ac98e6 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 12 Aug 2021 10:44:55 +0800
Subject: [PATCH] 培训报名修改,路由修改
---
src/router/views/index.js | 110 +++++++++++++++++++++++++++++++++++--------------------
1 files changed, 70 insertions(+), 40 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index b83e368..dae37b2 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -237,6 +237,20 @@
}]
},
{
+ path: '/talk',
+ component: Layout,
+ redirect: '/talk/talk',
+ children: [{
+ path: 'index',
+ name: '心里咨询',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/talk/talk')
+ }]
+ },
+ {
path: '/workreport',
component: Layout,
redirect: '/workreport/workreport',
@@ -383,20 +397,21 @@
// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
// }]
// },
+ // {
+ // path: '/trainingRegistration',
+ // component: Layout,
+ // redirect: '/trainingRegistration/index',
+ // children: [{
+ // path: 'index',
+ // name: '保安培训报名管理',
+ // meta: {
+ // i18n: 'dict'
+ // },
+ // component: () =>
+ // import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+ // }]
+ // },
{
- path: '/trainingRegistration',
- component: Layout,
- redirect: '/trainingRegistration/index',
- children: [{
- path: 'index',
- name: '保安培训报名管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
- }]
- }, {
path: '/securityAnalysis',
component: Layout,
redirect: '/securityAnalysis/index',
@@ -646,20 +661,20 @@
// import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
// }]
// },
- {
- path: '/trainingRegistration',
- component: Layout,
- redirect: '/trainingRegistration/index',
- children: [{
- path: 'index',
- name: '保安培训报名',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
- }]
- },
+ // {
+ // path: '/trainingRegistration',
+ // component: Layout,
+ // redirect: '/trainingRegistration/index',
+ // children: [{
+ // path: 'index',
+ // name: '保安培训报名',
+ // meta: {
+ // i18n: 'dict'
+ // },
+ // component: () =>
+ // import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+ // }]
+ // },
{
path: '/trainExam',
component: Layout,
@@ -759,20 +774,21 @@
noCache: true
}]
},
+ // {
+ // path: '/traincompany',
+ // component: Layout,
+ // redirect: '/traincompany/index',
+ // children: [{
+ // path: 'index',
+ // name: '培训公司查询',
+ // meta: {
+ // i18n: 'dict'
+ // },
+ // component: () =>
+ // import ( /* webpackChunkName: "views" */ '@/views/traincompany/index')
+ // }]
+ // },
{
- path: '/traincompany',
- component: Layout,
- redirect: '/traincompany/index',
- children: [{
- path: 'index',
- name: '培训公司查询',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/traincompany/index')
- }]
- }, {
path: '/dispatchChildoperableSee',
component: Layout,
redirect: '/dispatchChildoperableSee/index',
@@ -839,5 +855,19 @@
component: () =>
import ( /* webpackChunkName: "views" */ '@/views/applydetailed/papers')
}]
+ },
+ {
+ path: '/exam',
+ redirect: '/exam/papers',
+ component: Layout,
+ children: [{
+ path: 'papers',
+ name: '保安证',
+ meta: {
+ i18n: 'index',
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/exam/papers')
+ }]
}
]
\ No newline at end of file
--
Gitblit v1.9.3