import request from "@/utils/request"

/** 检疫点下拉（仅正常运营检疫站） */
export function listLabDetectionQuarantineStationOptions() {
  return request({
    url: "/diseaseDetection/labDetection/quarantineStationOptions",
    method: "get"
  })
}

/** 实验室检测 — 分页列表 */
export function listLabDetection(query) {
  return request({
    url: "/diseaseDetection/labDetection/list",
    method: "get",
    params: query
  })
}

/** 详情 */
export function getLabDetection(id) {
  return request({
    url: "/diseaseDetection/labDetection/" + id,
    method: "get"
  })
}

/** 新增 */
export function addLabDetection(data) {
  return request({
    url: "/diseaseDetection/labDetection",
    method: "post",
    data
  })
}

/** 修改 */
export function updateLabDetection(data) {
  return request({
    url: "/diseaseDetection/labDetection",
    method: "put",
    data
  })
}

/** 删除 */
export function delLabDetection(ids) {
  return request({
    url: "/diseaseDetection/labDetection/" + ids,
    method: "delete"
  })
}
