|
|
@ -215,18 +215,25 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="common_set update_wrap"> |
|
|
|
<p class="title">水浸1</p> |
|
|
|
<p class="title">水浸</p> |
|
|
|
<p class="num">{{ testStore.waterImmersionSensor1 ? '有水' : '没水' }}</p> |
|
|
|
<div class="btn_wrap style-btn" @click="handleUpdate" style="opacity: 0"> |
|
|
|
更新读取水浸状态 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="common_set update_wrap"> |
|
|
|
<p class="title">水浸2</p> |
|
|
|
<p class="num">{{ testStore.waterImmersionSensor2 ? '有水' : '没水' }}</p> |
|
|
|
<div class="btn_wrap style-btn" @click="handleUpdate" style="opacity: 0"> |
|
|
|
更新读取水浸状态 |
|
|
|
</div> |
|
|
|
<div class="common_set update_wrap pressure"> |
|
|
|
<p class="title"> |
|
|
|
压力1 <span>{{ sealStore.allPressure[0] }}</span> |
|
|
|
</p> |
|
|
|
<p class="title"> |
|
|
|
压力2 <span>{{ sealStore.allPressure[1] }}</span> |
|
|
|
</p> |
|
|
|
<p class="title"> |
|
|
|
压力3 <span>{{ sealStore.allPressure[2] }}</span> |
|
|
|
</p> |
|
|
|
<p class="title"> |
|
|
|
压力4 <span>{{ sealStore.allPressure[3] }}</span> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
<div class="common_set update_wrap"> |
|
|
|
<p class="title">液位</p> |
|
|
@ -294,6 +301,7 @@ import { |
|
|
|
useDeviceStore, |
|
|
|
useWebSocketStore, |
|
|
|
useSettingStore, |
|
|
|
useSealStore, |
|
|
|
} from '@/store' |
|
|
|
import { |
|
|
|
someAirSwitchJSON, |
|
|
@ -309,6 +317,7 @@ const testStore = useTestStore() |
|
|
|
const deviceStore = useDeviceStore() |
|
|
|
const websocketStore = useWebSocketStore() |
|
|
|
const settingStore = useSettingStore() |
|
|
|
const sealStore = useSealStore() |
|
|
|
|
|
|
|
const addLiquidVal = ref(settingStore.addLiquidConfigVal) |
|
|
|
const addLiquidPower = ref(25) |
|
|
@ -604,6 +613,21 @@ const changeChannel = flag => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.pressure { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-evenly !important; |
|
|
|
.title { |
|
|
|
display: flex; |
|
|
|
line-height: 30px; |
|
|
|
justify-content: center !important; |
|
|
|
flex-direction: column; |
|
|
|
align-items: center; |
|
|
|
span { |
|
|
|
font-size: 26px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.switch_wrap { |
|
|
|
padding: 0 17px 0 17px; |
|
|
|
justify-content: space-between; |
|
|
|