feige
2023-04-08 6a99341341912b65a7cbfaaad79c15bec1fb9368
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,9 +77,9 @@
        name: 'Index',
        meta: { title: '首页', icon: 'dashboard', affix: true }
      }
    ]
  },
  {
    path: '/user',
    component: Layout,
@@ -107,6 +112,72 @@
      }
    ]
  },
    {
    path: '/family/note1',
    component: Layout,
    permissions: ['family:note:list'],
    hidden: true,
    children: [
      {
        path: 'propertyInfo/:id(\\d+)',
        component: () => import('@/views/note/propertylnfo'),
        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,