预检测处理错误

This commit is contained in:
sjl
2025-09-18 14:11:50 +08:00
parent 5ad8cdecba
commit 6608587edd
2 changed files with 22 additions and 0 deletions

View File

@@ -436,6 +436,17 @@ watch(webMsgSend, function (newValue, oldValue) {
ts.value = 'error' ts.value = 'error'
step5.value = 'error' step5.value = 'error'
break; break;
case 'yjc_xyjy' :
switch (newValue.operateCode) {
case 'INIT_GATHER$03':
ElMessageBox.alert('重复的初始化操作!', '检测失败', {
confirmButtonText: '确定',
type: 'error',
})
ts.value = 'error'
step5.value = 'error'
}
break;
} }
} }
}) })

View File

@@ -396,6 +396,17 @@ watch(
setLogList('error', '设备主动关闭连接!') setLogList('error', '设备主动关闭连接!')
stopTimeCount() stopTimeCount()
break break
case 'yjc_xyjy' :
switch (newValue.operateCode) {
case 'INIT_GATHER$03':
ElMessageBox.alert('重复的初始化操作!', '检测失败', {
confirmButtonText: '确定',
type: 'error',
})
setLogList('error', '重复的初始化操作!')
stopTimeCount()
}
break;
} }
if (checkStore.selectTestItems.preTest == false && newValue.requestId != 'formal_real') { if (checkStore.selectTestItems.preTest == false && newValue.requestId != 'formal_real') {
if (testLogList[0].log == '正在检测,请稍等...' || testLogList[0].log == '暂无数据,等待检测开始') { if (testLogList[0].log == '正在检测,请稍等...' || testLogList[0].log == '暂无数据,等待检测开始') {