Commit 2680d266 authored by 朱超's avatar 朱超

同比更新

parent 2eeaaa45
...@@ -92,8 +92,15 @@ export const postExternalQOQ = params => { ...@@ -92,8 +92,15 @@ export const postExternalQOQ = params => {
}) })
} }
//换热站机组用量同比接口(耗水量、耗电量、耗热量) //换热站机组用量同比接口(耗水量、耗电量、耗热量)网内
export const postYOY = params => { export const postWithinYOY = params => {
return http.post(`/api/analysis/within/YOY`, params).then(res => res).catch(function (error) {
console.log(error);
})
}
//换热站机组用量同比接口(耗水量、耗电量、耗热量)网外
export const postExternalYOY = params => {
return http.post(`/api/analysis/external/YOY`, params).then(res => res).catch(function (error) { return http.post(`/api/analysis/external/YOY`, params).then(res => res).catch(function (error) {
console.log(error); console.log(error);
}) })
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment