From 90be2a826b318ee534865e9082a49db4b9f718ed Mon Sep 17 00:00:00 2001
From: juzi <819872918@qq.com>
Date: Fri, 12 Jan 2024 09:45:36 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A9=BE=E9=A9=B6=E8=88=B1=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.stage | 5 +
.../databoard/components/DefectChart.vue | 12 +-
.../databoard/components/DefectClassChart.vue | 2 +-
.../components/EnergeMonitoringChart.vue | 4 +-
.../databoard/components/FlueGasChart.vue | 4 +-
src/views/databoard/components/Switcher.vue | 2 +
.../databoard/components/YieldRateChart.vue | 16 +--
.../databoard/deepProcessing/BottomTwo.vue | 6 +-
.../databoard/deepProcessing/DefectSum.vue | 2 +-
.../databoard/deepProcessing/EqAlarm.vue | 22 +--
.../databoard/deepProcessing/TopThree.vue | 6 +-
.../deepProcessing/WorkOrderMonitoring.vue | 136 ++++--------------
src/views/databoard/kiln/GasHandle.vue | 12 +-
.../databoard/wholePlant/OrderStatus.vue | 2 -
src/views/databoard/wholePlant/YieldRate.vue | 1 -
15 files changed, 80 insertions(+), 152 deletions(-)
diff --git a/.env.stage b/.env.stage
index ccbf9ae6..6c48b2dc 100644
--- a/.env.stage
+++ b/.env.stage
@@ -7,6 +7,11 @@ VUE_APP_TITLE = MES系统
# 芋道管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
+# dcs地址
+VUE_APP_Socket_Dcs_API = 'ws://10.70.180.10:8081'
+# socket地址
+VUE_APP_Socket_API = 'ws://10.70.2.2:8080'
+
# 积木报表指向地址
VUE_APP_JIMU_API = 'http://192.168.0.33:48082'
diff --git a/src/views/databoard/components/DefectChart.vue b/src/views/databoard/components/DefectChart.vue
index beb0a546..825e5adf 100644
--- a/src/views/databoard/components/DefectChart.vue
+++ b/src/views/databoard/components/DefectChart.vue
@@ -127,11 +127,13 @@ export default {
obj.name = this.israCheckType[i]
obj.barWidth = 12
obj.data = []
- obj.labe = {
- show: true,
- position: 'inside',
- distance: 10,
- color: "red"
+ if (i === this.israCheckType.length-1) {
+ obj.label = {
+ show: true,
+ position: 'top',
+ color: "#fffc",
+ formatter: (params)=>this.tempData[params.dataIndex].sum
+ }
}
for (let j = 0;j < this.tempData.length; j++) {
let num = 0
diff --git a/src/views/databoard/components/DefectClassChart.vue b/src/views/databoard/components/DefectClassChart.vue
index eb36ebee..6c3fc546 100644
--- a/src/views/databoard/components/DefectClassChart.vue
+++ b/src/views/databoard/components/DefectClassChart.vue
@@ -96,7 +96,7 @@ export default {
},
},
yAxis: {
- name: "单位/次",
+ name: "单位/个",
nameTextStyle: {
color: "#fff",
fontSize: 10,
diff --git a/src/views/databoard/components/EnergeMonitoringChart.vue b/src/views/databoard/components/EnergeMonitoringChart.vue
index 70d908bb..f940a311 100644
--- a/src/views/databoard/components/EnergeMonitoringChart.vue
+++ b/src/views/databoard/components/EnergeMonitoringChart.vue
@@ -1,7 +1,7 @@
一氧化氮
+氮氧化物
排放浓度
{{exhaustGasInfo?.NOX_float ? (Number(exhaustGasInfo.NOX_float)).toFixed(2) : ''}}mg/m³ @@ -46,7 +46,7 @@ style=" font-size: 20px; line-height: 1.5; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 3px; @@ -62,7 +62,7 @@ style=" font-size: 20px; line-height: 1.24; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 1px; @@ -95,7 +95,7 @@ justify-content: space-between; ">