public.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import httputils from "@/api/httputils"
  2. // 查询图片
  3. export function queryPic({ getParams }) {
  4. return httputils.getJson(`/data/sms_proimgup/query`, getParams)
  5. }
  6. // 查询下拉框
  7. export function querySelect({ data, postParams }) {
  8. return httputils.fetchJson(`/data/base/queryOptions`, data, postParams)
  9. }
  10. // 查询Tab数据统计数量
  11. export function queryTab({ data, postParams }) {
  12. return httputils.fetchJson(`/data/base/queryTabStatistics`, data, postParams)
  13. }
  14. // 查询图例统计信息
  15. export function queryStatis({ data, postParams }) {
  16. return httputils.fetchJson(`/serve/topology-wanda/graphElement/statistic/query`, data, postParams)
  17. }
  18. // 图例-查询图片
  19. // /serve/topology-wanda/Picture/eqruy/{id}
  20. // 更新图例系统信息
  21. export function updateStatis({ postParams }) {
  22. return httputils.postJson(`/serve/topology-wanda/graphElement/statistic/update`, postParams)
  23. }
  24. // 查询系统图备注-(后期可能不需要)
  25. export function queryRead({ data, postParams }) {
  26. return httputils.fetchJson(`/serve/topology-wanda/graph/read`, data, postParams)
  27. }
  28. // 修改系统图备注
  29. export function updateRead({ postParams }) {
  30. return httputils.postJson(`/serve/topology-wanda/graph/updateNote`, postParams)
  31. }
  32. //查询系统图展示所需数据 --平面图业务数据
  33. export function readGroup(postParams) {
  34. return httputils.postJson(`/serve/topology-wanda/graph/read`, postParams)
  35. }
  36. // 查询草稿箱数量
  37. export function queryDraftNum(data) {
  38. return httputils.postJson(`/serve/topology-wanda/graph/query`, data)
  39. }
  40. // 查询铺位名称
  41. export function queryBrand({ data, postParams }) {
  42. return httputils.fetchJson(`/data/tb_brand_intentiondetail/query`, data, postParams)
  43. }
  44. //记录PV/UV
  45. export function getPvUv(data, postParams) {
  46. return httputils.fetchJson(`/data/pvuv/save`, data, postParams)
  47. }
  48. // 保存楼层缓存
  49. export function setFloor(data, postParams) {
  50. return httputils.fetchJson(`/data/plaza/floor/set`, data, postParams)
  51. }
  52. // 查询图
  53. export function graphQuery(params){
  54. return httputils.postJson(`/serve/topology-wanda/graph/query`, params)
  55. }