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 |   63 ++++++++++++++++++++++++-------
 1 files changed, 49 insertions(+), 14 deletions(-)

diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index b3ba839..d9d4c3e 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -113,59 +113,94 @@
     ]
   },
     {
-    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: '/jiatingshebei/device',
+    path: '/familymodel/Device',
     component: Layout,
     // permissions: [],
-    permissions: ['jiatingshebei:device:list'],
     hidden: true,
+    permissions: ['familymodel:device:info'],
+
     children: [
       {
         path: 'equipmentInfo/:id(\\d+)',
         component: () => import('@/views/device/equipmentInfo'),
         name: 'equipmentInfo',
-        meta: { title: '鏌ヨ璇︽儏'}
+        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/user',
+    path: '/self/self',
     component: Layout,
-    permissions: ['self:self:list'],
+    permissions: ['person:information:edit'],
 
     hidden: true,
     children: [

--
Gitblit v1.9.1