From 3283fe1a1b37141e2db03752c35a42a8ad3e9be2 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期一, 25 三月 2024 18:09:44 +0800
Subject: [PATCH] 事前事后报备增加筛选条件

---
 src/router/index.js |   33 ++++++++++++++++++++++-----------
 1 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 292ae17..58389a7 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -51,13 +51,13 @@
     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: '/register',
@@ -77,7 +77,7 @@
   {
     path: '',
     component: Layout,
-    redirect: 'index',
+    redirect: 'screen',
     children: [
       {
         path: 'index',
@@ -87,13 +87,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