diff --git a/src/views/bigScreen/index_enm.vue b/src/views/bigScreen/index_enm.vue index 53e985d5..9beb5d19 100644 --- a/src/views/bigScreen/index_enm.vue +++ b/src/views/bigScreen/index_enm.vue @@ -255,6 +255,15 @@

+
+
+ 水泥包装工序电耗 +

+ {{ hotData.bz_elec_consume_unit }} + kw.h/t +

+
+
@@ -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({