


// 视图组件
const view = {
  tabs: () => import('@/layouts/tabs'),
  blank: () => import('@/layouts/BlankView'),
  page: () => import('@/layouts/PageView')
}


// 路由组件注册
const BasePermissionRouterMap = {
  BasePermission: {
    name: '权限管理',
    icon: 'idcard',
    component: view.page,
    meta: {
      invisible: true,
    },
    authority: {
      permission: [],
    }
  },
  BasePermissionList: {
    name: '权限管理',
    icon: 'idcard',
    path: '/BasePermission/BasePermissionList',
    component: () => import('@/pages/Middle/Base/BasePermission/list'),
    meta: {
      invisible: true,
    },
    authority: {
      permission: [],
    }
  },
  BasePermissionAdd: {
    name: '权限管理',
    icon: 'idcard',
    path: '/BasePermission/BasePermissionAdd',
    component: () => import('@/pages/Middle/Base/BasePermission/edit'),
    meta: {
      invisible: true,
    },
    authority: {
      permission: [],
    }
  },
  BasePermissionUpdate: {
    name: '权限管理',
    icon: 'idcard',
    path: '/BasePermission/BasePermissionUpdate/:id',
    component: () => import('@/pages/Middle/Base/BasePermission/edit'),
    meta: {
      invisible: true,
    },
    authority: {
      permission: [],
    }
  },
  BasePermissionDetail: {
    meta: {
      invisible: true,
    },
  }


}

export default BasePermissionRouterMap