 


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

  
// 路由组件注册
const BaseConfigRouterMap = {
  BaseConfig:{
    name: '项目管理',
    icon: 'idcard',
    component: view.page,
    meta: { 
    },
    authority: {
      permission:[],
    }
  },
  BaseConfigList:{
        name: '项目列表',
        icon: 'idcard', 
        path: '/BaseConfig/BaseConfigList',
        component: () => import('@/pages/Middle/Base/BaseConfig/list'),
        meta:{
          page:{ cacheAble:false}
        },
        authority: {
          permission:[],
        }
    },
    BaseConfigAdd:{
        name: '项目管理编辑',
        icon: 'idcard',
        path: '/BaseConfig/BaseConfigAdd',
        meta: {
          invisible:true, 
        },
        component: () => import('@/pages/Middle/Base/BaseConfig/edit'),
        authority: {
          permission:[],
        }
    },
    BaseConfigUpdate:{
        name: '项目管理编辑',
        icon: 'idcard',
        path: '/BaseConfig/BaseConfigUpdate/:id',
        meta: {
          invisible:true, 
        },
        component: () => import('@/pages/Middle/Base/BaseConfig/edit'),
        authority: {
          permission:[],
        }
    },
    BaseConfigDetail:{
      meta: {
        invisible:true, 
      },
    }
   
}

export default BaseConfigRouterMap