import Layout from '@/layout/index.vue'
export default [
  {
    path: '/system',
    component: Layout,
    redirect: '/system/user',
    name: 'System',
    title: '系统管理',
    meta: {
      title: '系统管理'
    },
    children: [
      {
        path: 'user',
        component: () => import('@/views/system-manage/user-manage/index.vue'),
        name: 'SystemUser',
        title: '用户管理',
        meta: {
          title: '用户管理'
        }
      },
      {
        path: 'role',
        component: () => import('@/views/system-manage/role-manage/index.vue'),
        name: 'SystemRole',
        title: '角色管理',
        meta: {
          title: '角色管理'
        }
      },
      {
        path: 'dept',
        component: () => import('@/views/system-manage/department-manage/index.vue'),
        name: 'SystemDept',
        title: '部门管理',
        meta: {
          title: '部门管理'
        }
      },
      {
        path: 'menu',
        component: () => import('@/views/system-manage/menu-manage/index.vue'),
        name: 'SystemMenu',
        title: '菜单管理',
        meta: {
          title: '菜单管理'
        }
      }
    ]
  }
]

