From 90df755d258da3864af193b61ef94267dc540e10 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期六, 08 四月 2023 21:56:41 +0800 Subject: [PATCH] 新增家庭设备页面 --- ruoyi-ui/src/router/index.js | 70 +++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index b370bdd..8b055f2 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,6 +77,7 @@ name: 'Index', meta: { title: '棣栭〉', icon: 'dashboard', affix: true } } + ] }, { @@ -106,6 +112,70 @@ } ] }, + { + path: '/family/note1', + component: Layout, + permissions: ['family:note:list'], + + hidden: true, + children: [ + { + path: 'propertyInfo/:id(\\d+)', + component: () => import('@/views/note/propertyInfo'), + 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