Browse Source

fix: 温度湿度0替换为--

master
guoapeng 2 weeks ago
parent
commit
ff3e774d3f
  1. 6
      src/components/home/Environment/index.vue
  2. 6
      src/views/main/index.vue
  3. 6
      src/views/spraySet/index.vue

6
src/components/home/Environment/index.vue

@ -166,7 +166,7 @@ const onClose = async () => {
<div style="display: flex; align-items: center; margin: 10px 0;font-size: 15px;justify-content: center;">
<div style="display: flex; align-items: center; width: 20%; margin-right: 30px">
<span>当前湿度</span>
<span class="num-text">{{ systemStore.systemSensor.humidity }}</span>
<span class="num-text">{{ systemStore.systemSensor.humidity || '--' }}</span>
<span>%RH</span>
</div>
<div style="display: flex; align-items: center; width: 30%; margin-right: 30px">
@ -184,7 +184,7 @@ const onClose = async () => {
<div style="display: flex; align-items: center; margin-top: 10px;font-size: 15px;justify-content: center;">
<div style="display: flex; align-items: center; width:20%; margin-right: 30px">
<span>载玻台温度</span>
<span class="num-text">{{ systemStore.systemSensor.slideTemperature }}</span>
<span class="num-text">{{ systemStore.systemSensor.slideTemperature || '--' }}</span>
<span></span>
</div>
<div style="display: flex; align-items: center; width: 30%; margin-right: 30px">
@ -202,7 +202,7 @@ const onClose = async () => {
<div style="display: flex; align-items: center; margin-top: 10px;font-size: 15px;justify-content: center;">
<div style="display: flex; align-items: center; width: 20%; margin-right: 30px">
<span>喷头温度</span>
<span class="num-text">{{ systemStore.systemSensor.nozzleTemperature }}</span>
<span class="num-text">{{ systemStore.systemSensor.nozzleTemperature || '--' }}</span>
<span></span>
</div>
<div style="display: flex; align-items: center; width: 30%; margin-right: 30px">

6
src/views/main/index.vue

@ -206,19 +206,19 @@ const backHandle = () => {
<div>
<ft-button type="info" :click-handle="environmentSet">
<img v-if="systemStore.systemStatus.dehumidifierRunning" src="../../assets/images/dehumidifier.svg" alt="" width="15px">
<span style="padding: 0 3px">当前湿度: {{ systemStore.systemSensor.humidity }}%RH</span>
<span style="padding: 0 3px">当前湿度: {{ systemStore.systemSensor.humidity || '--' }}%RH</span>
</ft-button>
</div>
<div>
<ft-button type="info" :click-handle="environmentSet">
<img v-if="systemStore.systemStatus.nozzleHeating" src="../../assets/images/heat_icon.svg" alt="" width="12px">
<span style="padding: 0 3px">喷头温度: {{ systemStore.systemSensor.nozzleTemperature }}</span>
<span style="padding: 0 3px">喷头温度: {{ systemStore.systemSensor.nozzleTemperature || '--' }}</span>
</ft-button>
</div>
<div>
<ft-button type="info" :click-handle="environmentSet">
<img v-if="systemStore.systemStatus.slidePlatHeating" src="../../assets/images/heat_icon.svg" alt="" width="12px">
<span style="padding: 0 3px">载玻台温度: {{ systemStore.systemSensor.slideTemperature }}</span>
<span style="padding: 0 3px">载玻台温度: {{ systemStore.systemSensor.slideTemperature || '--' }}</span>
</ft-button>
</div>
<div>

6
src/views/spraySet/index.vue

@ -404,7 +404,7 @@ const nozzleStop = async () => {
<div style="display: flex; align-items: center; margin-top: 10px">
<div style="display: flex; align-items: center; width: 20%; margin-right: 30px">
<span>当前湿度</span>
<span class="num-text">{{ systemStore.systemSensor.humidity }}</span>
<span class="num-text">{{ systemStore.systemSensor.humidity || '--' }}</span>
<span>%RH</span>
</div>
<div style="display: flex; align-items: center; width: 30%; margin-right: 30px">
@ -422,7 +422,7 @@ const nozzleStop = async () => {
<div style="display: flex; align-items: center; margin-top: 10px">
<div style="display: flex; align-items: center; width: 20%; margin-right: 30px">
<span>当前喷头温度</span>
<span class="num-text">{{ systemStore.systemSensor.nozzleTemperature }}</span>
<span class="num-text">{{ systemStore.systemSensor.nozzleTemperature || '--' }}</span>
<span></span>
</div>
<div style="display: flex; align-items: center; width: 30%; margin-right: 30px">
@ -440,7 +440,7 @@ const nozzleStop = async () => {
<div style="display: flex; align-items: center; margin-top: 10px">
<div style="display: flex; align-items: center; width:20%; margin-right: 30px">
<span>当前载玻台温度</span>
<span class="num-text">{{ systemStore.systemSensor.slideTemperature }}</span>
<span class="num-text">{{ systemStore.systemSensor.slideTemperature || '--' }}</span>
<span></span>
</div>
<div style="display: flex; align-items: center; width: 30%; margin-right: 30px">

Loading…
Cancel
Save