
import Layout from '../../layout/Layout'
export const geoRouters = [
  {
    path: '/geo',
    name: 'geo',
    redirect: '/addressSearch',
    hidden: true,
    meta: {
      title: '地理编码子系统',
      permission: ['/geo'],
      isSys: true
    }
  },
  {
    path: '/addressSearch',
    component: Layout,
    redirect: '/mapAddress',
    name: 'GeoMap',
    alwaysShow: true,
    meta: {
      title: '地址查询',
      icon: 'icon-config', // 图标
      permission: ['/addressSearch'], // 权限名称
      sys: '/geo'
    },
    children: [
      {
        path: '/mapAddress',
        name: 'MapAddress',
        component: () => import('@/views/baseSource/mapSearch'),
        meta: { title: '地图查询', icon: '', permission: ['/geoMapOverview'] }
      },
      {
        path: '/listSearch',
        name: 'ListSearch',
        component: () => import('@/views/geoCoding/address'),
        meta: { title: '列表查询', icon: '', permission: ['/geoList'] }
      }
    ]
  }
]
