|
|
@ -157,9 +157,9 @@ |
|
|
|
</template> --> |
|
|
|
</el-dropdown> |
|
|
|
<div style="width: 100px"> |
|
|
|
<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> |
|
|
|
<el-tag effect="dark" type="danger" v-show="deviceStore.sensorState?.incubateBoxTemperatureState === 'High'">温度: 高</el-tag> |
|
|
|
<el-tag effect="dark" type="danger" v-show="deviceStore.sensorState?.incubateBoxTemperatureState === 'Low'">温度: 低</el-tag> |
|
|
|
<el-tag effect="dark" type="success" v-show="deviceStore.sensorState?.incubateBoxTemperatureState === 'Ready'">温度: 好</el-tag> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -501,10 +501,6 @@ const confirmRestore = () => { |
|
|
|
const router = useRouter() |
|
|
|
const route = useRoute() |
|
|
|
|
|
|
|
|
|
|
|
const incubateBoxTemperature = computed(() => { |
|
|
|
return systemStore.systemInfo?.incubateBoxTemperature || 0 |
|
|
|
}) |
|
|
|
// 获取系统设置 |
|
|
|
const fetchSettings = async () => { |
|
|
|
try { |
|
|
@ -1050,7 +1046,7 @@ const startTest = async () => { |
|
|
|
return |
|
|
|
} |
|
|
|
try { |
|
|
|
if (deviceStore.sensorState?.incubateBoxTemperature != incubateBoxTemperature) { |
|
|
|
if (deviceStore.sensorState?.incubateBoxTemperatureState !== 'Ready') { |
|
|
|
warnMessage.value = '温度异常, 禁止测试' |
|
|
|
showWarnModal.value =true |
|
|
|
return |
|
|
|