import request from "@/utils/request"; // 分页查询站点数据修复配置---所有数据 404 datafilter-api/ export function pageRepairSite_page_with_all_site(query) { return request({ url: "/business/site-repair-config/page_with_all_site", method: "post", data: query, }); } // 分页查询站点数据修复配置 404 export function pageRepairSite(query) { return request({ url: "/business/site-repair-config/page", method: "post", data: query, }); } export function siteconfigdetail_by_st(stCode) { return request({ url: "/business/site-repair-config/detail_by_st/" + stCode, method: "post", }); } //查询规则引擎下拉框 export function listRuleEngine(query) { return request({ url: "/business/newfiber-dataquality/ruleEngine/selectAll", method: "get", params: query, }); } ////关联雨量站和关联雨水管网下拉框 export function listSite(params) { return request({ url: "/business/rtuSiteInfo/list", method: "get", params, }); } //查询所有站点 export function listRepairAllSite(query) { return request({ url: "/business/rtuSiteInfo/list", method: "get", data: query, }); } //修复因子下拉 export function listSiteSupportedProperty(stCode) { return request({ url: "/business/site-info/list_site_supported_property/" + stCode, method: "post", }); } ////新增站点数据修复配置因子 export function addRtuRepairConfig(data) { return request({ url: "/business/site-repair-config/create", method: "post", data: data, }); } ////修改站点数据修复配置因子 export function updateRtuRepairConfig(data) { return request({ url: "/business/site-repair-config/modify", method: "post", data: data, }); } //列表查询原始/修复后历史数据 export function pageRepairRecord(query) { return request({ url: "/business/repair-record/page", method: "post", data: query, }); } //分页查站点修复记录 export function originalRepairHistory(query) { return request({ url: "/business/site-monitor-data/original_repair_history", method: "post", data: query, }); } //查询所有站点 export function rtuSiteInfoList() { return request({ url: "/business/rtuSiteInfo/list", method: "get", }); } //查询历史告警记录类型统计 export function rtuWarnRecordHistory() { return request({ url: "/business/rtuWarnRecordHistory/rtuWarnTypeStatistic", method: "get", }); } // 查询实时告警记录类型统计 export function rtuWarnRecordRealtime() { return request({ url: "/business/rtuWarnRecordRealtime/rtuWarnTypeStatistic", method: "get", }); } // 告警规则tongji export function rtuWarnConfig() { return request({ url: "/business/rtuWarnConfig/rtuWarnTypeStatistic", method: "get", }); }