|
|
@ -70,8 +70,58 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</uni-section>
|
|
|
|
</uni-section>
|
|
|
|
|
|
|
|
<uni-section title="环境监测仪" type="line" >
|
|
|
|
|
|
|
|
<u-collapse accordion class="first-class">
|
|
|
|
|
|
|
|
<u-collapse-item
|
|
|
|
|
|
|
|
name="index"
|
|
|
|
|
|
|
|
:title="envData.environmentName"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="flex flex-center">
|
|
|
|
|
|
|
|
<table border="1" class="env-table" >
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>辐照强度</td>
|
|
|
|
|
|
|
|
<td >{{ envData.irradiationStrength }} W/㎡</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>日辐射累计</td>
|
|
|
|
|
|
|
|
<td>{{ envData.dayIrradiation }} MJ/㎡</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>大气温度</td>
|
|
|
|
|
|
|
|
<td>{{ envData.atmosphericTemperature }}°C</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>贴片温度</td>
|
|
|
|
|
|
|
|
<td>{{ envData.patchTemperature }}°C</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>湿度</td>
|
|
|
|
|
|
|
|
<td>{{ envData.humidity }} %RH</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>累计峰值日照数</td>
|
|
|
|
|
|
|
|
<td>{{ envData.sunshineTop }} h</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>风向</td>
|
|
|
|
|
|
|
|
<td>{{ envData.windDirection }}゜</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>风速</td>
|
|
|
|
|
|
|
|
<td>{{ envData.windSpeed }} m/s</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</u-collapse-item>
|
|
|
|
|
|
|
|
</u-collapse>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</uni-section>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="station-content">
|
|
|
|
<view class="station-content">
|
|
|
|
|
|
|
|
|
|
|
|
<uni-section title="采集器" type="line">
|
|
|
|
<uni-section title="采集器" type="line">
|
|
|
|
<template v-slot:right >
|
|
|
|
<template v-slot:right >
|
|
|
|
<view class="second-status" :class="allOffLineState ? 'z4' : 'z1'" v-show="showSecond" @click="handleGetStatus">
|
|
|
|
<view class="second-status" :class="allOffLineState ? 'z4' : 'z1'" v-show="showSecond" @click="handleGetStatus">
|
|
|
@ -193,7 +243,7 @@
|
|
|
|
<u-action-sheet
|
|
|
|
<u-action-sheet
|
|
|
|
:show="show4"
|
|
|
|
:show="show4"
|
|
|
|
@close="show4 = false"
|
|
|
|
@close="show4 = false"
|
|
|
|
title="标题位置"
|
|
|
|
title=""
|
|
|
|
:round="10"
|
|
|
|
:round="10"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
@ -258,6 +308,7 @@ export default {
|
|
|
|
selectStations: uni.getStorageSync('_pro_selectStation') || [],
|
|
|
|
selectStations: uni.getStorageSync('_pro_selectStation') || [],
|
|
|
|
accordionVal:'1',
|
|
|
|
accordionVal:'1',
|
|
|
|
station: {},
|
|
|
|
station: {},
|
|
|
|
|
|
|
|
envData: {},
|
|
|
|
type: 'first',
|
|
|
|
type: 'first',
|
|
|
|
firstList: [],
|
|
|
|
firstList: [],
|
|
|
|
secondList: [],
|
|
|
|
secondList: [],
|
|
|
@ -341,9 +392,11 @@ export default {
|
|
|
|
return v
|
|
|
|
return v
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.firstList = this.handleFilterArray(_data)
|
|
|
|
this.firstList = this.handleFilterArray(_data)
|
|
|
|
|
|
|
|
this.envData = _data.length > 0 ? _data[0] : {}
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.secondData = this.handleFilterSecondArr(res.data.data)
|
|
|
|
this.secondData = this.handleFilterSecondArr(res.data.data)
|
|
|
|
|
|
|
|
this.envData = this.secondData
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -575,7 +628,7 @@ html, body {
|
|
|
|
margin-top:5upx;
|
|
|
|
margin-top:5upx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
table {
|
|
|
|
table {
|
|
|
|
font-size: 18upx;
|
|
|
|
font-size: 28upx;
|
|
|
|
td {
|
|
|
|
td {
|
|
|
|
padding: 4upx 10upx;
|
|
|
|
padding: 4upx 10upx;
|
|
|
|
//padding-left: 20px;
|
|
|
|
//padding-left: 20px;
|
|
|
@ -783,4 +836,11 @@ html, body {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.env-table {
|
|
|
|
|
|
|
|
border-color: #888;
|
|
|
|
|
|
|
|
color: #ccc;
|
|
|
|
|
|
|
|
td {
|
|
|
|
|
|
|
|
padding: 0 8upx;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|