/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

/**
 * 系统管理 路由
 */
const systemManagementRouter = {
  path: '/system-management',
  component: Layout,
  redirect: '/system-management/index',
  name: 'SystemManagement',
  meta: {
    title: '系统管理',
    icon: 'system-management'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/system-management/attachment-manage/attachment-manage'),
      name: 'AttachmentManage',
      meta: { title: '附件管理' }
    },
    {
      path: '/permission-manage',
      component: () => import('@/views/system-management/permission-manage/permission-manage'),
      name: 'PermissionManage',
      meta: { title: '权限管理' }
    }
  ]
}
export default systemManagementRouter
