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

// 查询巡查人员分页
export function pagePatrolUser(query) {
  return request({
    url: "/business/patrolUser/page",
    method: "get",
    params: query,
  });
}

// 查询巡查人员列表
export function listPatrolUser(query) {
  return request({
    url: "/business/patrolUser/list",
    method: "get",
    params: query,
  });
}
// 新增巡查人员
export function addPatrolUser(data) {
  return request({
    url: "/business/patrolUser",
    method: "post",
    data: data,
  });
}

// 修改巡查人员
export function updatePatrolUser(data) {
  return request({
    url: "/business/patrolUser",
    method: "put",
    data: data,
  });
}