From a5ba580dcafbdfc55b462df74c68ef5403b39332 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 25 四月 2024 18:03:56 +0800
Subject: [PATCH] fix:修改代理
---
src/router/index.js | 75 ++++++++++++++++++++++++++++++++-----
1 files changed, 64 insertions(+), 11 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 292ae17..b9f2252 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -51,13 +51,55 @@
component: Layout,
hidden: true,
children: [
- {
- path: 'index',
- name: 'vehicle-data-monitor',
- component: () => import('@/views/system/vehicle-data-monitor/index'),
- meta: { title: '杞﹁締杩囧崱鍙f暟鎹竴鑷存��', activeMenu: '/system/vehicle-data-monitor' }
- }
- ]
+ {
+ path: 'index',
+ name: 'vehicle-data-monitor',
+ component: () => import('@/views/system/vehicle-data-monitor/index'),
+ meta: { title: '杞﹁締杩囧崱鍙f暟鎹竴鑷存��', activeMenu: '/system/vehicle-data-monitor' }
+ }
+ ]
+ },
+ {
+ path: '/car/equipment',
+ component: Layout,
+ hidden: true,
+ children: [
+ {
+ path: 'index',
+ name: 'equipment',
+ component: () => import('@/views/system/equipment/index'),
+ meta: { title: '璧勪骇绠$悊', activeMenu: '/system/equipment' }
+ }
+ ]
+ },
+ {
+ path: '/check-result/contract',
+ component: Layout,
+ hidden: true,
+ children: [
+ {
+ path: 'detail',
+ name: 'check-result-contract',
+ component: () => import('@/views/system/result/default/detail'),
+ meta: { title: '鍚堝悓缁撴灉璇︽儏', activeMenu: '/system/check-result/contract' }
+ }
+ ]
+ },
+ {
+ path: '/check-result/city',
+ component: Layout,
+ hidden: true,
+ children: [
+
+ ]
+ },
+ {
+ path: '/check-result/province',
+ component: Layout,
+ hidden: true,
+ children: [
+
+ ]
},
{
path: '/register',
@@ -77,7 +119,7 @@
{
path: '',
component: Layout,
- redirect: 'index',
+ redirect: 'screen',
children: [
{
path: 'index',
@@ -87,13 +129,24 @@
}
]
},
+
+ // {
+ // path: '',
+ // component: Layout,
+ // redirect: 'index',
+ // children: [
+ // {
+ // path: 'index',
+ // component: () => import('@/views/index'),
+ // name: 'Index',
+ // meta: { title: '棣栭〉', icon: 'dashboard', affix: true }
+ // }
+ // ]
+ // },
{
path: '/screen',
- component: Layout,
hidden: true,
component: () => import('@/views/screen/index'),
- name: 'Profile',
- meta: { title: '澶у睆淇℃伅', icon: 'user' }
},
{
path: '/user',
--
Gitblit v1.8.0