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

// 查询排水户勘察情况分页
export function pagedrainagerInvestigationRecord (query) {
  return request({
    url: "/business/drainagerInvestigationRecord/page",
    method: "get",
    params: query,
  });
}

// 查询排水户勘察情况列表
export function listdrainagerInvestigationRecord (query) {
  return request({
    url: "/business/drainagerInvestigationRecord/list",
    method: "get",
    params: query,
  });
}

// 查询排水户勘察情况详细
export function getdrainagerInvestigationRecord (id) {
  return request({
    url: "/business/drainagerInvestigationRecord/" + id,
    method: "get",
  });
}

// 新增排水户勘察情况
export function adddrainagerInvestigationRecord (data) {
  return request({
    url: "/business/drainagerInvestigationRecord/add",
    method: "post",
    data: data,
  });
}

// 修改排水户勘察情况
export function updatedrainagerInvestigationRecord (data) {
  return request({
    url: "/business/drainagerInvestigationRecord/edit",
    method: "put",
    data: data,
  });
}

// 删除排水户勘察情况
export function deldrainagerInvestigationRecord (id) {
  return request({
    url: "/business/drainagerInvestigationRecord/" + id,
    method: "delete",
  });
}

//排水户管理-用户勘察情况审核
export function drainageInvestiApprove (data) {
  return request({
    url: "/business/drainagerInvestigationRecord/approve",
    method: "put",
    data: data,
  });
}