back-stage-management.js 5.87 KB
const manageRouterMap = {
  path: '/manage',
  meta: {
    permissionPath: 'manage'
  },
  component: () => import('@/views/Management/manage'),
  // component: Management,
  children: [{
    path: 'usermanage',
    name: 'user_manage',
    meta: {
      permissionPath: 'usermanage'
    },
    component: () => import('@/views/Management/UserManage/userManage'),
    // component: UserManage
  }, {
    path: 'userinfomanage',
    name: 'user_info_manage',
    meta: {
      permissionPath: 'userinfomanage'
    },
    component: () => import('@/views/Management/PersonInfo/personalInfo'),
    // component: UserManage
  }, {
    path: 'blocmanage',
    name: 'bloc_manage',
    meta: {
      permissionPath: 'blocmanage'
    },
    component: () => import('@/views/Management/BlocManage/blocManage'),
    // component: BlocManage
  }, {
    path: 'devicestatus',
    name: 'device_status',
    meta: {
      permissionPath: 'devicestatus'
    },
    component: () => import('@/views/Management/DeviceStatus/deviceStatus'),
    // component: DeviceStatus
  },
  {
    path: 'deviceScreenshot',
    name: 'device_screenshot',
    meta: {
      permissionPath: 'deviceScreenshot'
    },
    component: () => import('@/views/Management/DeviceScreenshot/deviceScreenshot'),
    // component: DeviceStatus
  },
  {
    path: 'floormanage',
    name: 'floor_manage',
    meta: {
      permissionPath: 'floormanage'
    },
    component: () => import('@/views/Management/FloorManage/floorManage'),
    // component: FloorManage
  },
  {
    path: 'gatebind',
    name: 'gate_bind',
    meta: {
      permissionPath: 'gatebind'
    },
    component: () => import('@/views/Management/GateBind/gateBind'),
    // component: GateBind
  }, {
    path: 'gatemanage',
    name: 'gate_manage',
    meta: {
      permissionPath: 'gatemanage'
    },
    component: () => import('@/views/Management/GateManage/gateManage'),
    // component: GateManage
  }, {
    path: 'groupmanage',
    name: 'group_manage',
    meta: {
      permissionPath: 'groupmanage'
    },
    component: () => import('@/views/Management/GroupManage/groupManage'),
    // component: GroupManage
  }, {
    path: 'mallmanage',
    name: 'mall_manage',
    meta: {
      permissionPath: 'mallmanage'
    },
    component: () => import('@/views/Management/MallManage/mallManage'),
    // component: MallManage
  },
  {
    path: 'zoneManage',
    name: 'zone_manage',
    meta: {
      permissionPath: 'zonemanage'
    },
    component: () => import('@/views/Management/ZoneManage/zoneManage'),
    // component: ZoneManage
  },
  {
    path: 'personManage',
    name: 'person_manage',
    meta: {
      permissionPath: 'personmanage'
    },
    component: () => import('@/views/Management/PersonManage/index'),
    // component: ZoneManage
  },
  {
    path: 'personTypeManage',
    name: 'person_type_manage',
    meta: {
      permissionPath: 'personTypemanage'
    },
    component: () => import('@/views/Management/PersonTypeManage/index')
  },
  {
    path: 'clerkmanage',
    name: 'clerk_manage',
    meta: {
      permissionPath: 'clerkmanage'
    },
    component: () => import('@/views/Management/ClerkManage/clerkmanage'),
  },
  //  {
  //     path: 'clerkdata',
  //     name: 'clerkdata_manage',
  //     component: () => import('@/views/Management/ClerkdataManage/clerkData'),
  // }, 
  {
    path: 'holidaymanage',
    name: 'holiday_manage',
    meta: {
      permissionPath: 'holidaymanage'
    },
    component: () => import('@/views/Management/HolidayManage/holidayManage'),
  }, {
    path: 'actmanage',
    name: 'act_manage',
    meta: {
      permissionPath: 'actmanage'
    },
    component: () => import('@/views/Management/ActManage/actManage'),
  }, {
    path: 'formatmanage',
    name: 'format_manage',
    meta: {
      permissionPath: 'formatmanage'
    },
    component: () => import('@/views/Management/FormatManage/formatManage'),
  },
  {
    path: 'imgmanage',
    name: 'img_manage',
    meta: {
      permissionPath: 'imgmanage'
    },
    component: () => import('@/views/Management/imgManage/floorImgManage'),
  },
  {
    path: 'rolemanage',
    name: 'role_manage',
    meta: {
      permissionPath: 'rolemanage'
    },
    component: () => import('@/views/Management/RoleManage/roleManage'),
  },
  {
    path: 'menumanage',
    name: 'menu_manage',
    meta: {
      permissionPath: 'menumanage'
    },
    component: () => import('@/views/Management/MenuManage/menuManage'),
  },
  {
    path: 'devicesearch',
    name: 'device_search',
    meta: {
      permissionPath: 'devicesearch'
    },
    component: () => import('@/views/Management/DeviceSearch/device-search')
  },
  {
    path: 'deviceDataSearch',
    name: 'device_data_search',
    meta: {
      permissionPath: 'deviceDataSearch'
    },
    component: () => import('@/views/Management/DeviceDataSearch/device-data-search'),
  },
  {
    path: 'devicestate',
    name: 'device_state',
    meta: {
      permissionPath: 'devicestate'
    },
    component: () => import('@/views/Management/DeviceState/devicestate'),
  },
  {
    path: 'devicedata',
    name: 'device_data',
    meta: {
      permissionPath: 'devicedata'
    },
    component: () => import('@/views/Management/DeviceData/devicedata'),
  },
  {
    path: 'wechat',
    name: 'we_chat',
    meta: {
      permissionPath: 'wechat'
    },
    component: () => import('@/views/Management/WeChat/wechat'),
  },
  {
    path: 'loginlog',
    name: 'login_log',
    meta: {
      permissionPath: 'loginlog'
    },
    component: () => import('@/views/Management/LoginLog/loginlog'),
  },
  {
    path: 'alarmlog',
    name: 'alarm_log',
    meta: {
      permissionPath: 'alarmlog'
    },
    component: () => import('@/views/Management/AlarmLog/alarmlog'),
  },
  {
    path: 'videoplayer',
    name: 'video_player',
    meta: {
      permissionPath: 'videoplayer'
    },
    component: () => import('@/views/Management/VideoPlayer/videoplayer'),
  },
  ]
}

export default manageRouterMap