supervisePlaceManage-api.js 996 Bytes
import request from "@/utils/request";

// POST
// ​/operatorPlace​/addOperatorPlace
// 新增监管场所
export function addOperatorPlace(data) {
  return request({
    url: "/bus-customer/operatorPlace/addOperatorPlace",
    method: "post",
    data: data,
  });
}

// POST
// ​/operatorPlace​/getOperatorPlaceList
// 查询监管场所列表
export function getOperatorPlaceList(data) {
  return request({
    url: "/bus-customer/operatorPlace/getOperatorPlaceList",
    method: "post",
    data: data,
  });
}

// POST
// ​/operatorPlace​/updateOperatorPlace
// 修改监管场所
export function updateOperatorPlace(data) {
  return request({
    url: "/bus-customer/operatorPlace/updateOperatorPlace",
    method: "post",
    data: data,
  });
}

// GET
// ​/portInfo​/getPortCodeList
// 获取口岸列表作用于条件查询的下拉框
export function getPortCodeList() {
  return request({
    url: "/bus-customer/portInfo/getPortCodeList",
    method: "get",
  });
}