/* Layout */
import Layout from '../../views/layout/Layout'
export const bmsRouters = [
  {
    path: 'busAdmin',
    component: Layout,
    name: 'BusAdmin',
    redirect: '/timeLimit',
    alwaysShow: true,
    meta: {
      title: '业务管理',
      icon: 'icon-setting', // 图标
      permission: ['/busAdmin']// 权限名称
    },
    children: [
      {
        path: '/timeLimit',
        component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'),
        name: 'TimeLimit',
        meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] }
      },
      {
        path: '/caseList',
        component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'),
        name: 'CaseList',
        meta: { title: '综合查询', icon: '', permission: ['/caseList'] }
      },
      {
        path: '/dictList',
        component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'),
        name: 'DictList',
        meta: { title: '字典管理', icon: '', permission: ['/dictList'] }
      },
      {
        path: '/caseType',
        component: () => import('@/views/busAdmin/caseType/listCaseType.vue'),
        name: 'CaseType',
        meta: { title: '事部件管理', icon: '', permission: ['/caseType'] }
      },
      {
        path: '/areaAdmin',
        component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'),
        name: 'AreaAdmin',
        meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] }
      }
    ]
  }
]
