Newer
Older
KaiFengPC / src / api / dataAnalysis / rtuSiteMonitor.js
@zhangdeliang zhangdeliang on 23 May 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/rtuMonitorProperty/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",
  });
}