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, }); }