From f18059d2968f7851e14444457d06323659820a78 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 25 四月 2023 17:52:02 +0800 Subject: [PATCH] 新增家庭收支台账 --- ruoyi-ui/src/router/index.js | 103 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 95 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index f9a1fb4..b92b663 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -113,33 +113,120 @@ ] }, { - path: '/family/note1', + path: '/familymodel/Property', component: Layout, - permissions: ['family:note:list'], - hidden: true, + permissions: ['familymodel:property:info'], + + children: [ { path: 'propertyInfo/:id(\\d+)', component: () => import('@/views/note/propertyInfo'), name: 'propertyInfo', - meta: { title: '鏌ヨ璇︽儏'} + meta: { title: '瀹跺涵璧勪骇鏌ヨ璇︽儏', activeMenu: '/familymodel/zfProperty' } } ] }, //瀹跺ぇ浜嬭鐨勮鎯� { - path: '/family1/bignote', + path: '/familymodel/bignote', component: Layout, // permissions: [], - permissions: ['family1:bignote:list'], hidden: true, + permissions: ['familymodel:bignote:list'], + children: [ { path: 'familyeventInfo/:id(\\d+)', component: () => import('@/views/bignote/familyeventInfo'), name: 'familyeventInfo', - meta: { title: '鏌ヨ璇︽儏'} + meta: { title: '瀹跺ぇ浜嬭鏌ヨ璇︽儏',activeMenu: '/familymodel/zfEvent'} + } + ] + }, + //閫氳褰曡鎯� + { + path: '/familymodel/Contact', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:contact:info'], + + children: [ + { + path: 'contactsInfo/:id(\\d+)', + component: () => import('@/views/contacts/contactsInfo'), + name: 'contactsInfo', + meta: { title: '閫氳褰曟煡璇㈣鎯�',activeMenu: '/familymodel/zfContact'} + } + ] + }, +//瀹跺涵璁惧 + { + path: '/familymodel/Device', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:device:info'], + + children: [ + { + path: 'equipmentInfo/:id(\\d+)', + component: () => import('@/views/device/equipmentInfo'), + name: 'equipmentInfo', + meta: { title: '瀹跺涵璁惧鏌ヨ璇︽儏',activeMenu: '/familymodel/zfDevice'} + } + ] + }, + //瀹跺涵鏀舵敮鍙拌处 + { + path: '/familymodel/economy', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:economy:info'], + + children: [ + { + path: 'economyInfo/:id(\\d+)', + component: () => import('@/views/economy/economyInfo'), + name: 'economyInfo', + meta: { title: '瀹跺涵鏀舵敮鍙拌处鏌ヨ璇︽儏',activeMenu: '/familymodel/zfEconomy'} + } + ] + }, + + //鏀惰棌鍜岃崳瑾� + { + path: '/familymodel/Collection', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:collection:info'], + + children: [ + { + path: 'collectionInfo/:id(\\d+)', + component: () => import('@/views/collection/collectionInfo'), + name: 'collectionInfo', + meta: { title: '鏀惰棌涓庤崳瑾夋煡璇㈣鎯�',activeMenu: '/familymodel/zfCollection'} + } + ] + }, + //瀹跺涵灏忓尰鐢� + { + path: '/familymodel/Doctor', + component: Layout, + // permissions: [], + hidden: true, + permissions: ['familymodel:doctor:info'], + children: [ + { + path: 'doctorInfo/:id(\\d+)', + component: () => import('@/views/doctor/doctorInfo'), + name: 'doctorInfo', + meta: { title: '灏卞尰璁板綍鏌ヨ璇︽儏',activeMenu: '/familymodel/zfDoctor'} } ] }, @@ -148,7 +235,7 @@ { path: '/self/self', component: Layout, - permissions: ['self:self:list'], + permissions: ['person:information:edit'], hidden: true, children: [ -- Gitblit v1.9.1