Newer
Older
KaiFengPC / src / api / preassess / calculate.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
  1. import request from "@/utils/request";
  2.  
  3. // 分页查询设施达标测算
  4. export const getFacilitiesStandardCalcPage = (params) => {
  5. return request({
  6. url: "/sponge/facilitiesStandardCalc/page",
  7. method: "get",
  8. params
  9. });
  10. };
  11. // 列表查询项目建设目标配置
  12. export const getProjectBuildTargetConfigList = (params) => {
  13. return request({
  14. url: "/sponge/projectBuildTargetConfig/list",
  15. method: "get",
  16. params
  17. });
  18. };
  19. // 计算
  20. export const facilitiesStandardCalcEdit = (data) => {
  21. return request({
  22. url: "/sponge/facilitiesStandardCalc/edit",
  23. method: "put",
  24. data
  25. });
  26. };
  27. // 提交
  28. export const facilitiesStandardCalcSubmit = (data) => {
  29. return request({
  30. url: "/sponge/facilitiesStandardCalc/submit",
  31. method: "post",
  32. data
  33. });
  34. }
  35. // 详细查询设施达标测算
  36. export const getFacilitiesStandardCalcInfo = (id) => {
  37. return request({
  38. url: `/sponge/facilitiesStandardCalc/${id}`,
  39. method: "get"
  40. });
  41. };
  42.  
  43. // 删除设施达标测算
  44. export const facilitiesStandardCalcDel = (ids) => {
  45. return request({
  46. url: `/sponge/facilitiesStandardCalc/${ids}`,
  47. method: "delete"
  48. });
  49. };
  50.  
  51.  
  52.  
  53.