From adbcf8cae1885a88d68079ef6df085aa19c858de Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期四, 25 五月 2023 17:15:57 +0800 Subject: [PATCH] 新增婚姻、隐私模块 --- ruoyi-ui/src/router/index.js | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index d70d2f4..d6089d5 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -179,6 +179,23 @@ } ] }, + //钘忓績瀵嗚 + { + 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: '/familymodel/economy', @@ -209,7 +226,7 @@ path: 'cleanInfo/:id(\\d+)', component: () => import('@/views/clean/cleanInfo'), name: 'cleanInfo', - meta: { title: '瀹跺涵鏀舵敮鍙拌处鏌ヨ璇︽儏',activeMenu: '/familymodel/zfClean'} + meta: { title: '淇濇磥鏀剁撼鏌ヨ璇︽儏',activeMenu: '/familymodel/zfClean'} } ] }, @@ -230,6 +247,7 @@ } ] }, + //榄呭疇璇︽儏 { path: '/familymodel/pet', @@ -263,6 +281,38 @@ } ] }, + //涓汉淇℃伅灞曠ず + { + path: '/familymodel/jiagenwang', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:jiagenwang:info'], + children: [ + { + path: 'personInfo/:id(\\d+)', + component: () => import('@/views/homeRoot/personInfo'), + name: 'personInfo', + meta: { title: '涓汉淇℃伅鏌ヨ璇︽儏',activeMenu: '/familymodel/jiagenwang'} + } + ] + }, + //瀹惰氨涓汉淇℃伅灞曠ず + { + path: '/familymodel/jiagenwang', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:jiagenwang:getPInfo'], + children: [ + { + path: 'getPInfo/:id(\\d+)', + component: () => import('@/views/genealogy/perInfo'), + name: 'perInfo', + meta: { title: '涓汉淇℃伅鏌ヨ璇︽儏',activeMenu: '/familymodel/jiagenwang'} + } + ] + }, //缂栬緫涓汉淇℃伅 { -- Gitblit v1.9.1