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 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/databoard/kiln/GasHandle.vue b/src/views/databoard/kiln/GasHandle.vue index 6eceaded..6937de1b 100644 --- a/src/views/databoard/kiln/GasHandle.vue +++ b/src/views/databoard/kiln/GasHandle.vue @@ -16,7 +16,7 @@ style=" font-size: 20px; line-height: 1.24; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 3px; @@ -30,12 +30,12 @@ style=" font-size: 20px; line-height: 1.5; - flex: 1.2; + flex: 1; text-align: right; padding-right: 8px; letter-spacing: 3px; "> -

一氧化氮

+

氮氧化物

排放浓度

{{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; "> + :options="['氧气含量', '二氧化硫', '氮氧化物', '颗粒物']" @emitFun='toggleType' :active='chartType'/>
diff --git a/src/views/databoard/wholePlant/OrderStatus.vue b/src/views/databoard/wholePlant/OrderStatus.vue index f2c64752..e2ef9be3 100644 --- a/src/views/databoard/wholePlant/OrderStatus.vue +++ b/src/views/databoard/wholePlant/OrderStatus.vue @@ -22,12 +22,10 @@ export default { return { config: { header: ['上线时间', '客户名称', '规格','完成度'], - // headerHeight: '17', headerBGC: 'rgba(32, 55, 96, 0.8)', oddRowBGC: 'rgba(32, 55, 96, 0.8)', evenRowBGC: 'rgba(14, 32, 62, 0.8)', columnWidth: [155, 180, 150], - align: ['center'], data: [], rowNum: 6 } diff --git a/src/views/databoard/wholePlant/YieldRate.vue b/src/views/databoard/wholePlant/YieldRate.vue index b0d23bab..521e5875 100644 --- a/src/views/databoard/wholePlant/YieldRate.vue +++ b/src/views/databoard/wholePlant/YieldRate.vue @@ -51,7 +51,6 @@ export default { oddRowBGC: 'rgba(32, 55, 96, 0.8)', evenRowBGC: 'rgba(14, 32, 62, 0.8)', columnWidth: [60], - align: ['center'], data: [], rowNum: 5 }, -- 2.45.2