Commit 3a41f8fd authored by 朱超's avatar 朱超

换热站机组能耗更新

parent 30be4035
......@@ -71,6 +71,13 @@ export const postSecAbsTUc = params => {
})
}
//二网万平米流量
export const postSecTrafficUc = params => {
return http.post(`/api/analysis/external/SecTrafficUc`, params).then(res => res).catch(function (error) {
console.log(error);
})
}
//热量分析报表
export const postHeatAnalysis = params => {
return http.post(`/api/analysis/report/HeatAnalysis`, params).then(res => res).catch(function (error) {
......
......@@ -76,7 +76,7 @@
v-model="enertyInfo.type"
placeholder="请选择"
@change="selTypeChange"
style="width: 130px"
style="width: 150px"
>
<!-- <el-option label="用量环比" :value="0" /> -->
<el-option label="热单耗" :value="1" />
......@@ -84,11 +84,12 @@
<el-option label="水单耗" :value="3" />
<el-option label="度日数热耗" :value="4" />
<el-option label="一网回温" :value="5" />
<!-- <el-option label="一网万平米流量" :value="6" />
<el-option label="一网万平米流量" :value="6" />
<el-option label="换热站板换效率" :value="7" />
<el-option label="换热站二网均温" :value="8" /> -->
<!-- <el-option label="二网温差" :value="9" />
<el-option label="二网均温" :value="10" /> -->
<el-option label="换热站二网均温" :value="8" />
<el-option label="二网温差" :value="9" />
<el-option label="二网均温" :value="8" />
<el-option label="二网万平米流量" :value="11" />
</el-select>
</el-form-item>
<!-- <el-form-item label="用量环比类型" v-show="energyTypeDis">
......@@ -166,6 +167,7 @@ import {
postHeatEffiUc,
postSecAvgTUc,
postSecAbsTUc,
postSecTrafficUc,
} from "../../api/analysis";
const options = reactive([]);
const enterpriseId = ref();
......@@ -402,6 +404,12 @@ function sendClick() {
case 8:
postSecAvgTUcFun(); //换热站二网均温
break;
case 9:
postSecAbsTUcFun(); //换热站二网温差
break;
case 11:
postSecTrafficUcFun(); //二网万平米流量
break;
}
enertyTab.value = "能耗值(" + company.value + ")";
} else {
......@@ -565,6 +573,22 @@ function postHeatEffiUcFun() {
});
}
//换热站机组能耗数据接口(二网温差)
function postSecAbsTUcFun() {
tabloading.value = true;
postSecAbsTUc(enertyInfo).then((res) => {
echarts.dispose(document.getElementById("echartsLayer"));
if (res.success === true) {
pageInitFun(res);
} else if (res.status == 9) {
setInterval(function () {
tabloading.value = false;
this.postSecAbsTUcFun();
}, 600000);
}
});
}
//换热站机组能耗数据接口(换热站二网均温)
function postSecAvgTUcFun() {
tabloading.value = true;
......@@ -581,6 +605,22 @@ function postSecAvgTUcFun() {
});
}
//换热站机组能耗数据接口(二网万平米流量)
function postSecTrafficUcFun() {
tabloading.value = true;
postSecTrafficUc(enertyInfo).then((res) => {
echarts.dispose(document.getElementById("echartsLayer"));
if (res.success === true) {
pageInitFun(res);
} else if (res.status == 9) {
setInterval(function () {
tabloading.value = false;
this.postSecTrafficUcFun();
}, 600000);
}
});
}
function pageInitFun(res) {
tableData.length = 0;
res.data.hourWater.forEach((element) => {
......
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