添加脚本与ICD检验时出现10500错误
This commit is contained in:
@@ -315,6 +315,13 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
})
|
})
|
||||||
TableInit();
|
TableInit();
|
||||||
}
|
}
|
||||||
|
if (newValue.code == 10500) {
|
||||||
|
ElMessageBox.alert(`装置中未找到该icd!`, '初始化失败', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
TableInit();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -356,6 +356,13 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
})
|
})
|
||||||
TableInit();
|
TableInit();
|
||||||
}
|
}
|
||||||
|
if (newValue.code == 10500) {
|
||||||
|
ElMessageBox.alert(`装置中未找到该icd!`, '初始化失败', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
TableInit();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -461,6 +461,14 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
step3.value = 'error'
|
step3.value = 'error'
|
||||||
ts.value = 'error'
|
ts.value = 'error'
|
||||||
step5.value = 'error'
|
step5.value = 'error'
|
||||||
|
} else if (newValue.code == 10500) {
|
||||||
|
step3InitLog.value.push({
|
||||||
|
type: 'error',
|
||||||
|
log: `装置中未找到该icd!`,
|
||||||
|
})
|
||||||
|
step3.value = 'error'
|
||||||
|
ts.value = 'error'
|
||||||
|
step5.value = 'error'
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -559,6 +559,16 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
log: `${new Date().toLocaleString()}:脚本与icd校验失败!icd名称:${data['icdType']} -> 校验项:${data['dataType']}`
|
log: `${new Date().toLocaleString()}:脚本与icd校验失败!icd名称:${data['icdType']} -> 校验项:${data['dataType']}`
|
||||||
})
|
})
|
||||||
emit('update:testStatus', 'test_init_fail')
|
emit('update:testStatus', 'test_init_fail')
|
||||||
|
}else if(newValue.code == 10500) {
|
||||||
|
ElMessageBox.alert(`装置中未找到该icd!`, '初始化失败', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
testLogList.push({
|
||||||
|
type: 'error',
|
||||||
|
log: `${new Date().toLocaleString()}:装置中未找到该icd!`
|
||||||
|
})
|
||||||
|
emit('update:testStatus', 'test_init_fail')
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user