From 4a927ba3379d2263766abe5c279a89db51693296 Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Thu, 9 Nov 2023 18:05:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=B8=8A=E4=B8=8B=E7=AE=A1?= =?UTF-8?q?=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Operator.vue | 10 +++++- src/components/info/AirSwitchConfig.vue | 58 +++++++++++++++++++++++++++++++-- src/mock/command.js | 10 +++++- src/store/modules/seal.js | 8 +++++ 4 files changed, 81 insertions(+), 5 deletions(-) diff --git a/src/components/Operator.vue b/src/components/Operator.vue index 85983a5..d398db5 100644 --- a/src/components/Operator.vue +++ b/src/components/Operator.vue @@ -494,7 +494,12 @@ import AirSwitchConfig from 'cpns/info/AirSwitchConfig' import DisinfectantLiquidInfo from 'cpns/info/DisinfectantLiquidInfo' import EnvironmentInfo from 'cpns/info/EnvironmentInfo' import { ref, watch, onMounted, onUnmounted } from 'vue' -import { useOperatorStore, useWebSocketStore, useSettingStore } from '@/store' +import { + useOperatorStore, + useWebSocketStore, + useSettingStore, + useSealStore, +} from '@/store' import { startDisinfectionJSON, getStateJSON } from '@/mock/command' import { showSuccessToast, showFailToast } from 'vant' import { time_To_hhmmss } from '@/utils' @@ -502,6 +507,7 @@ import { time_To_hhmmss } from '@/utils' const operatorStore = useOperatorStore() const webSocketStore = useWebSocketStore() const settingStore = useSettingStore() +const sealStore = useSealStore() const disinfectWarnVisible = ref(false) const preVisible = ref(false) @@ -610,6 +616,8 @@ const realStart = () => { parseInt(logVal.value), parseInt(roomSize.value), parseInt(envirVal.value), + sealStore.airInletProportionalValue, + sealStore.airOutletProportionalValue, ), ) props.changeShowOperator(false) diff --git a/src/components/info/AirSwitchConfig.vue b/src/components/info/AirSwitchConfig.vue index 98c0af5..faa9fc8 100644 --- a/src/components/info/AirSwitchConfig.vue +++ b/src/components/info/AirSwitchConfig.vue @@ -27,7 +27,7 @@ @click="changeTab('1')" >
上管道
-下管道
-