首页判断被检设备下绑定监测点
This commit is contained in:
@@ -207,6 +207,10 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
ElMessage.error('接收数据超时!')
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}else if(newValue.code == 10550){
|
||||
ElMessage.error('设备连接异常!')
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
}
|
||||
switch (newValue.requestId) {
|
||||
case 'yjc_sbtxjy':
|
||||
@@ -224,15 +228,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
type: 'wait',
|
||||
log: '正在进行设备通讯校验.....',
|
||||
}];
|
||||
} else if (newValue.code == 10550) {
|
||||
step1InitLog.value.push({
|
||||
type: 'error',
|
||||
log: newValue.data + '设备连接异常!',
|
||||
})
|
||||
step1.value = 'error'
|
||||
ts.value = 'error'
|
||||
step5.value = 'error'
|
||||
} else if (newValue.code == 10551) {
|
||||
} else if (newValue.code == 10551) {
|
||||
step1InitLog.value.push({
|
||||
type: 'error',
|
||||
log: newValue.data + '设备触发报告异常!',
|
||||
@@ -372,7 +368,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
|
||||
break;
|
||||
case 'error_flow_end':
|
||||
ElMessageBox.alert(`设备连接异常,请检查设备连接情况!`, '检测失败', {
|
||||
ElMessageBox.alert(`当前流程存在异常结束!`, '检测失败', {
|
||||
confirmButtonText: '确定',
|
||||
type: 'error',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user