From 6b9c521de6d552fe00e7e31076a5e06b7b7b0767 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 15 八月 2023 21:39:40 +0800 Subject: [PATCH] 修改 --- ruoyi-ui/src/router/index.js | 68 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index e75963b..fddc8d5 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -112,6 +112,7 @@ } ] }, + //瀹跺涵璧勪骇绠$悊 { path: '/familymodel/Property', component: Layout, @@ -125,6 +126,23 @@ component: () => import('@/views/note/propertyInfo'), name: 'propertyInfo', meta: { title: '瀹跺涵璧勪骇璇︾粏淇℃伅', activeMenu: '/familymodel/zfProperty' } + } + ] + }, + //瀹跺涵璧勪骇绠$悊澶囧繕鏈� + { + path: '/familymodel/Property', + component: Layout, + hidden: true, + permissions: ['familymodel:property:memo'], + + + children: [ + { + path: 'memo/:id(\\d+)', + component: () => import('@/views/note/memo'), + name: 'memo', + meta: { title: '瀹跺涵璧勪骇澶囧繕鏈�', activeMenu: '/familymodel/zfProperty' } } ] }, @@ -176,6 +194,23 @@ component: () => import('@/views/device/equipmentInfo'), name: 'equipmentInfo', meta: { title: '瀹跺涵璁惧璇︾粏淇℃伅',activeMenu: '/familymodel/zfDevice'} + } + ] + }, + //瀹跺涵璁惧澶囧繕鏈� + { + path: '/familymodel/Device', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:device:memo'], + + children: [ + { + path: 'memo/:id(\\d+)', + component: () => import('@/views/device/memo'), + name: 'memo', + meta: { title: '瀹跺涵璁惧澶囧繕鏈�',activeMenu: '/familymodel/zfDevice'} } ] }, @@ -424,7 +459,23 @@ } ] }, + //璐骇澶囧繕鏈� + { + path: '/self/selfeconomy', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['person:selfeconomy:memo'], + children: [ + { + path: 'memo/:id(\\d+)', + component: () => import('@/views/selfeconomy/memo'), + name: 'memo', + meta: { title: '璐骇澶囧繕鏈�',activeMenu: '/self/zProperty'} + } + ] + }, //鐧惧勾蹇冩効 { path: '/self/wish', @@ -459,6 +510,23 @@ } ] }, + //骞村害鍋ュ悍妫�鏌ユ姤鍛� + { + path: '/self/healthy', + component: Layout, + permissions: ['person:healthy:healthYear'], + + hidden: true, + children: [ + { + path: 'healthYear/:id(\\d+)', + component: () => import('@/views/healthy/healthYear'), + name: 'healthYear', + meta: { title: '骞村害鍋ュ悍鎶ュ憡'} + } + ] + }, + //钘忓績瀵嗚 { path: '/self/secret', -- Gitblit v1.9.1