From b5a8a482a5eede229ffea6b8de6ba2b8f06ac0c4 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期日, 30 七月 2023 18:12:04 +0800 Subject: [PATCH] 除健康外,点击详情页可以获取对应数据 --- ruoyi-ui/src/router/index.js | 80 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index a840dff..d2e7fb3 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -329,6 +329,22 @@ } ] }, + //涓汉璁颁簨鏈缁嗕俊鎭� + { + 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: '涓汉璁颁簨鏈缁嗕俊鎭�'} + } + ] + }, //璇佷功銆佽祫璐� { path: '/self/honor', @@ -345,7 +361,37 @@ } ] }, + //淇敼鏃呮父 + { + 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/selfeconomy', @@ -363,6 +409,7 @@ } ] }, + //鐧惧勾蹇冩効 { path: '/self/wish', @@ -380,7 +427,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: ['self: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