From b012ab3a1e5495be068c543eb8f0482124db13b5 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 31 十二月 2022 16:48:22 +0800
Subject: [PATCH] 1.登录页文字跟随系统变化
---
src/router/index.js | 61 ++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 1 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 3773548..db1d8c5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -101,13 +101,29 @@
// { path: '*', redirect: '/404', hidden: true }
]
export const asyncRoutes = [
+ // {
+ // path: '/gtt',
+ // component: Layout,
+ // redirect: '/gtt/back',
+ // name: '鍩虹璁剧疆',
+ // code: '1001',
+ // meta: { code: '1001', title: '鍩虹璁剧疆', icon: 'tree' },
+ // alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+ // children: [{
+ // path: 'back',
+ // name: 'YYQDCancel',
+ // code: '1011',
+ // component: () => import('@/views/gantt_back/gantt_back'),
+ // meta: { code: '1011', title: '鐢ㄦ埛娓呭崟', icon: '', keepAlive: true }
+ // }]
+ // },
{
path: '/jcsz',
component: Layout,
redirect: '/jcsz/zzjg',
name: '鍩虹璁剧疆',
code: '1001',
- meta: { code: '1001', title: '鍩虹璁剧疆', icon: 'tree' },
+ meta: { code: '1001', title: '鍩虹璁剧疆', icon: 'tree2' },
alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
children: [
{
@@ -219,6 +235,13 @@
code: '1028',
component: () => import('@/views/sbgl/byjl'),
meta: { code: '1028', title: '淇濆吇璁板綍', icon: '', keepAlive: true }
+ },
+ {
+ path: 'wxjl',
+ name: 'WXJLCancel',
+ code: '1029',
+ component: () => import('@/views/sbgl/wxjl'),
+ meta: { code: '1029', title: '璁惧缁翠慨璁板綍', icon: '', keepAlive: true }
}
]
},
@@ -439,6 +462,18 @@
code: '1074',
component: () => import('@/views/scgl/gdplgb'),
meta: { code: '1074', title: 'MES宸ュ崟鎵归噺鍏抽棴', icon: '', keepAlive: true }
+ }, {
+ path: 'cngh',
+ name: 'CNGHCancel',
+ code: '1075',
+ component: () => import('@/views/scgl/cngh'),
+ meta: { code: '1075', title: '浜ц兘瑙勫垝', icon: '', keepAlive: true }
+ }, {
+ path: 'zdpc',
+ name: 'ZDPCCancel',
+ code: '1076',
+ component: () => import('@/views/scgl/zdpc'),
+ meta: { code: '1076', title: '鑷姩鎺掔▼', icon: '', keepAlive: true }
}
]
},
@@ -549,6 +584,12 @@
code: '1095',
component: () => import('@/views/bbgl/wxmx'),
meta: { code: '1095', title: '缁翠慨鏄庣粏', icon: '', keepAlive: true }
+ }, {
+ path: 'adbb',
+ name: 'ADBBJCancel',
+ code: '1096',
+ component: () => import('@/views/bbgl/adbb'),
+ meta: { code: '1096', title: '瀹夌伅鎶ヨ〃', icon: '', keepAlive: true }
}
]
},
@@ -593,6 +634,24 @@
meta: { code: '1105', title: '杞﹂棿鍏憡', icon: '', keepAlive: true }
}
]
+ },
+ {
+ path: '/cggl',
+ component: Layout,
+ redirect: '/cggl/cgdd',
+ name: '閲囪喘绠$悊',
+ code: '1000',
+ meta: { code: '1000', title: '閲囪喘绠$悊', icon: 'cggl' },
+ alwaysShow: true,
+ children: [
+ {
+ path: 'cgdd',
+ name: 'CGDDCancel',
+ code: '1201',
+ component: () => import('@/views/cggl/cgdd'),
+ meta: { code: '1201', title: '閲囪喘璁㈠崟', icon: '', keepAlive: true }
+ }
+ ]
}
]
--
Gitblit v1.9.3