import request from "@/utils/request"; // 查询排水户办证记录分页 export function pagedrainagerCertificateRecord (query) { return request({ url: "/business/drainagerCertificateRecord/page", method: "get", params: query, }); } // 查询排水户办证记录列表 export function listdrainagerCertificateRecord (query) { return request({ url: "/business/drainagerCertificateRecord/list", method: "get", params: query, }); } // 查询排水户办证记录详细 export function getdrainagerCertificateRecord (id) { return request({ url: "/business/drainagerCertificateRecord/" + id, method: "get", }); } // 新增排水户办证记录 export function adddrainagerCertificateRecord (data) { return request({ url: "/business/drainagerCertificateRecord/add", method: "post", data: data, }); } // 修改排水户办证记录 export function updatedrainagerCertificateRecord (data) { return request({ url: "/business/drainagerCertificateRecord/edit", method: "put", data: data, }); } // 删除排水户办证记录 export function deldrainagerCertificateRecord (id) { return request({ url: "/business/drainagerCertificateRecord/" + id, method: "delete", }); } export function certificateRecordDetail (drainagerCode) { return request({ url: "/business/drainagerCertificateRecord/newest/" + drainagerCode, method: "GET", }); }