Newer
Older
smartwell_front / src / api / home / station / station.ts
/**
 * 场站监测接口
 */
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',
    },
  })
}