Commit e05469f2 authored by 朱超's avatar 朱超

能耗排名

parent 37eeaaab
<template> <template>
<div class="contentBlock" id="contentBlock"> <div
class="contentBlock"
id="contentBlock"
v-loading.fullscreen.lock="fullscreenLoading"
element-loading-background="rgba(122, 122, 122, 0.6)"
>
<el-card class="card-contianer"> <el-card class="card-contianer">
<el-form <el-form
:inline="true" :inline="true"
...@@ -16,7 +21,7 @@ ...@@ -16,7 +21,7 @@
inactive-text="实时排行" inactive-text="实时排行"
style=" style="
--el-switch-on-color: #13ce66; --el-switch-on-color: #13ce66;
--el-switch-off-color: #ff4949; --el-switch-off-color: #6589ff;
min-width: 130px; min-width: 130px;
" "
@change="changeFun" @change="changeFun"
...@@ -94,14 +99,12 @@ ...@@ -94,14 +99,12 @@
<el-checkbox name="type" label="民建">民建 </el-checkbox> <el-checkbox name="type" label="民建">民建 </el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
<el-form-item> <div style="position: absolute; top: 25px; right: 2%">
<el-button type="primary" style="min-width: 70px" @click="sendClick" <el-button type="primary" @click="sendClick">查询</el-button
>查询</el-button ><el-button type="primary" @click="exportTableToExcel"
>导出表格</el-button
> >
</el-form-item> </div>
<el-form-item>
<el-button type="primary" style="min-width: 70px">导出表格</el-button>
</el-form-item>
</el-form> </el-form>
<div class="titInfoBlock"> <div class="titInfoBlock">
<table class="titBlock" style="width: 98%; margin: 0; padding: 0"> <table class="titBlock" style="width: 98%; margin: 0; padding: 0">
...@@ -123,15 +126,14 @@ ...@@ -123,15 +126,14 @@
<div class="tit">民建换热站</div> <div class="tit">民建换热站</div>
<div class="left"> <div class="left">
<div> <div>
<span>{{ overviewList.civilCount }}</span <span>{{ overviewList.civilCount }}</span>
>
</div> </div>
<div class="sub">机组数量</div> <div class="sub">机组数量</div>
</div> </div>
<div class="right"> <div class="right">
<div> <div>
<span>{{ (overviewList.civilArea / 10000).toFixed(2) }}</span <span>{{ (overviewList.civilArea / 10000).toFixed(2) }}</span>
>万平米 万平米
</div> </div>
<div class="sub">供热面积</div> <div class="sub">供热面积</div>
</div> </div>
...@@ -146,15 +148,14 @@ ...@@ -146,15 +148,14 @@
<div class="tit">公建换热站</div> <div class="tit">公建换热站</div>
<div class="left"> <div class="left">
<div> <div>
<span>{{ overviewList.pbCount }}</span <span>{{ overviewList.pbCount }}</span>
>
</div> </div>
<div class="sub">机组数量</div> <div class="sub">机组数量</div>
</div> </div>
<div class="right"> <div class="right">
<div> <div>
<span>{{ (overviewList.pbArea / 10000).toFixed(2) }}</span <span>{{ (overviewList.pbArea / 10000).toFixed(2) }}</span>
>万平米 万平米
</div> </div>
<div class="sub">供热面积</div> <div class="sub">供热面积</div>
</div> </div>
...@@ -169,15 +170,15 @@ ...@@ -169,15 +170,15 @@
<div class="tit">热量消耗</div> <div class="tit">热量消耗</div>
<div class="left"> <div class="left">
<div> <div>
<span>{{ (overviewList.totalHeat / 10000).toFixed(2) }}</span <span>{{ (overviewList.totalHeat / 10000).toFixed(2) }}</span>
>GJ GJ
</div> </div>
<div class="sub">热总耗</div> <div class="sub">热总耗</div>
</div> </div>
<div class="right"> <div class="right">
<div> <div>
<span>{{ (overviewList.heatUc / 10000).toFixed(2) }}</span <span>{{ (overviewList.heatUc / 10000).toFixed(2) }}</span>
>W/㎡ W/㎡
</div> </div>
<div class="sub">热单耗</div> <div class="sub">热单耗</div>
</div> </div>
...@@ -192,15 +193,15 @@ ...@@ -192,15 +193,15 @@
<div class="tit">电量消耗</div> <div class="tit">电量消耗</div>
<div class="left"> <div class="left">
<div> <div>
<span>{{ (overviewList.totalElec / 10000).toFixed(2) }}</span <span>{{ (overviewList.totalElec / 10000).toFixed(2) }}</span>
>A A
</div> </div>
<div class="sub">电总耗</div> <div class="sub">电总耗</div>
</div> </div>
<div class="right"> <div class="right">
<div> <div>
<span>{{ (overviewList.elecUc / 10000).toFixed(2) }}</span <span>{{ (overviewList.elecUc / 10000).toFixed(2) }}</span>
>Kwh/㎡ Kwh/㎡
</div> </div>
<div class="sub">电单耗</div> <div class="sub">电单耗</div>
</div> </div>
...@@ -215,15 +216,17 @@ ...@@ -215,15 +216,17 @@
<div class="tit">水量消耗</div> <div class="tit">水量消耗</div>
<div class="left"> <div class="left">
<div> <div>
<span>{{ (overviewList.totalWater / 10000).toFixed(2) }}</span <span>{{
>T (overviewList.totalWater / 10000).toFixed(2)
}}</span>
T
</div> </div>
<div class="sub">水总耗</div> <div class="sub">水总耗</div>
</div> </div>
<div class="right"> <div class="right">
<div> <div>
<span>{{ (overviewList.waterUc / 10000).toFixed(2) }}</span <span>{{ (overviewList.waterUc / 10000).toFixed(2) }}</span>
>kg/㎡ kg/㎡
</div> </div>
<div class="sub">水单耗</div> <div class="sub">水单耗</div>
</div> </div>
...@@ -245,7 +248,7 @@ ...@@ -245,7 +248,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>热单耗(W/㎡)</th>
</tr> </tr>
<tr v-for="item in topHeatUCList.value" :key="item.rankingIndex"> <tr v-for="item in topHeatUCList.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -267,7 +270,7 @@ ...@@ -267,7 +270,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>热耗(W/(㎡×℃))</th>
</tr> </tr>
<tr v-for="item in topDayHeatUC.value" :key="item.rankingIndex"> <tr v-for="item in topDayHeatUC.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -289,7 +292,7 @@ ...@@ -289,7 +292,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>水单耗(Kg/㎡)</th>
</tr> </tr>
<tr v-for="item in topWaterUC.value" :key="item.rankingIndex"> <tr v-for="item in topWaterUC.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -311,7 +314,7 @@ ...@@ -311,7 +314,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>电单耗(Kwh/㎡)</th>
</tr> </tr>
<tr v-for="item in topElecUC.value" :key="item.rankingIndex"> <tr v-for="item in topElecUC.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -333,7 +336,7 @@ ...@@ -333,7 +336,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>一网回温(℃)</th>
</tr> </tr>
<tr v-for="item in topElecUC.value" :key="item.rankingIndex"> <tr v-for="item in topElecUC.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -355,7 +358,7 @@ ...@@ -355,7 +358,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>流量(t/h/万㎡)</th>
</tr> </tr>
<tr v-for="item in topFirsFlow.value" :key="item.rankingIndex"> <tr v-for="item in topFirsFlow.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -377,7 +380,7 @@ ...@@ -377,7 +380,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>热效率</th>
</tr> </tr>
<tr v-for="item in topFirsFlow.value" :key="item.rankingIndex"> <tr v-for="item in topFirsFlow.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -399,7 +402,7 @@ ...@@ -399,7 +402,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>板换效率(%)</th>
</tr> </tr>
<tr v-for="item in topBHXLXJ1.value" :key="item.rankingIndex"> <tr v-for="item in topBHXLXJ1.value" :key="item.rankingIndex">
<td>{{ item.rankingIndex }}</td> <td>{{ item.rankingIndex }}</td>
...@@ -421,7 +424,7 @@ ...@@ -421,7 +424,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>二网均温(℃)</th>
</tr> </tr>
<tr <tr
v-for="item in topSecondTempAvg.value" v-for="item in topSecondTempAvg.value"
...@@ -446,7 +449,7 @@ ...@@ -446,7 +449,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>二网温差(℃)</th>
</tr> </tr>
<tr <tr
v-for="item in topSecondTempAvg.value" v-for="item in topSecondTempAvg.value"
...@@ -471,7 +474,7 @@ ...@@ -471,7 +474,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>二网瞬时(t/h)</th>
</tr> </tr>
<tr <tr
v-for="item in topSecondTempAvg.value" v-for="item in topSecondTempAvg.value"
...@@ -496,7 +499,7 @@ ...@@ -496,7 +499,7 @@
<th>排名</th> <th>排名</th>
<th>供热站名称</th> <th>供热站名称</th>
<th>机组名称</th> <th>机组名称</th>
<th>数据</th> <th>流量(t/h/万㎡)</th>
</tr> </tr>
<tr <tr
v-for="item in topSecondTempAvg.value" v-for="item in topSecondTempAvg.value"
...@@ -604,6 +607,7 @@ const topFirsFlow = reactive({}); ...@@ -604,6 +607,7 @@ const topFirsFlow = reactive({});
const topBHXL = reactive({}); const topBHXL = reactive({});
const topBHXLXJ1 = reactive({}); const topBHXLXJ1 = reactive({});
const topSecondTempAvg = reactive({}); const topSecondTempAvg = reactive({});
const fullscreenLoading = ref(false);
const rules = { const rules = {
transferId: [{ required: true, message: "请选择换热机组", trigger: "blur" }], transferId: [{ required: true, message: "请选择换热机组", trigger: "blur" }],
startTime: [{ required: true, message: "请选择开始时间", trigger: "blur" }], startTime: [{ required: true, message: "请选择开始时间", trigger: "blur" }],
...@@ -669,13 +673,14 @@ function timeFun() { ...@@ -669,13 +673,14 @@ function timeFun() {
//换热站机组排名页概况 //换热站机组排名页概况
function postOverviewFun(enertySend) { function postOverviewFun(enertySend) {
fullscreenLoading.value = true;
postOverview(enertySend).then((res) => { postOverview(enertySend).then((res) => {
if (res.success === true) { if (res.success === true) {
overviewList.value = res.data[0]; overviewList.value = res.data[0];
console.log(overviewList);
} else { } else {
ElMessage.error(res.message); ElMessage.error(res.message);
} }
fullscreenLoading.value = false;
}); });
} }
......
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