From afbf287f31db7e14f7fc890f2674f281fdbef3bd Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 13 Aug 2021 08:43:00 +0800
Subject: [PATCH] 报名考试修改

---
 src/router/views/index.js |  138 ++++++++++++++++++++++++++++------------------
 1 files changed, 84 insertions(+), 54 deletions(-)

diff --git a/src/router/views/index.js b/src/router/views/index.js
index b83e368..faf5dbb 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,34 +661,34 @@
     //             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: '/trainExam',
-        component: Layout,
-        redirect: '/trainExam/index',
-        children: [{
-            path: 'index',
-            name: '考试申请',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/trainExam/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,
+    //     redirect: '/trainExam/index',
+    //     children: [{
+    //         path: 'index',
+    //         name: '考试申请',
+    //         meta: {
+    //             i18n: 'dict'
+    //         },
+    //         component: () =>
+    //             import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
+    //     }]
+    // },
     // {
     //     path: '/applyexam',
     //     redirect: '/applyexam/index',
@@ -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