Newer
Older
Nanping_sponge_SJJC / src / api / drainager / examineReformRecord.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from "@/utils/request";

// 查询排水户抽查计划检测整改记录分页
export function pageexamineReformRecord (query) {
  return request({
    url: "/business/waterQualityExaminePlan/drainagerCheckLimitTimeReformRecordPage",
    method: "get",
    params: query,
  });
}
//水质不达标整改记录
export function drainagerUnCorrectPage (query) {
  return request({
    url: "/business/examineReformRecord/pageByPlanId",
    method: "get",
    params: query,
  });
}

// 查询排水户抽查计划检测整改记录列表
export function listexamineReformRecord (query) {
  return request({
    url: "/business/examineReformRecord/list",
    method: "get",
    params: query,
  });
}

// 查询排水户抽查计划检测整改记录详细
export function getexamineReformRecord (id) {
  return request({
    url: "/business/examineReformRecord/" + id,
    method: "get",
  });
}

// 新增排水户抽查计划检测整改记录
export function addexamineReformRecord (data) {
  return request({
    url: "/business/examineReformRecord/add",
    method: "post",
    data: data,
  });
}

// 修改排水户抽查计划检测整改记录
export function updateexamineReformRecord (data) {
  return request({
    url: "/business/examineReformRecord/edit",
    method: "put",
    data: data,
  });
}

// 删除排水户抽查计划检测整改记录
export function delexamineReformRecord (id) {
  return request({
    url: "/business/examineReformRecord/" + id,
    method: "delete",
  });
}

//水质抽检不达标整改记录上传复核记录
export function examineRecheckRecord (data) {
  return request({
    url: "/business/examineRecheckRecord/add",
    method: "post",
    data: data,
  });
}

///水质抽检不达标整改记录上传复核记录详情
export function unRecheckDetail (id) {
  return request({
    url: "/business/examineRecheckRecord/detailByReformId/" + id,
    method: "get",
  });
}