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

// 查询巡查考核分页
export function pagepatPatrolExamine(query) {
  return request({
    url: "/business/patrolExamine/page",
    method: "get",
    params: query,
  });
}

// 查询巡查考核列表
export function listpatPatrolExamine(query) {
  return request({
    url: "/business/patrolExamine/list",
    method: "get",
    params: query,
  });
}

// 查询巡查考核详细
export function getpatPatrolExamine(id) {
  return request({
    url: "/business/patrolExamine/" + id,
    method: "get",
  });
}

// 新增巡查考核
export function addpatPatrolExamine(data) {
  return request({
    url: "/business/patrolExamine",
    method: "post",
    data: data,
  });
}

// 修改巡查考核
export function updatepatPatrolExamine(data) {
  return request({
    url: "/business/patrolExamine",
    method: "put",
    data: data,
  });
}

// 删除巡查考核
export function delpatPatrolExamine(id) {
  return request({
    url: "/business/patrolExamine/" + id,
    method: "delete",
  });
}