From 058c7c78326aaf9ff58e6bc63107dbfe50544e9e Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期六, 15 四月 2023 17:30:43 +0800 Subject: [PATCH] 主要新增了家庭小医生模块 --- ruoyi-ui/src/router/index.js | 83 ++++++++++++++++++++++++++++++++++++++--- 1 files changed, 77 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 1f34a9d..d9d4c3e 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -113,35 +113,106 @@ ] }, { - 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: [], 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/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'} + } + ] + }, + + //缂栬緫涓汉淇℃伅 + { + path: '/self/self', + component: Layout, + permissions: ['person:information:edit'], + + 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