From d524063ea1d6ea06be8e7269313789a09713dd5b Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 18 Jul 2024 16:40:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E5=AD=90=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=A3=80=E9=AA=8C=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bigScreen/index_enm_ly.vue | 63 +++--- src/views/qm/inm.vue | 227 +++++++++++++--------- src/views/statistics/total_statistics.vue | 11 +- 3 files changed, 168 insertions(+), 133 deletions(-) diff --git a/src/views/bigScreen/index_enm_ly.vue b/src/views/bigScreen/index_enm_ly.vue index 09cb95d2..007460ee 100644 --- a/src/views/bigScreen/index_enm_ly.vue +++ b/src/views/bigScreen/index_enm_ly.vue @@ -2,7 +2,7 @@
@@ -19,7 +19,7 @@
- 熟料产量 + 产量
{{ totalData.total_production }}
@@ -33,7 +33,7 @@
- 吨熟料综合电耗 + 综合电耗
{{ totalData.celec_consume_unit }}
@@ -75,7 +75,7 @@
-
熟料产量
+
产量
@@ -215,14 +215,14 @@
质量分析
- +
@@ -252,7 +252,7 @@
- 吨熟料发电量 + 发电量

{{ hotData.production_elec_unit }} kwh @@ -630,7 +630,8 @@ export default { }, mounted() { let that = this; - that.factoryName = that.$TOOL.data.get("BASE_INFO").base.base_name; + that.bigScreenName = + that.$TOOL.data.get("BASE_INFO").base.bigScreen_name; that.showTime(); that.addListener(); //一天的毫秒数 @@ -744,30 +745,30 @@ export default { let chartDom = document.getElementById("line1"); let myChart = echarts.init(chartDom); option1.legend.data = [ - { - name: "熟料", - textStyle: { - color: "#fff", - }, - borderRadius: 2, - itemStyle: { - color: that.linearGradientColors[0], - }, - }, - { - name: "特种熟料", - textStyle: { - color: "#fff", - }, - borderRadius: 2, - itemStyle: { - color: that.linearGradientColors[1], - }, - }, + // { + // name: "熟料", + // textStyle: { + // color: "#fff", + // }, + // borderRadius: 2, + // itemStyle: { + // color: that.linearGradientColors[0], + // }, + // }, + // { + // name: "特种熟料", + // textStyle: { + // color: "#fff", + // }, + // borderRadius: 2, + // itemStyle: { + // color: that.linearGradientColors[1], + // }, + // }, ]; option1.series = [ { - name: "熟料", + name: "", type: "line", stack: "Total", smooth: true, @@ -785,7 +786,7 @@ export default { data: seriesData, }, { - name: "特种熟料", + name: "", type: "line", stack: "Total", smooth: true, @@ -1484,7 +1485,7 @@ export default { value: res[0].run_rate, }, { - label: "吨熟料发电量(kwh/t)", + label: "发电量(kwh/t)", field: "production_elec_unit", value: res[0].production_elec_unit ? res[0].production_elec_unit diff --git a/src/views/qm/inm.vue b/src/views/qm/inm.vue index 1eef5afc..071c9139 100644 --- a/src/views/qm/inm.vue +++ b/src/views/qm/inm.vue @@ -1,98 +1,139 @@ \ No newline at end of file + diff --git a/src/views/statistics/total_statistics.vue b/src/views/statistics/total_statistics.vue index f7a61374..09e504fd 100644 --- a/src/views/statistics/total_statistics.vue +++ b/src/views/statistics/total_statistics.vue @@ -83,11 +83,6 @@ prop="仓库库存" > - - @@ -287,7 +282,6 @@ export default { 规格: "", 合格数: 0, 仓库库存: 0, - 未退火: 0, 退火: 0, 库存: 0, 开槽: 0, @@ -311,7 +305,7 @@ export default { item5.车间 == "8车间" && item5.工序 == "管料成型" ) { - key = "未退火"; + key = "仓库库存"; } else if ( item5.车间 == "8车间" && item5.工序 == "管料退火" @@ -338,12 +332,11 @@ export default { ) { key = "配棒"; } - obj[key] = item5.数量; + obj[key] = obj[key] + item5.数量; }); obj.合计 = obj.合格数 + obj.仓库库存 + - obj.未退火 + obj.退火 + obj.库存 + obj.开槽 +