import request from "@/utils/request"; // 查询巡查日志分页 export function pagepatrolLog (query) { return request({ url: "/business/patrolLog/page", method: "get", params: query, }); } // 查询巡查日志列表 export function listpatrolLog (query) { return request({ url: "/business/patrolLog/list", method: "get", params: query, }); } // 查询巡查日志详细 export function getpatrolLog (id) { return request({ url: "/business/patrolLog/" + id, method: "get", }); } // 新增巡查日志 export function addpatrolLog (data) { return request({ url: "/business/patrolLog", method: "post", data: data, }); } // 修改巡查日志 export function updatepatrolLog (data) { return request({ url: "/business/patrolLog", method: "put", data: data, }); } // 删除巡查日志 export function delpatrolLog (id) { return request({ url: "/business/patrolLog/" + id, method: "delete", }); } // 列表查询实时巡查日志 export function realtimepatrolLogList (query) { return request({ url: "/business/patrolLog/realtime_list", method: "get", params: query, }); }