 


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

  
// 路由组件注册
const BaseAgentRouterMap = {
  BaseAgent:{
    name: '代理管理',
    icon: 'idcard', 
    component: view.page,
    meta: { 
    },
    authority: {
      permission:[],
    }
  },
    BaseAgentList:{
        name: '代理管理',
        icon: 'idcard',
        path: '/BaseAgent/BaseAgentList',
        component: () => import('@/pages/Middle/Base/BaseAgent/list'),
        authority: {
          permission:[],
        }
    },
    BaseAgentAdd:{
        name: '代理管理',
        icon: 'idcard',
        path: '/BaseAgent/BaseAgentAdd',
        component: () => import('@/pages/Middle/Base/BaseAgent/edit'),
        meta: {
          invisible:true, 
        },
        authority: {
          permission:[],
        }
    },
    BaseAgentUpdate:{
        name: '代理管理',
        icon: 'idcard',
        path: '/BaseAgent/BaseAgentUpdate/:id',
        component: () => import('@/pages/Middle/Base/BaseAgent/edit'),
        meta: {
          invisible:true, 
        },
        authority: {
          permission:[],
        }
    },
    BaseAgentDetail:{
      meta: {
        invisible:true, 
      },
    }
    
   
}

export default BaseAgentRouterMap