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 | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 1f34a9d..8b055f2 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -132,6 +132,7 @@ path: '/family1/bignote', component: Layout, // permissions: [], + permissions: ['family1:bignote:list'], hidden: true, children: [ { @@ -142,6 +143,39 @@ } ] }, + //瀹跺涵璁惧璇︽儏椤� + { + 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