import request from "@/utils/request"; // 查询巡查督导分页 export function pagepatrolSupervise(query) { return request({ url: "/business/patrolSupervise/page", method: "get", params: query, }); } // 查询巡查督导列表 export function listpatrolSupervise(query) { return request({ url: "/business/patrolSupervise/list", method: "get", params: query, }); } // 查询巡查督导详细 export function getpatrolSupervise(id) { return request({ url: "/business/patrolSupervise/" + id, method: "get", }); } // 新增巡查督导 export function addpatrolSupervise(data) { return request({ url: "/business/patrolSupervise", method: "post", data: data, }); } // 修改巡查督导 export function updatepatrolSupervise(data) { return request({ url: "/business/patrolSupervise", method: "post", data: data, }); } // 删除巡查督导 export function delpatrolSupervise(id) { return request({ url: "/business/patrolSupervise/" + id, method: "delete", }); }