export default {
  // 自然人实名认证: 车卡信息录入
  OrganizationManagement: {
    api: ['/organ/pageList'],
    resource: [
      { id: 'OrganizationManagement-Create', name: '新建', api: ['/organ/create'] },
      { id: 'OrganizationManagement-Update', name: '编辑', api: ['/organ/update'] },
      { id: 'OrganizationManagement-Account', name: '查询账户', api: ['/organ/queryUserAccount'] },
      { id: 'OrganizationManagement-ChangeAdmin', name: '变更管理员', api: ['/organ/changeAdmin'] }
    ]
  },
  UserManagement: {
    api: ['/userEnterprise/account/pageList', '/userEnterprise/role/getRoListByOrganId'],
    resource: [
      { id: 'UserManagement-Add', name: '新增', api: ['/userEnterprise/account/add'] },
      { id: 'UserManagement-Update', name: '编辑', api: ['/userEnterprise/account/update'] }
    ]
  },
  CarCardManagement: {
    api: ['/simvehicle/querySimVehicleByPage', '/simvehicle/download/template', '/simvehicle/queryImportHistory', '/simvehicle/queryOrgByList'],
    resource: [
      { id: 'CarCardManagement-QueryTag', name: '查询标签', api: ['/simvehicle/queryTags'] },
      { id: 'CarCardManagement-Unbind', name: '禁用', api: ['/simvehicle/unbind'] },
      { id: 'CarCardManagement-Bind', name: '启用', api: ['/simvehicle/bind'] },
      { id: 'CarCardManagement-Import', name: '车卡关系导入', api: ['/simvehicle/import'] },
      { id: 'CarCardManagement-Export', name: '导出', api: ['/simvehicle/download/errorfile'] },
      { id: 'CarCardManagement-Download', name: '下载', api: ['/simvehicle/download/file'] }
    ]
  },
  AgreementManagement: {
    api: ['/protocolManage/queryFileMould', '/protocolManage/queryOrgByList'],
    resource: [
      { id: 'AgreementManagement-Create', name: '创建', api: ['/protocolManage/create'] },
      { id: 'AgreementManagement-Update', name: '更新', api: ['/protocolManage/update'] }
    ]
  },
  AuditList: {
    api: ['/localverify/list'],
    resource: [
      { id: 'AuditList-Detail', name: '详情接口', api: ['/localverify/getEnterpriseDetail'] },
      { id: 'AuditList-PersonDetail', name: '审核详情', api: ['/localverify/personDetail'] },
      { id: 'AuditList-EnterpriseRnrPersonDetail', name: '企业审核详情', api: ['/localverify/personDetail'] },
      { id: 'AuditList-Submit', name: '提交', api: ['/localverify/submit'] }
    ]
  },
  // 工单列表
  WorkOrderRnrList: {
    api: ['/rnrOrder/queryTenantList', '/rnrOrder/pageListQuery'],
    resource: [
      { id: 'WorkOrderRnrList-Detail', name: '查看详情', api: ['/rnrOrder/queryCardPageByOrderId', '/queryCardPageByOrderId', '/rnrOrder/queryOrderDetail', '/orderMgr/queryOrderDetail', '/cuscImage/viewBase64'] }
    ]
  },
  CarAuth1: {
    api: ['/search/carProgress']
  },
  CarAuth2: {
    api: ['/search/queryCheckStatistics', '/search/checkProgress']
  },
  CarInfoManagement: {
    api: ['/car/info/queryCarInfo', '/simvehicle/queryImportHistory', '/simvehicle/queryOrgByList', '/car/info/download/template'],
    resource: [
      { id: 'CarInfoManagement-Import', name: '导入', api: ['/car/info/import'] }
    ]
  },
  SystemLog: {
    api: ['/log/category', '/log/list', '/organ/queryCurrentSubOrgList']
  }
}
