 


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

  
// 路由组件注册
const BaseCompanyRouterMap = {
  BaseCompany:{
    name: '公司管理',
    icon: 'idcard', 
    component: view.page,
    meta: { 
    },
    authority: {
      permission:[],
    }
  },
    BaseCompanyList:{
        name: '公司管理',
        icon: 'idcard',
        path: '/BaseCompany/BaseCompanyList',
        component: () => import('@/pages/Middle/Base/BaseCompany/list'),
        authority: {
          permission:[],
        }
    },
    BaseCompanyAdd:{
        name: '公司管理',
        icon: 'idcard',
        path: '/BaseCompany/BaseCompanyAdd',
        component: () => import('@/pages/Middle/Base/BaseCompany/edit'),
        meta: {
          invisible:true, 
        },
        authority: {
          permission:[],
        }
    },
    BaseCompanyUpdate:{
        name: '公司管理',
        icon: 'idcard',
        path: '/BaseCompany/BaseCompanyUpdate/:id',
        component: () => import('@/pages/Middle/Base/BaseCompany/edit'),
        meta: {
          invisible:true, 
        },
        authority: {
          permission:[],
        }
    },
    BaseCompanyDetail:{
      meta: {
        invisible:true, 
      },
    }
    
   
}

export default BaseCompanyRouterMap