预检测处理错误
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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 == '暂无数据,等待检测开始') {
|
||||||
|
|||||||
Reference in New Issue
Block a user