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

// 分页查询站点数据修复配置---所有数据
export function pageRepairSite_page_with_all_site(query) {
  return request({
    url: "/datafilter-api/site-repair-config/page_with_all_site",
    method: "post",
    data: query,
  });
}

export function siteconfigdetail_by_st(stCode) {
  return request({
    url: "/datafilter-api/site-repair-config/detail_by_st/" + stCode,
    method: "post",
  });
}

//查询规则引擎下拉框
export function listRuleEngine(query) {
  return request({
    url: "/datafilter-api/newfiber-dataquality/ruleEngine/selectAll",
    method: "get",
    params: query,
  });
}
////关联雨量站和关联雨水管网下拉框
export function listSite(query) {
  return request({
    url: "/datafilter-api/site-info/list",
    method: "post",
    data: query,
  });
}
//查询所有站点
export function listRepairAllSite(query) {
  return request({
    url: "/datafilter-api/site-info/list_repair",
    method: "post",
    data: query,
  });
}

//修复因子下拉
export function listSiteSupportedProperty(stCode) {
  return request({
    url: "/datafilter-api/site-info/list_site_supported_property/" + stCode,
    method: "post",
  });
}
////新增站点数据修复配置因子
export function addRtuRepairConfig(data) {
  return request({
    url: "/datafilter-api/site-repair-config/create",
    method: "post",
    data: data,
  });
}
////修改站点数据修复配置因子
export function updateRtuRepairConfig(data) {
  return request({
    url: "/datafilter-api/site-repair-config/modify",
    method: "post",
    data: data,
  });
}
// 分页查询站点数据修复配置
export function pageRepairSite(query) {
  return request({
    url: "/datafilter-api/site-repair-config/page",
    method: "post",
    data: query,
  });
}

//列表查询原始/修复后历史数据
export function pageRepairRecord(query) {
  return request({
    url: "/datafilter-api/repair-record/page",
    method: "post",
    data: query,
  });
}

//分页查站点修复记录
export function originalRepairHistory(query) {
  return request({
    url: "/datafilter-api/site-monitor-data/original_repair_history",
    method: "post",
    data: query,
  });
}