export default (file) => {
  // console.log(file);
  return map[file] || null
}
const map = {
  Layout: () => import('@/layout/index.vue'),
  Dashboard: () => import('@/views/currentSystem/dashboard/index.vue'), // 首页
  currentSystem: () => import('@/views/currentSystem/index.vue'), // 当前系统的路由
  Map: () => import('@/views/zhpt/index.vue'),
  // facilityEvaluation: () => import('@/views/facilityEvaluation/index.vue'), // 设施评价
  // funMap: () => import('@/views/currentSystem/map/funCom/index'),
  // 系统权限
  projectManage:()=>import('@/views/currentSystem/authorityManagement/projectManage/index.vue'),
  userManage: () => import('@/views/currentSystem/authorityManagement/userRights/index.vue'), // 用户管理
  roleManage: () => import('@/views/currentSystem/authorityManagement/rolePermission/index.vue'), // 角色管理
  journalManage: () => import('@/views/currentSystem/authorityManagement/journal/index.vue'), // 日志管理
  appManage: () => import('@/views/currentSystem/authorityManagement/APPV/index.vue'), // APP管理
  ModulesManage: () => import('@/views/currentSystem/authorityManagement/modulesManage/index.vue'), // 模块管理
  dataBackup: () => import('@/views/currentSystem/authorityManagement/dataBackup/index.vue'), // 数据备份
  metaDataManage: () => import('@/views/currentSystem/authorityManagement/metaManage/index.vue'), // 元数据管理
  departmentManage: () => import('@/views/currentSystem/authorityManagement/section/index.vue'), // 单位管理
  serviceManage: () => import('@/views/currentSystem/authorityManagement/serviceConfig/index.vue'), // 服务配置
  paramSetting: () => import('@/views/currentSystem/authorityManagement/paramSetting/index.vue'), // 参数配置
  dictManagement: () => import('@/views/currentSystem/authorityManagement/dictManagement/index.vue'), // 字典管理
  coveringSpecification: () => import('@/views/currentSystem/authorityManagement/coveringSpecification/index.vue'), // 覆土规范
  mobileDevice: () => import('@/views/currentSystem/authorityManagement/mobileDevice/index.vue') // 移动设备管理
}
