Newer
Older
KaiFengPC / src / api / preassess / calculate.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
import request from "@/utils/request";

// 分页查询设施达标测算
export const getFacilitiesStandardCalcPage = (params) => {
  return request({
    url: "/sponge/facilitiesStandardCalc/page",
    method: "get",
    params
  });
};
// 列表查询项目建设目标配置
export const getProjectBuildTargetConfigList = (params) => {
  return request({
    url: "/sponge/projectBuildTargetConfig/list",
    method: "get",
    params
  });
};
// 计算
export const facilitiesStandardCalcEdit = (data) => {
  return request({
    url: "/sponge/facilitiesStandardCalc/edit",
    method: "put",
    data
  });
};
// 提交
export const facilitiesStandardCalcSubmit = (data) => {
  return request({
    url: "/sponge/facilitiesStandardCalc/submit",
    method: "post",
    data
  });
}
// 详细查询设施达标测算
export const getFacilitiesStandardCalcInfo = (id) => {
  return request({
    url: `/sponge/facilitiesStandardCalc/${id}`,
    method: "get"
  });
};

// 删除设施达标测算
export const facilitiesStandardCalcDel = (ids) => {
  return request({
    url: `/sponge/facilitiesStandardCalc/${ids}`,
    method: "delete"
  });
};