/* Layout */
import Layout from '../../layout/Layout'
export const suphandleRouters = [
  {
    path: '/suphandle',
    name: 'suphandle',
    redirect: '/accessDept',
    hidden: true,
    meta: {
      title: '监督受理子系统',
      permission: ['/suphandle'],
      isSys: true
    }
  },
  {
    path: '/callBus',
    component: Layout,
    redirect: '/callBus',
    name: 'CallBus',
    alwaysShow: true,
    meta: {
      title: '呼叫业务',
      permission: ['/callBus'],
      sys: '/suphandle'
    },
    children: [
      {
        path: '/callCase',
        component: () => import('@/views/callCase/callCase'),
        name: 'CallCase',
        meta: { title: '建立案卷', icon: '', belongSys: '', permission: '/callCase' }
      },
      {
        path: '/supWork',
        component: () => import('@/views/coorBusiness/work/index'),
        name: 'SupWork',
        meta: { title: '待办任务', icon: '', belongSys: '', permission: '/supWork' }
      },
      {
        path: '/supToVerify',
        component: () => import('@/views/coorBusiness/toVerify/index'),
        name: 'SupToVerify',
        meta: { title: '待核实', icon: '', belongSys: '', permission: '/supToVerify' }
      },
      {
        path: '/supToRegister',
        component: () => import('@/views/coorBusiness/toRegister/index'),
        name: 'SupToRegister',
        meta: { title: '待立案', icon: '', belongSys: '', permission: '/supToRegister' }
      },
      {
        path: '/supToCheck',
        component: () => import('@/views/coorBusiness/toCheck/index'),
        name: 'SupToCheck',
        meta: { title: '待核查', icon: '', belongSys: '', permission: '/supToCheck' }
      },
      {
        path: '/supCompleted',
        component: () => import('@/views/coorBusiness/completed/index'),
        name: 'SupCompleted',
        meta: { title: '已办案卷', icon: '', belongSys: '', permission: '/supCompleted' }
      }
    ]
  },
  {
    path: '/supSeo',
    component: Layout,
    redirect: '/supSeoList',
    name: 'SupSeo',
    alwaysShow: true,
    meta: {
      title: '综合查询',
      permission: ['/supSeo'],
      sys: '/suphandle'
    },
    children: [
      {
        path: '/supSeoList',
        component: () => import('@/views/seo/seo'),
        name: 'SupSeoList',
        meta: { title: '综合查询', icon: '', belongSys: '', permission: '/ListSupSeo' }
      }
    ]
  },
  {
    path: '/callSupervise',
    component: Layout,
    name: 'CallSupervise',
    redirect: '/overtimeList',
    meta: {
      title: '案卷督办',
      permission: ['/callSupervise'],
      sys: '/suphandle'
    },
    children: [
      {
        path: '/callSupervise/overtimeList',
        component: () => import('@/views/supervise/overtimeCase'),
        name: 'OvertimeList',
        meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' }
      },
      {
        path: '/callSupervise/criticalList',
        component: () => import('@/views/supervise/criticalCase'),
        name: 'CriticalList',
        meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' }
      }
    ]
  },
  {
    path: '/callUrge',
    component: Layout,
    alwaysShow: true,
    name: 'CallUrge',
    redirect: '/overtimeList',
    meta: {
      title: '案卷催办',
      permission: ['/callUrge'],
      sys: '/suphandle'
    },
    children: [
      {
        path: '/callUrge/overtimeList',
        component: () => import('@/views/supervise/overtimeCase'),
        name: 'OvertimeList',
        meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' }
      }
    ]
  }
]
