Newer
Older
Nanping_sponge_SJJC / 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: '/business/site-repair-config-history/page',
    method: 'post',
    data: query,
  });
}
//修复操作
export function repairConfigHistory(id) {
  return request({
    url: '/business/site-repair-config-history/start/' + id,
    method: 'post',
  });
}
//新增历史修复
export function addRtuRepairHisConfig(data) {
  return request({
    url: '/business/site-repair-config-history/create',
    method: 'post',
    data: data,
  });
}
//修改历史修复
export function updateRtuRepairHisConfig(data) {
  return request({
    url: '/business/site-repair-config-history/modify',
    method: 'post',
    data: data,
  });
}

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

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