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

// 查询水质取样检测执法记录分页
export function pageexamineJusticeRecord (query) {
  return request({
    url: "/business/examineJusticeRecord/page",
    method: "get",
    params: query,
  });
}

// 查询水质取样检测执法记录列表
export function listexamineJusticeRecord (query) {
  return request({
    url: "/business/examineJusticeRecord/list",
    method: "get",
    params: query,
  });
}

// 查询水质取样检测执法记录详细
export function getexamineJusticeRecord (id) {
  return request({
    url: "/business/examineJusticeRecord/" + id,
    method: "get",
  });
}

// 新增水质取样检测执法记录
export function addexamineJusticeRecord (data) {
  return request({
    url: "/business/examineJusticeRecord",
    method: "post",
    data: data,
  });
}

// 修改水质取样检测执法记录
export function updateexamineJusticeRecord (data) {
  return request({
    url: "/business/examineJusticeRecord",
    method: "put",
    data: data,
  });
}

// 删除水质取样检测执法记录
export function delexamineJusticeRecord (id) {
  return request({
    url: "/business/examineJusticeRecord/" + id,
    method: "delete",
  });
}

//违法违规记录上传执法结果
export function drainagerJusticeUpload (data) {
  return request({
    url: "/business/examineJusticeRecord/uploadJusticeResult",
    method: "put",
    data: data,
  });
}