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

export const dataUploadRouters = [
  {
    path: '/dataUpload',
    component: Layout,
    redirect: '/waitForUpload',
    name: 'DataUpload',
    meta: {
      title: '数据上传',
      icon: 'icon-config', // 图标
      permission: ['/dataUpload']// 权限名称
    },
    children: [
      {
        path: '/waitForUpload',
        name: 'WaitForUpload',
        component: () => import('@/views/dataUpload/dataUploadList'),
        meta: { title: '待上传', icon: 'function', permission: ['/upload/waitUploadList'], keepAlive: true }
      },
      {
        path: '/uploadRecords',
        name: 'UploadRecords',
        component: () => import('@/views/dataUpload/dataUploadRecords'),
        meta: { title: '上传记录', icon: 'function', permission: ['/upload/records'], keepAlive: true }
      },
      {
        path: '/uploadDetail',
        name: 'UploadDetail',
        hidden: true,
        component: () => import('@/views/dataUpload/uploadPersonDetail'),
        meta: { title: '上传详情', icon: 'function', permission: ['/upload/detail'] }
      }
    ]
  }
]
