diff --git a/src/utils/enum.js b/src/utils/enum.js index 4d671134..91e511ac 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -117,4 +117,27 @@ export const mpointGatherStateEnum = new EnumFactory({ "0": { text: '正常', type: 'success' }, "-1": { text: '错误', type: 'danger' }, "-2": { text: '无', type: 'info' }, -}, parseInt) \ No newline at end of file +}, parseInt) + + +export const enpfieldEnum = new EnumFactory({ + 'running_state': '运行状态', + 'dust_rtd': '颗粒物实测(mg/m3)', + 'dust_zs': '颗粒物折算(mg/m3)', + 'temperature': '温度(℃)', + 'pressure': '压力(kPa)', + 'speed': '流速(m/s)', + 'humidity': '湿度(%)', + 'flux': '流量(m3/h)', + 'pm25': 'PM2.5(ug/m3)', + 'pm10': 'PM10(ug/m3)', + 'tsp': 'TSP(ug/m3)', + 'wind_direction': '风向', + 'wind_speed': '风速(m/s)', + 'so2_rtd': '风向', + 'so2_rtd': '二氧化硫实测(mg/m3)', + 'so2_zs': '二氧化硫折算(mg/m3)', + 'nox_rtd': '氮氧化物实测(mg/m3)', + 'nox_zs': '氮氧化物折算(mg/m3)', + 'o2': '含氧量(%)', +}) \ No newline at end of file diff --git a/src/views/em/mpoint_form.vue b/src/views/em/mpoint_form.vue index 2ab908f4..aaec0640 100644 --- a/src/views/em/mpoint_form.vue +++ b/src/views/em/mpoint_form.vue @@ -31,16 +31,11 @@ - + - - - - - + + + + + + + + + + + + + + + + +