Newer
Older
Nanping_sponge_SJJC / src / api / businessPatrol / patrolPathStay.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from "@/utils/request";

// 查询巡查轨迹停留记录分页
export function pagepatrolPathStay(query) {
  return request({
    url: "/business/patrolPathStay/page",
    method: "get",
    params: query,
  });
}

// 查询巡查轨迹停留记录列表
export function listpatrolPathStay(query) {
  return request({
    url: "/business/patrolPathStay/list",
    method: "get",
    params: query,
  });
}

// 查询巡查轨迹停留记录详细
export function getpatrolPathStay(id) {
  return request({
    url: "/business/patrolPathStay/" + id,
    method: "get",
  });
}

// 新增巡查轨迹停留记录
export function addpatrolPathStay(data) {
  return request({
    url: "/business/patrolPathStay",
    method: "post",
    data: data,
  });
}

// 修改巡查轨迹停留记录
export function updatepatrolPathStay(data) {
  return request({
    url: "/business/patrolPathStay",
    method: "put",
    data: data,
  });
}

// 删除巡查轨迹停留记录
export function delpatrolPathStay(id) {
  return request({
    url: "/business/patrolPathStay/" + id,
    method: "delete",
  });
}