feat: 修改大屏内容
This commit is contained in:
parent
d190c47c3b
commit
b2c8254976
|
@ -255,6 +255,15 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="elecItem">
|
||||
<div class="elecItem_wrap">
|
||||
<span>水泥包装工序电耗</span>
|
||||
<p class="elec_number">
|
||||
{{ hotData.bz_elec_consume_unit }}
|
||||
<span class="elec_unit">kw.h/t</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -453,6 +462,7 @@ export default {
|
|||
cen_consume_unit: "", //综合能耗
|
||||
sn_cen_consume_unit: "", //水泥综合能耗
|
||||
sn_elec_consume_unit: "",//水泥分布电耗
|
||||
bz_elec_consume_unit: "",//水泥包装分布电耗
|
||||
},
|
||||
tableData: [],
|
||||
tezhongData: [],
|
||||
|
@ -1088,6 +1098,22 @@ export default {
|
|||
that.hotData.sn_cen_consume_unit = ress[0].cen_consume_unit;
|
||||
});
|
||||
});
|
||||
this.$API.mtm.mgroup.list
|
||||
.req({ page: 0, search: "水泥包装" })
|
||||
.then((res) => {
|
||||
that.yurefadianId = res[0].id;
|
||||
let params = {};
|
||||
params.page = 0;
|
||||
params.year_s = that.currentYear;
|
||||
params.month_s = that.currentMonth;
|
||||
params.type = "month_s";
|
||||
params.mgroup = that.yurefadianId;
|
||||
this.$API.enm.enstat.req(params).then((ress) => {
|
||||
that.hotData.bz_elec_consume_unit =
|
||||
ress[0].elec_consume_unit;
|
||||
that.hotData.sn_cen_consume_unit = ress[0].cen_consume_unit;
|
||||
});
|
||||
});
|
||||
},
|
||||
// this.$API.enm.mpoint.list
|
||||
// .req({
|
||||
|
|
Loading…
Reference in New Issue