From c39e4cd7fcbbb5affa1a07d67fd00d0bef2e5c87 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 12 Aug 2021 09:01:41 +0800
Subject: [PATCH] 保安培训路由修改

---
 src/router/views/index.js |   55 ++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 42 insertions(+), 13 deletions(-)

diff --git a/src/router/views/index.js b/src/router/views/index.js
index b83e368..95db4d5 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',
@@ -759,20 +773,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 +854,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