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

// 查询排水户办证记录分页
export function pagedrainagerCertificateRecord (query) {
  return request({
    url: "/business/drainagerCertificateRecord/page",
    method: "get",
    params: query,
  });
}

// 查询排水户办证记录列表
export function listdrainagerCertificateRecord (query) {
  return request({
    url: "/business/drainagerCertificateRecord/list",
    method: "get",
    params: query,
  });
}

// 查询排水户办证记录详细
export function getdrainagerCertificateRecord (id) {
  return request({
    url: "/business/drainagerCertificateRecord/" + id,
    method: "get",
  });
}

// 新增排水户办证记录
export function adddrainagerCertificateRecord (data) {
  return request({
    url: "/business/drainagerCertificateRecord/add",
    method: "post",
    data: data,
  });
}

// 修改排水户办证记录
export function updatedrainagerCertificateRecord (data) {
  return request({
    url: "/business/drainagerCertificateRecord/edit",
    method: "put",
    data: data,
  });
}

// 删除排水户办证记录
export function deldrainagerCertificateRecord (id) {
  return request({
    url: "/business/drainagerCertificateRecord/" + id,
    method: "delete",
  });
}
export function certificateRecordDetail (drainagerCode) {
  return request({
    url: "/business/drainagerCertificateRecord/newest/" + drainagerCode,
    method: "GET",
  });
}