This commit is contained in:
caozehui
2025-08-26 10:58:29 +08:00
parent 825d2cc46a
commit 300b220de2

View File

@@ -174,10 +174,10 @@ function handleFatalError(stepRef: any, logRef: any, message: string) {
stepRef.value = 'error';
ts.value = 'error';
step5.value = 'error';
logRef.value = [{
logRef.value.push({
type: 'error',
log: message
}];
});
}
/**
@@ -349,10 +349,10 @@ watch(webMsgSend, function (newValue, oldValue) {
} else if (newValue.code == 10201) {
step4.value = 'process'
step4InitLog.value = [{
step4InitLog.value.push({
type: 'wait',
log: '源参数下发中.....',
}];
});
} else if (newValue.code == 10552) {
ElMessage.error("存在已经初始化步骤,已经自动关闭,请重新发起检测!")
handleFatalError(step4, step4InitLog, '存在已经初始化步骤,执行自动关闭,请重新发起检测!')
@@ -373,10 +373,10 @@ watch(webMsgSend, function (newValue, oldValue) {
})
} else if (newValue.code == 10201) {
step4.value = 'process'
step4InitLog.value = [{
step4InitLog.value.push({
type: 'wait',
log: '获取数据相序校验数据!',
}];
});
} else if (newValue.code == 25003) {
handleFatalError(step4, step4InitLog, '相序校验未通过!')
} else if (newValue.code == 25001) {