import request from "@/utils/request"; // 查询巡查段配置分页 export function pagepatrolSection(query) { return request({ url: "/business/patrolSection/page", method: "get", params: query, }); } // 查询巡查段配置列表 export function listpatrolSection(query) { return request({ url: "/business/patrolSection/list", method: "get", params: query, }); } // 查询巡查段配置详细 export function getpatrolSection(id) { return request({ url: "/business/patrolSection/" + id, method: "get", }); } // 新增巡查段配置 export function addpatrolSection(data) { return request({ url: "/business/patrolSection", method: "post", data: data, }); } // 修改巡查段配置 export function updatepatrolSection(data) { return request({ url: "/business/patrolSection", method: "put", data: data, }); } // 删除巡查段配置 export function delpatrolSection(id) { return request({ url: "/business/patrolSection/" + id, method: "delete", }); }