This commit is contained in:
zhaohy
2024-08-22 09:15:55 +08:00
9 changed files with 961 additions and 156 deletions

View File

@@ -60,7 +60,7 @@
v-if="runMode.value == 2 || runMode.value == 4"
src="../../image/liftState/wind-hot.svg"
alt="" />
<img v-if="runMode.value == 0" src="../../image/liftState/switch-on.svg" alt="" />
<img v-if="runMode.value == 0" src="../../image/liftState/switch-off.svg" alt="" />
</div>
</div>
<!-- 冷风 热风 -->
@@ -93,9 +93,7 @@
const switchStatus = computed(() => {
return props.dataSource.record.switchStatus;
});
onMounted(() => {
console.log(props.dataSource, 'pppppppppppp');
});
onMounted(() => {});
</script>
<style lang="less" scoped>
.box-model {

View File

@@ -443,13 +443,13 @@
});
};
// 温度数组
const sensorData = ref([]);
const sensorData = ref<any>([]);
// 湿度数组
const humidityData = ref([]);
const humidityData = ref<any>([]);
// PM2.5数组
const pmData = ref([]);
const pmData = ref<any>([]);
// 二氧化碳 浓度
const CO2Data = ref([]);
const CO2Data = ref<any>([]);
// 排风扇
const fanData = ref([]);
// 风幕机