From b2c82549763f24c454c0acb63a2c8dc52d592772 Mon Sep 17 00:00:00 2001
From: zty
Date: Thu, 7 Nov 2024 09:55:34 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=A4=A7=E5=B1=8F?=
=?UTF-8?q?=E5=86=85=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/bigScreen/index_enm.vue | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
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({