修改pm图例没有显示pm2.5问题

修改机械分厂环境pm显示异常问题
This commit is contained in:
15133876896-BGG25 2023-05-16 18:01:49 +08:00
parent 24a18a8f9b
commit a61aaa8481
4 changed files with 14 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*
* @FilePath: \wwwd:\code\screenFront\src\locales\lang\en.ts
* @FilePath: \gitscreenFront\src\locales\lang\en.ts
* @Author:
* @文件版本: V1.0.0
* @Date: 2023-05-04 16:36:13
@ -196,9 +196,9 @@ export default {
'gasDetection':'Gas Test',
'CH2ODetection':'Alcohol Test',
'flameDetection':'Fire Test',
'EastPumpPressure_Mpa':'East Pump Room Air Pressure(Mpa)',
'WestPumpPressure_Mpa':'West Pump Room Air Pressure(Mpa)',
'PipelinePressure_Mpa':'Pipeline Pressure(Mpa)',
'EastPumpPressure_Mpa':'East Pump Room Air Pressure',
'WestPumpPressure_Mpa':'West Pump Room Air Pressure',
'PipelinePressure_Mpa':'Pipeline Pressure',
'normal_Tip':'Normal',
'abnormal_Tip':'Abnormal',
'abnormal_Tip_yishang':'Above',

View File

@ -1,5 +1,5 @@
/*
* @FilePath: \wwwd:\code\screenFront\src\locales\lang\zh.ts
* @FilePath: \gitscreenFront\src\locales\lang\zh.ts
* @Author:
* @文件版本: V1.0.0
* @Date: 2023-05-04 16:36:13
@ -196,9 +196,9 @@ export default {
'gasDetection':'燃气检测',
'CH2ODetection':'甲醛检测',
'flameDetection':'明火检测',
'EastPumpPressure_Mpa':'东泵房气压Mpa',
'WestPumpPressure_Mpa':'西泵房气压Mpa',
'PipelinePressure_Mpa':'管道压力(Mpa)',
'EastPumpPressure_Mpa':'东泵房气压',
'WestPumpPressure_Mpa':'西泵房气压',
'PipelinePressure_Mpa':'管道压力',
'normal_Tip':'正常',
'abnormal_Tip':'异常',
'abnormal_Tip_yishang':'以上',

View File

@ -1,5 +1,5 @@
<!--
* @FilePath: \screenFront\src\views\PaintShopView\components\pm.vue
* @FilePath: \gitscreenFront\src\views\PaintShopView\components\pm.vue
* @Author: 王路平
* @文件版本: V1.0.0
* @Date: 2023-02-10 13:27:36
@ -121,7 +121,7 @@ const setData = (value: any) => {
color: "inherit",
},
title: {
show: false,
// show: false,
offsetCenter: [0, "-20%"],
},
data: [

View File

@ -144,16 +144,16 @@ async function getPmData(){
let data={welding:{two:null,ten:null},stuff:{two:null,ten:null},ornaments:{two:null,ten:null}}
if(resulttwo.code==200){
resulttwo.data.forEach(res=>{
if(data[res.name]){
data[res.name].two=res.value
if(data[res.enName]){
data[res.enName].two=res.value
}
})
}
if(resultten.code==200){
resultten.data.forEach(res=>{
if(data[res.name]){
data[res.name].ten=res.value
if(data[res.enName]){
data[res.enName].ten=res.value
}
})
}