Newer
Older
Nanping_sponge_GCYPG / src / api / dataAnalysis / rtuSiteMonitor.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 工程预评估
import request from "@/utils/request";

// 查询RTU监测项分页
export function pageRtuSiteMonitor(query) {
  return request({
    url: "/business/rtuSiteMonitor/page",
    method: "get",
    params: query,
  });
}

// 查询RTU监测项列表
export function listRtuSiteMonitor(query) {
  return request({
    url: "/business/rtuSiteMonitor/list",
    method: "get",
    params: query,
  });
}

// 查询RTU监测项详细
export function getRtuSiteMonitor(id) {
  return request({
    url: "/business/rtuSiteMonitor/" + id,
    method: "get",
  });
}

// 新增RTU监测项
export function addRtuSiteMonitor(data) {
  return request({
    url: "/business/rtuSiteMonitor/add",
    method: "post",
    data: data,
  });
}

// 修改RTU监测项
export function updateRtuSiteMonitor(data) {
  return request({
    url: "/business/rtuSiteMonitor/edit",
    method: "put",
    data: data,
  });
}

// 删除RTU监测项
export function delRtuSiteMonitor(id) {
  return request({
    url: "/business/rtuSiteMonitor/" + id,
    method: "delete",
  });
}