/* Layout */
import Layout from '@/layout/Layout'
export const caseRouters = [{
  path: 'case',
  component: Layout,
  redirect: '/waitForCreate',
  name: 'Case',
  alwaysShow: true,
  meta: {
    title: '事件管理',
    icon: 'icon-config' // 图标
  },
  children: [
    {
      path: '/waitForCreate',
      name: 'WaitForCreate',
      component: () => import('@/views/caseManage/waitForCreate'),
      meta: { title: '待录事件', icon: '' }
    },
    {
      path: '/waitForHandle',
      name: 'WaitForHandle',
      component: () => import('@/views/caseManage/waitForHandle'),
      meta: { title: '待办事件', icon: '' }
    },
    {
      path: '/completedList',
      name: 'CompletedList',
      component: () => import('@/views/caseManage/completedList'),
      meta: { title: '已办事件', icon: '' }
    },
    {
      path: '/searchList',
      name: 'SearchList',
      component: () => import('@/views/caseManage/searchList'),
      meta: { title: '事件查询', icon: '' }
    },
    {
      path: '/delayApplyList',
      name: 'delayApplyList',
      component: () => import('@/views/caseManage/delayApplyList'),
      meta: { title: '延期申请', icon: '' }
    },
    {
      path: '/delayList',
      name: 'delayList',
      component: () => import('@/views/caseManage/delayList'),
      meta: { title: '延期查询', icon: '' }
    },
    {
      path: '/urgeList',
      name: 'urgeList',
      component: () => import('@/views/caseManage/urgeList'),
      meta: { title: '催办查询', icon: '' }
    },
    {
      path: '/caseManage',
      name: 'caseManage',
      component: () => import('@/views/caseManage/caseManage'),
      meta: { title: '事件管理', icon: '' }
    },
    {
      path: '/createCase',
      name: 'CreateCase',
      hidden: true,
      component: () => import('@/views/caseManage/createCase'),
      meta: { title: '新建事件', icon: '' }
    },
    {
      path: '/caseDetail/:id',
      name: 'caseDetail',
      hidden: true,
      component: () => import('@/views/caseManage/caseDetail'),
      meta: { title: '事件详情', icon: '' }
    }
  ]
}]
