import request from "@/utils/request"; // 查询排水户基础信息分页 export function pagedrainagerInfo (query) { return request({ url: "/business/drainagerInfo/page", method: "get", params: query, }); } // 查询排水户基础信息列表 export function listdrainagerInfo (query) { return request({ url: "/business/drainagerInfo/list", method: "get", params: query, }); } // 查询排水户基础信息详细 export function getdrainagerInfo (id) { return request({ url: "/business/drainagerInfo/" + id, method: "get", }); } // 新增排水户基础信息 export function adddrainagerInfo (data) { return request({ url: "/business/drainagerInfo/add", method: "post", data: data, }); } // 修改排水户基础信息 export function updatedrainagerInfo (data) { return request({ url: "/business/drainagerInfo/edit", method: "put", data: data, }); } // 删除排水户基础信息 export function deldrainagerInfo (id) { return request({ url: "/business/drainagerInfo/" + id, method: "delete", }); } //排水去向接口 export function getAllRoadList (query) { return request({ url: "/business/pipelineInfo/getAllRoadList", method: "get", params: query, }); } //排水户列表 export function getPipelineList (query) { return request({ url: "/business/pipelineInfo/list", method: "get", params: query, }); } export function getPipelineListCache (query) { return request({ url: "/business/pipelineInfo/list_cache", method: "get", params: query, }); }