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

// 分页查询站点历史数据修复配置
export function siteRepairHistoryPage(query) {
  return request({
    url: "/datafilter-api/site-repair-config-history/page",
    method: "post",
    data: query,
  });
}
//修复操作
export function repairConfigHistory(id) {
  return request({
    url: "/datafilter-api/site-repair-config-history/start/" + id,
    method: "post",
  });
}
//新增历史修复
export function addRtuRepairHisConfig(data) {
  return request({
    url: "/datafilter-api/site-repair-config-history/create",
    method: "post",
    data: data,
  });
}
//修改历史修复
export function updateRtuRepairHisConfig(data) {
  return request({
    url: "/datafilter-api/site-repair-config-history/modify",
    method: "post",
    data: data,
  });
}

//删除历史修复
export function delRepairHisConfig(id) {
  return request({
    url: "/datafilter-api/site-repair-config-history/delete/" + id,
    method: "delete",
  });
}

//修复历史详情
export function repairConfigHisDetail(id) {
  return request({
    url: "/datafilter-api/site-repair-config-history/detail/" + id,
    method: "post",
  });
}