微调
This commit is contained in:
@@ -206,6 +206,20 @@ function handleWarningError(stepRef: any, logRef: any, message: string) {
|
||||
watch(webMsgSend, function (newValue, oldValue) {
|
||||
if (testStatus.value !== 'waiting') {
|
||||
switch (newValue.requestId) {
|
||||
case 'overloadTest':
|
||||
if (newValue.code === 1) {
|
||||
handleFatalError(step1, step1InitLog, '电压过载!')
|
||||
}
|
||||
if (newValue.code === 2) {
|
||||
handleFatalError(step1, step1InitLog, '电流过载!')
|
||||
}
|
||||
if (newValue.code === 3) {
|
||||
handleFatalError(step1, step1InitLog, '电压和电流过载!')
|
||||
}
|
||||
if (newValue.code === 4) {
|
||||
handleFatalError(step1, step1InitLog, '过载检测成功!')
|
||||
}
|
||||
break;
|
||||
case 'yjc_ytxjy':
|
||||
switch (newValue.operateCode) {
|
||||
case 'INIT_GATHER':
|
||||
|
||||
Reference in New Issue
Block a user