|
|
@ -32,6 +32,7 @@ |
|
|
|
|
|
|
|
<script setup> |
|
|
|
import { useSealStore, useWebSocketStore } from '@/store' |
|
|
|
import { airCompressor_channelCtrlJSON } from '@/mock/command' |
|
|
|
|
|
|
|
const sealStore = useSealStore() |
|
|
|
const websocketStore = useWebSocketStore() |
|
|
@ -58,6 +59,8 @@ const handleCancel = () => { |
|
|
|
const handleStart = () => { |
|
|
|
// 结束当前测试 |
|
|
|
sealStore.updateIsStartTest(false) |
|
|
|
sealStore.updateOldAirPressure(null) |
|
|
|
websocketStore.sendCommandMsg(airCompressor_channelCtrlJSON([1])) |
|
|
|
// 需要执行原先点击该按钮的逻辑 |
|
|
|
props.hiddenLeaveModal() |
|
|
|
if (props.clickType != -1) { |
|
|
|