JGYT.js 865 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import $http from '@/utils/request'
  2. /**
  3. * 获取周界配置
  4. */
  5. export const getTagList = data => {
  6. return $http({
  7. method: 'POST',
  8. // url: '/JGYT/alarm/getTagList',
  9. url: '/Positioning/Map/GetLaserPtz', // 新接口 按场站获取云台配置
  10. data,
  11. notShowLoading: false,
  12. })
  13. }
  14. // 获取实时报警信息 type值同上
  15. export const getAlarmList = data =>
  16. $http({
  17. method: 'POST',
  18. url: `/JGYT/alarm/getAlarmList`,
  19. data,
  20. notShowLoading: true,
  21. })
  22. // 获取激光云台设备列表
  23. export const getJGYTList = data =>
  24. $http({
  25. method: 'POST',
  26. url: `/Leak/LaserPtz/Config/GetList`,
  27. data,
  28. notShowLoading: true,
  29. })
  30. // 获取激光云台报警数据列表
  31. export const getJGYTAlarmList = data =>
  32. $http({
  33. method: 'POST',
  34. url: `/Leak/LaserPtz/Alarm/GetList`,
  35. data,
  36. notShowLoading: true,
  37. })