From e999392baf3cd62beedc437203ccdd285b8cb036 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期四, 27 七月 2023 20:27:11 +0800 Subject: [PATCH] 旅游详细信息的跳转 --- ruoyi-ui/src/router/index.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 0e431bd..6c07950 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -361,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', @@ -397,7 +427,23 @@ } ] }, + //鍋ュ悍淇濆仴 + { + 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: '/system/role-auth', component: Layout, -- Gitblit v1.9.1