config.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /******************* 基础代理配置 *********************/
  2. export const baseUrl = '/api';
  3. export const api = '/ScanBuilding';
  4. export const api1 = '/scanbuilding-2';
  5. export const scan = '/scanbuilding';
  6. export const sass = 'sass';
  7. export const venders = '/venders'
  8. export const dataCenter = '/datacenter'
  9. export const component = '/equip-component'
  10. export const physics = '/data-platform-3';
  11. export const business = '/business-space'
  12. export const rwd = '/rwd'
  13. export const datasyn = '/datasyn'
  14. /******************* 适配新版数据字典接口 *********************/
  15. export const object = dataCenter + '/object'
  16. export const rel = dataCenter + '/rel'
  17. export const system = object + '/general-system'
  18. export const message = baseUrl + '/message-center'
  19. export const shaft = object + '/shaft'
  20. export const tenant = dataCenter + '/tenant'
  21. export const floor = object + '/floor'
  22. export const dict = dataCenter + '/dict'
  23. export const component_dict = component + '/dict'
  24. export const classDef = dataCenter + '/class-def'
  25. export const locationPoint = object + '/location-point'
  26. export const modelScanTask = dataCenter + '/model-scan-task'
  27. export const equipScanTask = dataCenter + '/equip-scan-task'
  28. export const shContainSp = rel + '/sh-contain-sp-base'
  29. export const statistics = dataCenter + '/statistics'
  30. export const stat = component + '/statistics'
  31. export const graphicUrl = dataCenter + '/graphic'
  32. export const compSpace = component + '/space'
  33. export const compEquipQuery = component + '/equip-query'
  34. export const dictCustom = component + '/dict-custom'
  35. export const zone = {
  36. GeneralZone: 'zone-general', //默认分区
  37. PowerSupplyZone: 'zone-power-supply', //供电分区
  38. LightingZone: 'zone-lighting', //照明分区
  39. AirConditioningZone: 'metaspace', //空调分区
  40. TenantZone: 'zone-tenant', //租赁分区
  41. HeatingZone: 'zone-heating', //采暖分区
  42. CleanZone: 'zone-clean', //洁净分区
  43. DomesticWaterSupplyZone: 'zone-domestic-water', //生活给水分区
  44. NetworkZone: 'zone-network', //网络分区
  45. FunctionZone: 'zone-function', //功能分区
  46. FireZone: 'zone-fire', //防火分区
  47. SecurityZone: 'zone-security', //安防分区
  48. Ispace: 'ispace', //元空间
  49. }