From 6a99341341912b65a7cbfaaad79c15bec1fb9368 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期六, 08 四月 2023 23:32:43 +0800 Subject: [PATCH] 修改了index.js --- ruoyi-ui/src/router/index.js | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 72 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 3281ddb..d4f2436 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -57,6 +57,11 @@ hidden: true }, { + path: '/tmps', + component: () => import('@/views/tmp'), + hidden: true + }, + { path: '/401', component: () => import('@/views/error/401'), hidden: true @@ -72,9 +77,9 @@ name: 'Index', meta: { title: '棣栭〉', icon: 'dashboard', affix: true } } + ] }, - { path: '/user', component: Layout, @@ -107,6 +112,72 @@ } ] }, + { + path: '/family/note1', + component: Layout, + permissions: ['family:note:list'], + + hidden: true, + children: [ + { + path: 'propertyInfo/:id(\\d+)', + component: () => import('@/views/note/propertylnfo'), + name: 'propertyInfo', + meta: { title: '鏌ヨ璇︽儏'} + } + ] + }, +//瀹跺ぇ浜嬭鐨勮鎯� + { + path: '/family1/bignote', + component: Layout, + // permissions: [], + permissions: ['family1:bignote:list'], + hidden: true, + children: [ + { + path: 'familyeventInfo/:id(\\d+)', + component: () => import('@/views/bignote/familyeventInfo'), + name: 'familyeventInfo', + meta: { title: '鏌ヨ璇︽儏'} + } + ] + }, + //瀹跺涵璁惧璇︽儏椤� + { + path: '/jiatingshebei/device', + component: Layout, + // permissions: [], + permissions: ['jiatingshebei:device:list'], + hidden: true, + children: [ + { + path: 'equipmentInfo/:id(\\d+)', + component: () => import('@/views/device/equipmentInfo'), + name: 'equipmentInfo', + meta: { title: '鏌ヨ璇︽儏'} + } + ] + }, + + + //缂栬緫涓汉淇℃伅 + { + path: '/self/user', + component: Layout, + permissions: ['self:self:list'], + + hidden: true, + children: [ + { + path: 'edit/:id(\\d+)', + component: () => import('@/views/self/edit'), + name: 'edit', + meta: { title: '缂栬緫'} + } + ] + }, + { path: '/system/role-auth', component: Layout, -- Gitblit v1.9.1