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

// 查询排水户水质取样检测计划分页
export function pagewaterQualityExaminePlan (query) {
  return request({
    url: "/business/waterQualityExaminePlan/page",
    method: "get",
    params: query,
  });
}

// 查询排水户水质取样检测计划列表
export function listwaterQualityExaminePlan (query) {
  return request({
    url: "/business/waterQualityExaminePlan/list",
    method: "get",
    params: query,
  });
}

// 查询排水户水质取样检测计划详细
export function getwaterQualityExaminePlan (id) {
  return request({
    url: "/business/waterQualityExaminePlan/detail/" + id,
    method: "get",
  });
}

// 新增排水户水质取样检测计划
export function addwaterQualityExaminePlan (data) {
  return request({
    url: "/business/waterQualityExaminePlan/add",
    method: "post",
    data: data,
  });
}

// 修改排水户水质取样检测计划
export function updatewaterQualityExaminePlan (data) {
  return request({
    url: "/business/waterQualityExaminePlan/edit",
    method: "put",
    data: data,
  });
}

// 删除排水户水质取样检测计划
export function delwaterQualityExaminePlan (id) {
  return request({
    url: "/business/waterQualityExaminePlan/" + id,
    method: "delete",
  });
}
// 确认领取检测计划
export function examinePlanConfirmed (id) {
  return request({
    url: "/business/waterQualityExaminePlan/confirmed/" + id,
    method: "put",
  });
}

//现场采样结果上传
export function examineResultUpload (data) {
  return request({
    url: "/business/waterQualityExaminePlan/sampleUpload",
    method: "put",
    data: data,
  });
}

//上传化验报告单
export function uploadWaterQualityAnalysisReport (data) {
  return request({
    url: "/business/waterQualityExaminePlan/uploadWaterQualityAnalysisReport",
    method: "put",
    data: data,
  });
}

//上传水质化验结果
export function uploadWaterQualityAssayResult (data) {
  return request({
    url: "/business/waterQualityExaminePlan/uploadWaterQualityAssayResult",
    method: "put",
    data: data,
  });
}
//重点排水户抽查计划检测责令整改
export function confirmedReform (data) {
  return request({
    url: "/business/waterQualityExaminePlan/confirmedReform",
    method: "put",
    data: data,
  });
}

//重点排水户抽查计划检测移交执法
export function confirmedJustice (data) {
  return request({
    url: "/business/waterQualityExaminePlan/confirmedJustice",
    method: "put",
    data: data,
  });
}