// 虹膜采集部分路由
/* Layout */
import Layout from '@/layout/Layout'

export const collectRouters = [
  {
    path: '/irisCollect',
    component: Layout,
    redirect: '/collectIris',
    name: 'IrisCollect',
    meta: {
      title: '虹膜采集',
      icon: 'icon-config', // 图标
      permission: ['/register']// 权限名称
    },
    children: [
      {
        path: '/collect',
        name: 'Collect',
        component: () => import('@/views/irisCollect/irisCollect'),
        meta: { title: '信息采集', icon: 'function', permission: ['/regInfo'] }
      },
      {
        path: '/collectAuto',
        name: 'CollectAuto',
        component: () => import('@/views/irisCollect/irisCollectAuto'),
        meta: { title: '信息采集-自动', icon: 'function', permission: ['/regInfoAuto'] }
      },
      {
        path: '/collectList',
        name: 'CollectList',
        component: () => import('@/views/irisCollect/collectList'),
        meta: { title: '人员采集列表', icon: 'function', permission: ['/regList'], keepAlive: true }
      },
      {
        path: '/collectRecords',
        name: 'CollectRecords',
        component: () => import('@/views/irisCollect/collectRecords'),
        meta: { title: '采集日志', icon: 'function', permission: ['/regHistory'], keepAlive: true }
      },
      {
        path: '/collectDetail/:id',
        name: 'CollectDetail',
        hidden: true,
        component: () => import('@/views/irisCollect/collectDetail'),
        meta: { title: '采集详情', icon: 'function', permission: ['/regDetail'] }
      },
      {
        path: '/collectDetailRecords/:id',
        name: 'CollectDetailRecords',
        hidden: true,
        component: () => import('@/views/irisCollect/collectDetailRecords'),
        meta: { title: '采集记录详情', icon: 'function', permission: ['/regDetail'] }
      },
      {
        path: '/collectEdit',
        name: 'CollectEdit',
        hidden: true,
        component: () => import('@/views/irisCollect/editCollect'),
        meta: { title: '编辑信息', icon: 'function', permission: ['/irisCollect/update'], keepAlive: true }
      },
      {
        path: '/listSpecial',
        name: 'ListSpecial',
        component: () => import('@/views/personSpecial/listSpecial'),
        meta: { title: '专题库', icon: 'function', permission: ['/personSpecial'], keepAlive: true }
      },
      {
        path: '/listPersonSpecial',
        name: 'ListPersonSpecial',
        hidden: true,
        component: () => import('@/views/personSpecial/listPersonSpecial'),
        meta: { title: '专题库人员列表', icon: 'function', permission: ['/listPersonSpecial'], keepAlive: true }
      }
    ]
  }
  // {
  //   path: '/doorManage',
  //   component: Layout,
  //   redirect: '/door',
  //   name: 'DoorManage',
  //   alwaysShow: true,
  //   meta: {
  //     title: '门禁管理',
  //     icon: 'icon-config', // 图标
  //     permission: ['/door']// 权限名称
  //   },
  //   children: [
  //     {
  //       path: '/listDoor',
  //       name: 'ListDoor',
  //       component: () => import('@/views/doorManage/listDoor'),
  //       meta: { title: '门禁列表', icon: 'function', permission: ['/door/listPage'] }
  //     },
  //     {
  //       path: '/doorControl',
  //       name: 'DoorControl',
  //       component: () => import('@/views/doorManage/listDoorControl'),
  //       meta: { title: '门禁控制', icon: 'function', permission: ['/door/control'] }
  //     }
  //   ]
  // },
  // {
  //   path: '/acsStrategy',
  //   component: Layout,
  //   redirect: '/strategy',
  //   name: 'AcsStrategy',
  //   meta: {
  //     title: '到访策略',
  //     icon: 'icon-config', // 图标
  //     permission: ['/acs_strategy']// 权限名称
  //   },
  //   children: [
  //     {
  //       path: '/strategy',
  //       name: 'Strategy',
  //       component: () => import('@/views/accessStrategy/listStrategy'),
  //       meta: { title: '到访策略', icon: 'function', permission: ['/acs_strategy'] }
  //     }
  //   ]
  // },
  // {
  //   path: 'query',
  //   component: Layout,
  //   redirect: '/querystaff',
  //   name: 'Query',
  //   alwaysShow: true,
  //   meta: {
  //     title: '数据查询',
  //     // icon: 'icon-config', // 图标
  //     permission: ['/query']// 权限名称
  //   },
  //   children: [
  //     {
  //       path: '/querystaff',
  //       component: () => import('@/views/query/queryStaff'), // Parent router-view
  //       name: 'StaffQuery',
  //       meta: { title: '员工数据查询', permission: ['/query/staff'] }
  //
  //     },
  //     {
  //       path: '/queryvisitor',
  //       component: () => import('@/views/query/queryVisitor'), // Parent router-view
  //       name: 'VisitorQuery',
  //       meta: { title: '访客数据查询', permission: ['/query/visitor'] }
  //
  //     }]
  // },
  // {
  //   path: 'dataStatics',
  //   component: Layout,
  //   redirect: '/statics',
  //   name: 'DataStatics',
  //   meta: {
  //     title: '数据统计',
  //     icon: 'icon-config', // 图标
  //     permission: ['/statistics']// 权限名称
  //   },
  //   children: [
  //     {
  //       path: '/statics',
  //       component: () => import('@/views/statistics/statistics'), // Parent router-view
  //       name: 'StaffQuery',
  //       meta: { title: '数据统计', permission: ['/statistics'] }
  //
  //     }]
  // }
]
