|
|
@ -157,9 +157,9 @@ |
|
|
|
</template> --> |
|
|
|
</el-dropdown> |
|
|
|
<div style="width: 100px"> |
|
|
|
<el-tag effect="dark" type="danger" v-show="deviceStore.sensorState?.pboxTemperature > plateBoxTemperature">温度: 高</el-tag> |
|
|
|
<el-tag effect="dark" type="danger" v-show="deviceStore.sensorState?.pboxTemperature < plateBoxTemperature">温度: 低</el-tag> |
|
|
|
<el-tag effect="dark" type="success" v-show="deviceStore.sensorState?.pboxTemperature == plateBoxTemperature">温度: 好</el-tag> |
|
|
|
<el-tag effect="dark" type="danger" v-show="deviceStore.sensorState?.incubateBoxTemperature > incubateBoxTemperature">温度: 高</el-tag> |
|
|
|
<el-tag effect="dark" type="danger" v-show="deviceStore.sensorState?.incubateBoxTemperature < incubateBoxTemperature">温度: 低</el-tag> |
|
|
|
<el-tag effect="dark" type="success" v-show="deviceStore.sensorState?.incubateBoxTemperature == incubateBoxTemperature">温度: 好</el-tag> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -502,8 +502,8 @@ const router = useRouter() |
|
|
|
const route = useRoute() |
|
|
|
|
|
|
|
|
|
|
|
const plateBoxTemperature = computed(() => { |
|
|
|
return systemStore.systemInfo?.plateBoxTemperature || 0 |
|
|
|
const incubateBoxTemperature = computed(() => { |
|
|
|
return systemStore.systemInfo?.incubateBoxTemperature || 0 |
|
|
|
}) |
|
|
|
// 获取系统设置 |
|
|
|
const fetchSettings = async () => { |
|
|
|