|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<el-row class="ac-list" :gutter="40" type="flex" justify="center">
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<div class="ac">
|
|
|
|
|
<el-row class="info">
|
|
|
|
|
<el-col class="left" :span="24">
|
|
|
|
|
<el-row class="info" :gutter="20">
|
|
|
|
|
<el-col class="left" :span="12" v-for="(item,index) in humidity_list" :key="index">
|
|
|
|
|
<img src="../../../assets/imgs/温湿度.png" alt="" />
|
|
|
|
|
<div>设备型号:{{ humidity_list == null ? '--' : humidity_list.equipmentType }}</div>
|
|
|
|
|
<div>设备型号:{{ humidity_list == null ? '--' : item.equipmentType }}</div>
|
|
|
|
|
<!-- <div>传感器位置 -- {{ item.label }}</div> -->
|
|
|
|
|
<div>湿度(%RH): {{ humidity_list == null ? '--' : humidity_list.humidness }}</div>
|
|
|
|
|
<div>温度(°C): {{ humidity_list == null ? '--' : humidity_list.temperature }}</div>
|
|
|
|
|
<div>湿度(%RH): {{ humidity_list == null ? '--' : item.humidness }}</div>
|
|
|
|
|
<div>温度(°C): {{ humidity_list == null ? '--' : item.temperature }}</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<div class="op"></div>
|
|
|
|
@ -55,6 +55,7 @@ onMounted(async () => {
|
|
|
|
|
|
|
|
|
|
const handleQuery = async () => {
|
|
|
|
|
var res = await getAPI(SysChargeMonitorApi).apiGetHumitureGet();
|
|
|
|
|
// console.log(res, "res")
|
|
|
|
|
humidity_list.value = res.data;
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|