From 6f87c0bcb9dd11bcef2370e3262cf803b76ed39c Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 12 四月 2022 18:12:20 +0800
Subject: [PATCH] 其他业务

---
 src/router/router.js |  168 ++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 138 insertions(+), 30 deletions(-)

diff --git a/src/router/router.js b/src/router/router.js
index 6a6f998..921c5e0 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -1,52 +1,160 @@
-import main from '@/pages/common/Home.vue'
+// import main from "@/pages/common/Home.vue";
 import showHome from "../pages/show/main/showHome";
 import jiuyeAndChuangye from "../pages/show/jiuyeAndChuangye/jiuyeAndChuangye";
 import shehuiBaozhang from "../pages/show/shehuiBaozhang/shehuiBaozhang";
+import OtherBusiness from '../pages/show/otherBusiness/OtherBusiness'
+
 const indexRouter = {
-  path: '/',
-  name: 'index',
+  path: "/",
+  name: "index",
   component: showHome,
-  redirect: '/index',
+  redirect: "/index",
   children: [
-    { path: '/index', meta: { title: '澶у睆棣栭〉' }, name: 'index', component: () => import('@/pages/show/index/index.vue')},
-    { path: '/jiuyeAndChuangye',
+    {
+      path: "/index",
+      meta: {title: "澶у睆棣栭〉"},
+      name: "index",
+      component: () => import("@/pages/show/index/index.vue")
+    },
+    {
+      path: "/jiuyeAndChuangye",
       component: jiuyeAndChuangye,
-      redirect: '/workStatistics',
-      name: 'jiuyeAndChuangye',
+      redirect: "/workStatistics",
+      name: "jiuyeAndChuangye",
       children: [
-        { path: '/workStatistics', meta: {title: '灏变笟鍒涗笟'}, name: 'workStatistics',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue')},
-        { path: '/chuangyeDanbaoDaikuan', meta: {title: '鍒涗笟鎷呬繚璐锋'}, name: 'chuangyeDanbaoDaikuan',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue')},
-        { path: '/jiuyeQingkuang', meta: {title: '灏变笟鎯呭喌'}, name: 'jiuyeQingkuang',  component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue')},
+        {
+          path: "/workStatistics",
+          meta: {title: "灏变笟鍒涗笟"},
+          name: "workStatistics",
+          component: () =>
+            import(
+              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue"
+              )
+        },
+        {
+          path: "/chuangyeDanbaoDaikuan",
+          meta: {title: "鍒涗笟鎷呬繚璐锋"},
+          name: "chuangyeDanbaoDaikuan",
+          component: () =>
+            import(
+              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue"
+              )
+        },
+        {
+          path: "/jiuyeQingkuang",
+          meta: {title: "灏变笟鎯呭喌"},
+          name: "jiuyeQingkuang",
+          component: () =>
+            import(
+              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue"
+              )
+        },
+        {
+          path: "/biyeshengStatistics",
+          meta: {title: "姣曚笟鐢熺粺璁�"},
+          name: "biyeshengStatistics",
+          component: () =>
+            import(
+              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/biyeshengStatistics.vue"
+              )
+        },
+        {
+          path: "/zhiyePeixun",
+          meta: {title: "鑱屼笟鍩硅"},
+          name: "zhiyePeixun",
+          component: () =>
+            import(
+              "@/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue"
+              )
+        }
       ]
     },
     {
-      path: '/shehuiBaozhang',
+      path: "/shehuiBaozhang",
       component: shehuiBaozhang,
-      redirect: '/shehuiBaoxian',
-      name: 'shehuiBaozhang',
+      redirect: "/shehuiBaoxian",
+      name: "shehuiBaozhang",
       children: [
-        { path: '/shehuiBaoxian', meta: {title:'绀句細淇濋殰'}, name: 'shehuiBaoxian', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue')},
-        { path: '/shebaoShouzhiZongbiao', meta: {title:'绀句繚鏀舵敮鎬昏〃'}, name: 'shebaoShouzhiZongbiao', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue')},
+        {
+          path: "/shehuiBaoxian",
+          meta: {title: "绀句細淇濋殰"},
+          name: "shehuiBaoxian",
+          component: () =>
+            import(
+              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue"
+              )
+        },
+        {
+          path: "/shebaoShouzhiZongbiao",
+          meta: {title: "绀句繚鏀舵敮鎬昏〃"},
+          name: "shebaoShouzhiZongbiao",
+          component: () =>
+            import(
+              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue"
+              )
+        },
+        {
+          path: "/qiyezhigongShebao",
+          meta: { title: "浼佷笟鑱屽伐绀句繚" },
+          name: "qiyezhigongShebao",
+          component: () =>
+            import(
+              "@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/qiyezhigongShebao.vue"
+            )
+        }
       ]
+    },
+    {
+      path: "/otherBusiness",
+      component: OtherBusiness,
+      meta: {title: "鍏朵粬涓氬姟"},
+      redirect: "/otherB-PeopleJunShouRu",
+      name: "OtherBusiness",
+      children: [
+        {
+          path: "/otherB-PeopleJunShouRu",
+          meta: {title: "灞呮皯浜哄眳鏀跺叆銆佸彲鏀厤鏀跺叆"},
+          name: "otherB-PeopleJunShouRu",
+          component: () =>
+            import(
+              "@/pages/show/otherBusiness/otherBusinessChild/OtherB_PeopleJunShouRu.vue"
+              )
+        },
+        {
+          path: "/otherB-GongGuTuoPin",
+          meta: {title: "灞呮皯浜哄眳鏀跺叆銆佸彲鏀厤鏀跺叆"},
+          name: "otherB-GongGuTuoPin",
+          component: () =>
+            import(
+              "@/pages/show/otherBusiness/otherBusinessChild/OtherB_GongGuTuoPin.vue"
+              )
+        }
+      ]
+    },
+    {
+      path: "/businessPolicy",
+      meta: {title: "钀ュ晢鏀跨瓥"},
+      name: "businessPolicy",
+      component: () => import("@/pages/show/businessPolicy/BusinessPolicy")
     }
   ]
-}
+};
 const login = {
-  path: '/login',
-  component: () => import('@/pages/login.vue'),
+  path: "/login",
+  component: () => import("@/pages/login.vue"),
   meta: {
-    title: `鍚庡彴鐧婚檰`,
+    title: `鍚庡彴鐧婚檰`
   }
-}
-const NotFound = {
-  path: '/404',
-  component: () => import('@/error_pages/404.vue'),
-  meta: {
-    title: "404 | 鍟婂摝~ 浣犳墍璁块棶鐨勯〉闈笉瀛樺湪",
-  }
-}
+};
+// const NotFound = {
+//   path: "/404",
+//   component: () => import("@/error_pages/404.vue"),
+//   meta: {
+//     title: "404 | 鍟婂摝~ 浣犳墍璁块棶鐨勯〉闈笉瀛樺湪"
+//   }
+// };
 export const routers = [
   indexRouter,
-  login,
+  login
   // NotFound
-]
+];

--
Gitblit v1.9.1