Newer
Older
robot_dog_patrol_front / src / api / home / station / station.ts
lyg on 13 Sep 788 bytes 设备运维-轨迹查询
/**
 * 场站监测接口
 */
import request from '@/api/index'

// 基础列表
export function getStationListPage(data: any) {
  return request({
    url: `/monitor/station/listPage?limit=${data.limit}&offset=${data.offset}`,
    method: 'post',
    data,
  })
}
// 列表-不分页
export function getStationList(data: any) {
  return request({
    url: '/monitor/station/list',
    method: 'post',
    data,
  })
}
// 编辑
export function editStation(data: any) {
  return request({
    url: '/system/busLedger/addRemark',
    method: 'post',
    data: {
      ...data,
      type: '2',
    },
  })
}
// 获取不同公司的设备(云台)
export function getDeptStation(data: any) {
  return request({
    url: '/monitor/station/treeList',
    method: 'post',
    data,
  })
}