/* Layout */
import Layout from '../../views/layout/Layout'
export const cooRouters = [
  {
    path: 'coorBusiness',
    component: Layout,
    name: 'CoorBusniess',
    meta: {
      title: '协调业务管理',
      permission: ['/coorBusiness']
    },
    children: [
      {
        path: '/work',
        component: () => import('@/views/coorBusiness/work/index'),
        name: 'Work',
        meta: { title: '待办任务', icon: '', permission: '/work' }
      },
      {
        path: '/toRegister',
        component: () => import('@/views/coorBusiness/toRegister/index'),
        name: 'ToRegister',
        meta: { title: '待立案', icon: '', permission: '/toRegister' }
      },
      {
        path: '/preRegister',
        component: () => import('@/views/coorBusiness/preRegister/index'),
        name: 'PreRegister',
        meta: { title: '预立案', icon: '', permission: '/preRegister' }
      },
      {
        path: '/toDistribute',
        component: () => import('@/views/coorBusiness/toDistribute/index'),
        name: 'ToDistribute',
        meta: { title: '待派发', icon: '', permission: '/toDistribute' }
      },
      {
        path: '/preDistribute',
        component: () => import('@/views/coorBusiness/preDistribute/index'),
        name: 'PreDistribute',
        meta: { title: '预派发', icon: '', permission: '/preDistribute' }
      },
      {
        path: '/toAdjustInstruction',
        component: () => import('@/views/coorBusiness/toAdjustInstruction/index'),
        name: 'ToAdjustInstruction',
        meta: { title: '调整批示', icon: '', permission: '/toInstruction' }
      },
      {
        path: '/toHandle',
        component: () => import('@/views/coorBusiness/toHandle/index'),
        name: 'ToHandle',
        meta: { title: '待处理', icon: '', permission: '/toHandle' }
      },
      {
        path: '/toAdjust',
        component: () => import('@/views/coorBusiness/toAdjust/index'),
        name: 'ToAdjust',
        meta: { title: '待调整', icon: '', permission: '/toAdjust' }
      },
      {
        path: '/toFinish',
        component: () => import('@/views/coorBusiness/toFinish/index'),
        name: 'ToFinish',
        meta: { title: '待结案', icon: '', permission: '/toFinish' }
      },
      {
        path: '/handleAudit',
        component: () => import('@/views/coorBusiness/handleAudit/index'),
        name: 'HandleAudit',
        meta: { title: '处理审核', icon: '', permission: '/handleAudit' }
      },
      {
        path: '/toDeptAdjustInstruction',
        component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'),
        name: 'ToDeptAdjustInstruction',
        meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' }
      },
      {
        path: '/delayed',
        component: () => import('@/views/coorBusiness/delayed/index'),
        name: 'Delayed',
        meta: { title: '延期待处理', icon: '', permission: '/delayed' }
      },
      {
        path: '/postponed',
        component: () => import('@/views/coorBusiness/postponed/index'),
        name: 'Postponed',
        meta: { title: '缓办待处理', icon: '', permission: '/postponed' }
      },
      {
        path: '/toCheck',
        component: () => import('@/views/coorBusiness/toCheck/index'),
        name: 'ToCheck',
        meta: { title: '待核查', icon: '', permission: '/toCheck' }
      },
      {
        path: '/authorizationAudit',
        component: () => import('@/views/coorBusiness/authorizationAudit/index'),
        name: 'AuthorizationAudit',
        meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' }
      },
      {
        path: '/secIsPostpone',
        component: () => import('@/views/coorBusiness/secIsPostpone/index'),
        name: 'SecIsPostpone',
        meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' }
      },
      {
        path: '/deptAuthAudit',
        component: () => import('@/views/coorBusiness/deptAuthAudit/index'),
        name: 'DeptAuthAudit',
        meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' }
      },
      {
        path: '/secIsDelay',
        component: () => import('@/views/coorBusiness/secIsDelay/index'),
        name: 'SecIsDelay',
        meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' }
      },
      {
        path: '/completed',
        component: () => import('@/views/coorBusiness/completed/index'),
        name: 'Completed',
        meta: { title: '已办案卷', icon: '', permission: '/completed' }
      }
    ]
  },
  {
    path: '/searchAll',
    component: Layout,
    name: 'SearchAll',
    meta: {
      title: '综合查询',
      permission: ['/seo']
    },
    children: [
      {
        path: '/seo',
        component: () => import('@/views/seo/seo'),
        name: 'Seo',
        meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' }
      }
    ]
  },
  {
    path: '/supervise',
    component: Layout,
    name: 'Supervise',
    meta: {
      title: '案卷督办',
      permission: ['/supervise']
    },
    children: [
      {
        path: '/overtimeList',
        component: () => import('@/views/coorBusiness/work/index'),
        name: 'OvertimeList',
        meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' }
      },
      {
        path: '/criticalList',
        component: () => import('@/views/coorBusiness/work/index'),
        name: 'CriticalList',
        meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' }
      }
    ]
  }
]
