import request from "@/utils/request"; // 分页查询设施达标测算 export const getProjectPreEvaluatePage = (params) => { return request({ url: "/sponge/projectPreEvaluate/page", method: "get", params }); }; // 列表查询设施达标测算 export const getFacilitiesStandardCalcList = (params) => { return request({ url: "/sponge/facilitiesStandardCalc/list", method: "get", params }); }; // 根据工程类型查询控制项正在启用的数据 export const getControlList = (engineeringType) => { return request({ url: `/sponge/assessTargetConfigControllerItem/selectTreeByEngineeringType/${engineeringType}`, method: "get" }); }; // 根据工程类型查询评分项正在启用的数据 export const getScoreList = (engineeringType) => { return request({ url: `/sponge/assessTargetConfigGradeItem/selectTreeByEngineeringType/${engineeringType}`, method: "get" }); }; export const projectPreEvaluateAdd = (data) => { return request({ url: '/sponge/projectPreEvaluate/add', method: "post", data }); }; export const projectPreEvaluateDel = (ids) => { return request({ url: `/sponge/projectPreEvaluate/${ids}`, method: "delete" }); }; export const projectPreEvaluateDetails = (id) => { return request({ url: `/sponge/projectPreEvaluate/${id}`, method: "get" }); }; export const projectPreEvaluateSubmit = (data) => { return request({ url: '/sponge/projectPreEvaluate/submit', method: "post", data }); };