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 | 147 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 147 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 930ac12..d2e7fb3 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -313,7 +313,154 @@ } ] }, + //涓汉璁颁簨鏈� + { + path: '/self/self', + component: Layout, + permissions: ['person:information:memo'], + hidden: true, + children: [ + { + path: 'memo/:id(\\d+)', + component: () => import('@/views/self/memo'), + name: 'memo', + 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: '涓汉璁颁簨鏈缁嗕俊鎭�'} + } + ] + }, +//璇佷功銆佽祫璐� + { + path: '/self/honor', + component: Layout, + hidden: true, + permissions: ['self:honor:info'], + + children: [ + { + path: 'honorInfo/:id(\\d+)', + component: () => import('@/views/honor/honorInfo'), + name: 'honorInfo', + meta: { title: '鑽h獕璇佷功璇︽儏',activeMenu: '/self/zHonor'} + } + ] + }, + //淇敼鏃呮父 + { + 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', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['person:selfeconomy:info'], + + children: [ + { + path: 'selfeconomyInfo/:id(\\d+)', + component: () => import('@/views/selfeconomy/selfeconomyInfo'), + name: 'selfeconomyInfo', + meta: { title: '涓汉璐骇璇︽儏',activeMenu: '/self/zProperty'} + } + ] + }, + + //鐧惧勾蹇冩効 + { + path: '/self/wish', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['self:wish:info'], + + children: [ + { + path: 'wishInfo/:id(\\d+)', + component: () => import('@/views/wish/wishInfo'), + name: 'wishInfo', + meta: { title: '鐧惧勾蹇冩効璇︾粏淇℃伅',activeMenu: '/self/zIdea'} + } + ] + }, + //鍋ュ悍淇濆仴 + { + 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