/* Layout */
import Layout from '@/layout/Layout'

export const bridgeRouters = [
  {
    path: 'bridge',
    component: Layout,
    redirect: '/yongSheng',
    name: 'Bridge',
    meta: {
      title: '桥梁管理',
      icon: 'icon-config', // 图标
      permission: ['/bridgeManage']// 权限名称
    },
    children: [
      {
        path: '/huangZhou',
        name: 'HuangZhou',
        component: () => import('@/views/bridge/huangZhou'),
        meta: { title: '黄洲桥', icon: 'function', permission: ['/huangZhou'] }
      },
      {
        path: '/chongRen',
        name: 'ChongRen',
        component: () => import('@/views/bridge/chongRen'),
        meta: { title: '崇仁大桥', icon: 'function', permission: ['/chongRen'] }
      },
      {
        path: '/yongSheng',
        name: 'YongSheng',
        component: () => import('@/views/bridge/yongSheng'),
        meta: { title: '永胜桥', icon: 'function', permission: ['/yongSheng'] }
      },
      {
        path: '/guangMing',
        name: 'GuangMing',
        component: () => import('@/views/bridge/guangMing'),
        meta: { title: '光明桥', icon: 'function', permission: ['/guangMing'] }
      }
    ]
  }
]
