From c799d8d6df5ad52745ddb78bee571f4a7c8515b8 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期五, 08 四月 2022 18:15:34 +0800
Subject: [PATCH] login
---
src/router/router.js | 77 ++++++++++++++++++++------------------
1 files changed, 40 insertions(+), 37 deletions(-)
diff --git a/src/router/router.js b/src/router/router.js
index 984e3c0..6a6f998 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -3,47 +3,50 @@
import jiuyeAndChuangye from "../pages/show/jiuyeAndChuangye/jiuyeAndChuangye";
import shehuiBaozhang from "../pages/show/shehuiBaozhang/shehuiBaozhang";
const indexRouter = {
- path: '/',
- name: 'index',
- component: showHome,
- redirect: '/index',
- children: [
- { path: '/index', meta: { title: '澶у睆棣栭〉' }, name: 'index', component: () => import('@/pages/show/index/index.vue')},
- { path: '/jiuyeAndChuangye',
- component: jiuyeAndChuangye,
- redirect: '/workStatistics',
- name: 'jiuyeAndChuangye',
- children: [
- { path: '/workStatistics', meta: {title: '灏变笟鍒涗笟'}, name: 'workStatistics', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue')},
- ]
- },
- {
- path: '/shehuiBaozhang',
- component: shehuiBaozhang,
- redirect: '/shehuiBaoxian',
- name: 'shehuiBaozhang',
- children: [
- { path: '/shehuiBaoxian', meta: {title:'绀句細淇濋殰'}, name: 'shehuiBaoxian', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue')},
- ]
- }
- ]
+ path: '/',
+ name: 'index',
+ component: showHome,
+ redirect: '/index',
+ children: [
+ { path: '/index', meta: { title: '澶у睆棣栭〉' }, name: 'index', component: () => import('@/pages/show/index/index.vue')},
+ { path: '/jiuyeAndChuangye',
+ component: 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: '/shehuiBaozhang',
+ component: 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')},
+ ]
+ }
+ ]
}
const login = {
- path: '/login',
- component: () => import('@/pages/login.vue'),
- meta: {
- title: `鍚庡彴鐧婚檰`,
- }
+ path: '/login',
+ component: () => import('@/pages/login.vue'),
+ meta: {
+ title: `鍚庡彴鐧婚檰`,
+ }
}
const NotFound = {
- path: '/404',
- component: () => import('@/error_pages/404.vue'),
- meta: {
- title: "404 | 鍟婂摝~ 浣犳墍璁块棶鐨勯〉闈笉瀛樺湪",
- }
+ path: '/404',
+ component: () => import('@/error_pages/404.vue'),
+ meta: {
+ title: "404 | 鍟婂摝~ 浣犳墍璁块棶鐨勯〉闈笉瀛樺湪",
+ }
}
export const routers = [
- indexRouter,
- // login,
- // NotFound
+ indexRouter,
+ login,
+ // NotFound
]
--
Gitblit v1.9.1