Newer
Older
KaiFengPC / src / api / dataAnalysis / rtuMonitorProperty.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
import request from "@/utils/request";

// 查询RTU监测因子分页
export function pageRtuMonitorProperty(query) {
  return request({
    url: "/business/rtuMonitorProperty/page",
    method: "get",
    params: query,
  });
}

// 查询RTU监测因子列表
export function listRtuMonitorProperty(query) {
  return request({
    url: "/business/rtuMonitorProperty/list",
    method: "get",
    params: query,
  });
}

// 查询RTU监测因子详细
export function getRtuMonitorProperty(id) {
  return request({
    url: "/business/rtuMonitorProperty/" + id,
    method: "get",
  });
}

// 新增RTU监测因子
export function addRtuMonitorProperty(data) {
  return request({
    url: "/business/rtuMonitorProperty/add",
    method: "post",
    data: data,
  });
}

// 修改RTU监测因子
export function updateRtuMonitorProperty(data) {
  return request({
    url: "/business/rtuMonitorProperty/edit",
    method: "put",
    data: data,
  });
}

// 删除RTU监测因子
export function delRtuMonitorProperty(id) {
  return request({
    url: "/business/rtuMonitorProperty/" + id,
    method: "delete",
  });
}