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