datacenter.ts 989 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * 数据中台通用接口文档
  3. */
  4. import httputils from "@/api/httputils";
  5. const baseApi = "/datacenter";
  6. // 查询建筑信息
  7. export function buildingQuery(postParams: any): any {
  8. return httputils.postJson(`${baseApi}/object/building/query`, postParams);
  9. }
  10. // 字典查询
  11. export function dictCategoryQuery(postParams: any): any {
  12. return httputils.postJson(`${baseApi}/dict/category`, postParams);
  13. }
  14. // 查询项目下类型的信息点-->编辑器 空间功能类型 列表-->自己转成树
  15. export function dictQuery(postParams: any): any {
  16. // postParams:{
  17. // "filters": "code='roomFuncType'",
  18. // "type": "GeneralZone"
  19. // }
  20. return httputils.postJson(`${baseApi}/dict/query`, postParams);
  21. }
  22. // 查询空间实例
  23. export function PartiInstancQuery(postParams: any): any {
  24. // postParams:{
  25. // "filters": "code='roomFuncType'",
  26. // "type": "GeneralZone"
  27. // }
  28. return httputils.postJson(`${baseApi}/object/zone/query`, postParams);
  29. }