From 3e7509cd44bcd65f54e29b6905edcc26b2872a94 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Fri, 19 Sep 2025 11:20:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E6=A3=80=E6=B5=8B=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/compareTest.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/home/components/compareTest.vue b/frontend/src/views/home/components/compareTest.vue index 4ab1e71..138e197 100644 --- a/frontend/src/views/home/components/compareTest.vue +++ b/frontend/src/views/home/components/compareTest.vue @@ -396,7 +396,7 @@ watch( setLogList('error', '设备主动关闭连接!') stopTimeCount() break - case 'yjc_xyjy' : + case 'yjc_xyjy' : switch (newValue.operateCode) { case 'INIT_GATHER$03': ElMessageBox.alert('重复的初始化操作!', '检测失败', { @@ -407,6 +407,17 @@ watch( stopTimeCount() } break; + case 'yjc_sbtxjy' : + switch (newValue.operateCode) { + case 'INIT_GATHER$02': + ElMessageBox.alert('重复的初始化操作!', '检测失败', { + confirmButtonText: '确定', + type: 'error', + }) + setLogList('error', '重复的初始化操作!') + stopTimeCount() + } + break; } if (checkStore.selectTestItems.preTest == false && newValue.requestId != 'formal_real') { if (testLogList[0].log == '正在检测,请稍等...' || testLogList[0].log == '暂无数据,等待检测开始') { @@ -439,6 +450,7 @@ watch( stopTimeCount() if (newValue.requestId == 'YJC_xujy') setLogList('info', '初始化失败!') break + } } // 预监测 正式检测