From 159fafce5c16df95e6782b60bd644b71701acd32 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 14 六月 2022 16:11:49 +0800
Subject: [PATCH] 1.页面可调用接口登录

---
 src/router/index.js |   73 ++++++++++++++++++++++++++++++++++++
 1 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 591df6c..66962f9 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -41,6 +41,79 @@
     path: '/404',
     component: () => import('@/views/404'),
     hidden: true
+  },
+  {
+    path: '/redirect',
+    component: Layout,
+    hidden: true,
+    children: [
+      {
+        path: '/redirect/:path(.*)',
+        component: () => import('@/views/redirect/index')
+      }
+    ]
+  },
+  {
+    path: '/',
+    component: Layout,
+    redirect: '/index',
+    children: [{
+      path: 'index',
+      name: 'index',
+      component: () => import('@/views/xtsy/index'),
+      meta: { title: '绯荤粺棣栭〉', icon: 'dashboard' }
+    }]
+  },
+  {
+    path: '/jcsz',
+    component: Layout,
+    redirect: '/jcsz/zzjg',
+    name: 'jcsz',
+    meta: { title: '鍩虹璁剧疆', icon: 'el-icon-setting' },
+    children: [
+      {
+        path: 'zzjg',
+        name: 'Table',
+        component: () => import('@/views/jcsz/zzjg'),
+        meta: { title: '缁勭粐鏋舵瀯', icon: '' }
+      }, {
+        path: 'jsqd',
+        name: 'jsqd',
+        component: () => import('@/views/jcsz/jsqd'),
+        meta: { title: '瑙掕壊娓呭崟', icon: '' }
+      }, {
+        path: 'yhqd',
+        name: 'yhqd',
+        component: () => import('@/views/jcsz/yhqd'),
+        meta: { title: '鐢ㄦ埛娓呭崟', icon: '' }
+      }, {
+        path: 'wldw',
+        name: 'wldw',
+        component: () => import('@/views/jcsz/wldw'),
+        meta: { title: '寰�鏉ュ崟浣�', icon: '' }
+      }
+    ]
+  },
+  {
+    path: '/zzmx',
+    component: Layout,
+    redirect: '/zzmx/gylx',
+    name: 'zzmx',
+    meta: { title: '鍒堕�犳ā鍨�', icon: 'el-icon-s-help' },
+    children: [
+      {
+        path: 'gylx',
+        name: 'gylx',
+        component: () => import('@/views/zzmx/gylx'),
+        meta: { title: '鍏泭璺嚎', icon: 'table' }
+      },
+      {
+        path: 'jpgj',
+        name: 'jpgj',
+        component: () => import('@/views/zzmx/jpgj'),
+        meta: { title: '鑺傛媿宸ヤ环', icon: 'tree' }
+      }
+    ]
   }
 ]
 

--
Gitblit v1.9.3