const router = {
  path: '/management',
  name: 'Management',
  redirect: '/management/account',
  meta: { title: '基础管理', icon: 'basic' },
  component: () => import('@/components/Layout'),
  showMenu: false,
  children: [
    {
      name: 'OrganizationManagement',
      path: '/management/organization',
      meta: { title: '组织管理' },
      component: () => import('@/views/management/organization')
    },
    {
      name: 'UserManagement',
      path: '/management/account',
      meta: { title: '账号管理' },
      component: () => import('@/views/management/account')
    },
    {
      name: 'CarCardManagement',
      path: '/management/car-card',
      meta: { title: '车卡管理' },
      component: () => import('@/views/management/car-card')
    },
    {
      name: 'CarInfoManagement',
      path: '/management/car-info',
      meta: { title: '车辆管理' },
      component: () => import('@/views/management/car-info')
    },
    {
      name: 'AgreementManagement',
      path: '/management/agreement',
      meta: { title: '协议管理' },
      component: () => import('@/views/management/agreement')
    }
  ]
}

export default router
