import request from "@/utils/request"; // 查询巡查基础信息分页 export function pagepatrolBasicInfo(query) { return request({ url: "/business/patrolBasicInfo/page", method: "get", params: query, }); } // 查询巡查基础信息列表 export function listpatrolBasicInfo(query) { return request({ url: "/business/patrolBasicInfo/list", method: "get", params: query, }); } // 查询巡查基础信息详细 export function getpatrolBasicInfo(id) { return request({ url: "/business/patrolBasicInfo/" + id, method: "get", }); } // 新增巡查基础信息 export function addpatrolBasicInfo(data) { return request({ url: "/business/patrolBasicInfo", method: "post", data: data, }); } // 修改巡查基础信息 export function updatepatrolBasicInfo(data) { return request({ url: "/business/patrolBasicInfo", method: "put", data: data, }); } // 删除巡查基础信息 export function delpatrolBasicInfo(id) { return request({ url: "/business/patrolBasicInfo/" + id, method: "delete", }); }