Newer
Older
Nanping_sponge_JXKH / src / api / preassess / calculate.js
@liyingjing liyingjing on 25 Oct 2023 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"
  });
};