From e20f3d2945acedf83676a0720821e9ec5c8f228e Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期六, 05 八月 2023 17:17:06 +0800
Subject: [PATCH] 个人自传完善新增按钮

---
 ruoyi-ui/src/router/index.js |   97 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 96 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index d48c6de..e7f75b4 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -325,7 +325,23 @@
         path: 'memo/:id(\\d+)',
         component: () => import('@/views/self/memo'),
         name: 'memo',
-        meta: { title: '涓汉璁颁簨鏈�',activeMenu: '/self/zSelfNote'}
+        meta: { title: '涓汉璁颁簨鏈�'}
+      }
+    ]
+  },
+  //涓汉璁颁簨鏈缁嗕俊鎭�
+  {
+    path: '/self/self',
+    component: Layout,
+    permissions: ['person:information:memoInfo'],
+
+    hidden: true,
+    children: [
+      {
+        path: 'memoInfo/:id(\\d+)',
+        component: () => import('@/views/self/memoInfo'),
+        name: 'memoInfo',
+        meta: { title: '涓汉璁颁簨鏈缁嗕俊鎭�'}
       }
     ]
   },
@@ -345,7 +361,52 @@
       }
     ]
   },
+  //淇敼鏃呮父
+  {
+    path: '/self/travel',
+    component: Layout,
+    permissions: ['person:travel:edit'],
 
+    hidden: true,
+    children: [
+      {
+        path: 'edit/:id(\\d+)',
+        component: () => import('@/views/travel/edit'),
+        name: 'edit',
+        meta: { title: '缂栬緫',activeMenu: '/geren/Ztravel'}
+      }
+    ]
+  },
+  //鏌ョ湅鏃呮父璇︽儏
+  {
+    path: '/self/travel',
+    component: Layout,
+    hidden: true,
+    permissions: ['person:travel:info'],
+    children: [
+      {
+        path: 'Info/:id',
+        component: () => import('@/views/travel/Info'),
+        name: 'show',
+        meta: { title: '鏌ョ湅璇︽儏',activeMenu: '/geren/Ztravel'}
+      }
+    ]
+  },
+  //鏌ョ湅鏃呮父缁忓巻璇︽儏
+  {
+    path: '/self/travel',
+    component: Layout,
+    hidden: true,
+    permissions: ['person:travelbase:info'],
+    children: [
+      {
+        path: 'travelInfo/:id',
+        component: () => import('@/views/travel/travelInfo'),
+        name: 'show',
+        meta: { title: '鏌ョ湅鏃呮父缁忓巻璇︽儏',activeMenu: '/geren/Ztravel'}
+      }
+    ]
+  },
   //涓汉璐骇
   {
     path: '/self/selfeconomy',
@@ -363,6 +424,7 @@
       }
     ]
   },
+
   //鐧惧勾蹇冩効
   {
     path: '/self/wish',
@@ -380,7 +442,40 @@
       }
     ]
   },
+  //鍋ュ悍淇濆仴
+  {
+    path: '/self/healthy',
+    component: Layout,
+    // permissions: [],
+    hidden: true,
+    permissions: ['person:health:info'],
 
+    children: [
+      {
+        path: 'healthyInfo/:id(\\d+)',
+        component: () => import('@/views/healthy/healthyInfo'),
+        name: 'healthyInfo',
+        meta: { title: '鍋ュ悍淇濆仴璇︽儏',activeMenu: '/self/zYear'}
+      }
+    ]
+  },
+  //钘忓績瀵嗚
+  {
+    path: '/self/secret',
+    component: Layout,
+    // permissions: [],
+    hidden: true,
+    permissions: ['person:secret:info'],
+
+    children: [
+      {
+        path: 'secretInfo/:id(\\d+)',
+        component: () => import('@/views/secret/secretInfo'),
+        name: 'secretInfo',
+        meta: { title: '闅愮璇︽儏',activeMenu: '/self/zsecret'}
+      }
+    ]
+  },
   {
     path: '/system/role-auth',
     component: Layout,

--
Gitblit v1.9.1