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 },