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

// 查询RTU站点分页
export function pagertuSiteInfo(query) {
  return request({
    url: "/business/rtuSiteInfo/page",
    method: "get",
    params: query,
  });
}

// 查询RTU站点列表
export function listrtuSiteInfo(query) {
  return request({
    url: "/business/rtuSiteInfo/list",
    method: "get",
    params: query,
  });
}

// 查询RTU站点详细
export function getrtuSiteInfo(id) {
  return request({
    url: "/business/rtuSiteInfo/" + id,
    method: "get",
  });
}

// 新增RTU站点
export function addrtuSiteInfo(data) {
  return request({
    url: "/business/rtuSiteInfo/add",
    method: "post",
    data: data,
  });
}

// 修改RTU站点
export function updatertuSiteInfo(data) {
  return request({
    url: "/business/rtuSiteInfo/edit",
    method: "put",
    data: data,
  });
}

// 删除RTU站点
export function delrtuSiteInfo(id) {
  return request({
    url: "/business/rtuSiteInfo/" + id,
    method: "delete",
  });
}
//获取每种监测类型对应的站点类型和建设方式对应的数量
export function getSiteInfoCount() {
  return request({
    url: "/business/rtuSiteInfo/getSiteInfoCount",
    method: "get",
  });
}