camera.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import request from '@/utils/request'
  2. /*
  3. **大华相关接口
  4. */
  5. // 设备管理列表查询 =>废弃
  6. // export function getDeviceList(data) {
  7. // return request({
  8. // url: `/device/getDeviceList`,
  9. // method: 'post',
  10. // data: data
  11. // })
  12. // }
  13. //本地设备列表获取 顺序1 设备
  14. export function getLocalDeviceList(params) {
  15. return request({
  16. url: `/dhController/getLocalDeviceList`,
  17. method: 'post',
  18. params: params
  19. })
  20. }
  21. //设备下属单元信息获取 顺序2 单元
  22. export function getLocalUnitNodes(params) {
  23. return request({
  24. url: `/dhController/getLocalUnitNodes`,
  25. method: 'post',
  26. params: params
  27. })
  28. }
  29. //单元下属通道信息获取 顺序3 通道
  30. export function getLocalChannel(params) {
  31. return request({
  32. url: `/dhController/getLocalChannel`,
  33. method: 'post',
  34. params: params
  35. })
  36. }
  37. //同步摄像头
  38. export function getDhDeviceListNew(data) {
  39. return request({
  40. url: `/dhController/getDhDeviceListNew`,
  41. method: 'post',
  42. data
  43. })
  44. }
  45. //同步摄像头
  46. export function exportDhDeviceListNew(data) {
  47. return request({
  48. url: `/dhController/exportChannel`,
  49. method: 'post',
  50. data
  51. })
  52. }