import request from "@/utils/request"; //查询待巡检条数 export function getPatrolCount() { return request({ url: "/patrol/task/patrolCount", method: "get" }); } //查询待巡检列表 export function listPatrol(query) { return request({ url: "/patrol/task/list", method: "get", params: query, }); } //查询待巡检详情 export function getPatrolDetailsById(id) { return request({ url: "/patrol/task/" + id, method: "get", }); } // 新增巡检任务报告 export function addTaskReport(data) { return request({ url: "/patrol/task/report", method: "post", data: data, }); }