预检测出错

This commit is contained in:
sjl
2025-10-16 09:36:43 +08:00
parent 321b6c5465
commit 7d6dc55a76
5 changed files with 133 additions and 91 deletions

View File

@@ -267,10 +267,10 @@ watch(webMsgSend, function (newValue, oldValue) {
step2.value = 'process'
}
if(newValue.code == 10550){
step1InitLog.value = [{
step1InitLog.value.push({
type: 'error',
log: '设备通讯校验时,设备连接异常!',
}];
});
step1.value = 'error'
ts.value = 'error'
step5.value = 'error'
@@ -278,10 +278,10 @@ watch(webMsgSend, function (newValue, oldValue) {
break;
case 'record_wave_step1':
if(newValue.code == 10550){
step1InitLog.value = [{
step1InitLog.value.push({
type: 'error',
log: '录波校验时,设备连接异常!',
}];
});
step1.value = 'error'
ts.value = 'error'
step5.value = 'error'
@@ -312,10 +312,10 @@ watch(webMsgSend, function (newValue, oldValue) {
}];
}
if(newValue.code == 10550){
step2InitLog.value = [{
step2InitLog.value.push({
type: 'error',
log: '模型一致性校验时,设备连接异常!',
}];
});
step2.value = 'error'
ts.value = 'error'
step5.value = 'error'
@@ -352,10 +352,10 @@ watch(webMsgSend, function (newValue, oldValue) {
}];
}
if(newValue.code == 10550){
step3InitLog.value = [{
step3InitLog.value.push({
type: 'error',
log: '实时数据对齐时,设备连接异常!',
}];
});
step3.value = 'error'
ts.value = 'error'
step5.value = 'error'
@@ -394,14 +394,14 @@ watch(webMsgSend, function (newValue, oldValue) {
step4.value = 'process'
step4InitLog.value = [{
type: 'wait',
log: '正在进行相序性检.....',
log: '正在进行相序校验.....',
}];
}
if(newValue.code == 10550){
step4InitLog.value = [{
step4InitLog.value.push({
type: 'error',
log: '相序校验时,设备连接异常!',
}];
});
step4.value = 'error'
ts.value = 'error'
step5.value = 'error'
@@ -488,6 +488,16 @@ watch(webMsgSend, function (newValue, oldValue) {
step5.value = 'error'
}
break;
case 'formal_real':
if (newValue.code == 25003) {
ElMessageBox.alert('数据收集不完整!', '检测失败', {
confirmButtonText: '确定',
type: 'error',
})
ts.value = 'error'
step5.value = 'error'
}
break;
}
}
})