
import LayoutSimple from '../../layout/LayoutSimple'
export const mapRouters = [
  {
    path: '/marsMaps',
    name: 'marsMaps',
    redirect: '/map',
    hidden: true,
    meta: {
      title: '三维GIS',
      permission: ['/marsMaps'],
      isSys: true
    }
  },
  {
    path: '/map',
    component: LayoutSimple,
    redirect: '/mapLayer',
    name: 'Map',
    alwaysShow: true,
    meta: {
      title: '基础GIS地图',
      icon: 'icon-config', // 图标
      // permission: ['/map'], // 权限名称
      sys: '/marsMaps'
    },
    children: [
      {
        path: '/mapLayer',
        name: 'MapLayer',
        component: () => import('@/views/maps/mapOverview'),
        meta: { title: '基础地图1', icon: '' }
      },
      {
        path: '/mapLayer2',
        name: 'MapLayer2',
        component: () => import('@/views/maps/mapOverview'),
        meta: { title: '基础地图2', icon: '' }
      }
    ]
  }, {
    path: '/mapTopic',
    component: LayoutSimple,
    redirect: '/mapOverview',
    name: 'MapTopic',
    alwaysShow: true,
    meta: {
      title: '专题地图',
      icon: 'icon-config', // 图标
      // permission: ['/mapEdit'], // 权限名称
      sys: '/marsMaps'
    },
    children: [
      {
        path: '/mapOverview',
        name: 'MapOverview',
        component: () => import('@/views/maps/mapOverview'),
        meta: { title: '综合业务', icon: '' }
      }, {
        path: '/needTopic',
        name: 'NeedTopic',
        component: () => import('@/views/maps/needTopic'),
        meta: { title: '需求专题', icon: '' }
      }, {
        path: '/supplyTopic',
        name: 'SupplyTopic',
        component: () => import('@/views/maps/supplyTopic'),
        meta: { title: '供应专题', icon: '' }
      }, {
        path: '/storageTopic',
        name: 'StorageTopic',
        component: () => import('@/views/maps/storageTopic'),
        meta: { title: '储备专题', icon: '' }
      }, {
        path: '/weatherTopic',
        name: 'WeatherTopic',
        component: () => import('@/views/maps/weatherTopic'),
        meta: { title: '气象专题', icon: '' }
      }, {
        path: '/pipeTopic',
        name: 'PipeTopic',
        component: () => import('@/views/maps/pipeOverview'),
        meta: { title: '管网分布', icon: '' }
      }, {
        path: '/hcaTopic',
        name: 'hcaTopic',
        component: () => import('@/views/maps/highConsequenceArea'),
        meta: { title: '高后果区', icon: '' }
      }, {
        path: '/sinkTopic',
        name: 'SinkTopic',
        component: () => import('@/views/maps/sinkThreat'),
        meta: { title: '塌陷专题', icon: '' }
      }, {
        path: '/waterThreatTopic',
        name: 'WaterThreatTopic',
        component: () => import('@/views/maps/waterThreat'),
        meta: { title: '水保隐患专题', icon: '' }
      }, {
        path: '/constructionThreatTopic',
        name: 'ConstructionThreatTopic',
        component: () => import('@/views/maps/constructionThreat'),
        meta: { title: '第三方施工专题', icon: '' }
      }, {
        path: '/vipTopic',
        name: 'vipTopic',
        component: () => import('@/views/maps/vip'),
        meta: { title: '重点用户', icon: '' }
      }, {
        path: '/routeTopic',
        name: 'routeTopic',
        component: () => import('@/views/maps/routeTopic'),
        meta: { title: '巡线专题', icon: '' }
      }
    ]
  }
]
