From 8e51e2713e358aade30db570b0cb8a4877022cf9 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 15 六月 2022 13:40:46 +0800
Subject: [PATCH] 1.递交
---
src/router/index.js | 79 +++++++++++++++++++++++++++++++++------
1 files changed, 66 insertions(+), 13 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 66962f9..fed8437 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -57,6 +57,7 @@
path: '/',
component: Layout,
redirect: '/index',
+ name: '绯荤粺棣栭〉',
children: [{
path: 'index',
name: 'index',
@@ -68,29 +69,69 @@
path: '/jcsz',
component: Layout,
redirect: '/jcsz/zzjg',
- name: 'jcsz',
+ name: '鍩虹璁剧疆',
meta: { title: '鍩虹璁剧疆', icon: 'el-icon-setting' },
children: [
{
path: 'zzjg',
- name: 'Table',
+ name: '缁勭粐鏋舵瀯',
component: () => import('@/views/jcsz/zzjg'),
meta: { title: '缁勭粐鏋舵瀯', icon: '' }
}, {
path: 'jsqd',
- name: 'jsqd',
+ name: '瑙掕壊娓呭崟',
component: () => import('@/views/jcsz/jsqd'),
meta: { title: '瑙掕壊娓呭崟', icon: '' }
}, {
path: 'yhqd',
- name: 'yhqd',
+ name: '鐢ㄦ埛娓呭崟',
component: () => import('@/views/jcsz/yhqd'),
meta: { title: '鐢ㄦ埛娓呭崟', icon: '' }
}, {
path: 'wldw',
- name: 'wldw',
+ name: '寰�鏉ュ崟浣�',
component: () => import('@/views/jcsz/wldw'),
meta: { title: '寰�鏉ュ崟浣�', icon: '' }
+ }
+ ]
+ }, {
+ path: '/sbgl',
+ component: Layout,
+ redirect: '/sbgl/sbqd',
+ name: '璁惧绠$悊',
+ meta: { title: '璁惧绠$悊', icon: 'el-icon-setting' },
+ children: [
+ {
+ path: 'sbqd',
+ name: '璁惧娓呭崟',
+ component: () => import('@/views/sbgl/sbqd'),
+ meta: { title: '璁惧娓呭崟', icon: '' }
+ }
+ // {
+ // path: 'sblxsz',
+ // name: '瑙掕壊娓呭崟',
+ // component: () => import('@/views/jcsz/jsqd'),
+ // meta: { title: '瑙掕壊娓呭崟', icon: '' }
+ // },
+ ]
+ }, {
+ path: '/wlgl',
+ component: Layout,
+ redirect: '/wlgl/ckdy',
+ name: '鐗╂枡绠$悊',
+ meta: { title: '鐗╂枡绠$悊', icon: 'el-icon-setting' },
+ children: [
+ {
+ path: 'ckdy',
+ name: '浠撳簱瀹氫箟',
+ component: () => import('@/views/wlgl/ckdy'),
+ meta: { title: '浠撳簱瀹氫箟', icon: '' }
+ },
+ {
+ path: 'kwdy',
+ name: '搴撲綅瀹氫箟',
+ component: () => import('@/views/wlgl/kwdy'),
+ meta: { title: '搴撲綅瀹氫箟', icon: '' }
}
]
},
@@ -98,23 +139,35 @@
path: '/zzmx',
component: Layout,
redirect: '/zzmx/gylx',
- name: 'zzmx',
+ name: '鍒堕�犳ā鍨�',
meta: { title: '鍒堕�犳ā鍨�', icon: 'el-icon-s-help' },
children: [
{
path: 'gylx',
- name: 'gylx',
+ name: '鍏泭璺嚎',
component: () => import('@/views/zzmx/gylx'),
- meta: { title: '鍏泭璺嚎', icon: 'table' }
+ meta: { title: '鍏泭璺嚎', icon: '' }
},
{
path: 'jpgj',
- name: 'jpgj',
+ name: '鑺傛媿宸ヤ环',
component: () => import('@/views/zzmx/jpgj'),
- meta: { title: '鑺傛媿宸ヤ环', icon: 'tree' }
+ meta: { title: '鑺傛媿宸ヤ环', icon: '' }
+ }, {
+ path: 'wllx',
+ name: '鐗╂枡绫诲瀷',
+ component: () => import('@/views/zzmx/wllx'),
+ meta: { title: '鐗╂枡绫诲瀷', icon: '' }
+ },
+ {
+ path: 'chda',
+ name: '瀛樿揣妗f',
+ component: () => import('@/views/zzmx/chda'),
+ meta: { title: '瀛樿揣妗f', icon: '' }
}
]
- }
+ },
+ { path: '*', redirect: '/404', hidden: true }
]
// export const constantRoutesxxxxxx = [
@@ -207,8 +260,8 @@
// ]
// },
//
-// // 404 page must be placed at the end !!!
-// { path: '*', redirect: '/404', hidden: true }
+// 404 page must be placed at the end !!!
+// , {path: '*', redirect: '/404', hidden: true}
// ]
const createRouter = () => new Router({
--
Gitblit v1.9.3