正式检测设备连接超时,停止检测
This commit is contained in:
@@ -856,6 +856,7 @@ const updateLog = (isStart: boolean) => {
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
log: currentTime.value + ` :${scriptData[activeIndex - 1].scriptName}准确度检测结束:连接超时,用时` + getTimeDifference(timeDifferenceItem),
|
log: currentTime.value + ` :${scriptData[activeIndex - 1].scriptName}准确度检测结束:连接超时,用时` + getTimeDifference(timeDifferenceItem),
|
||||||
})
|
})
|
||||||
|
// emit('update:testStatus', 'connect_timeout')
|
||||||
break
|
break
|
||||||
case CheckData.ChnCheckResultEnum.ERRORDATA:
|
case CheckData.ChnCheckResultEnum.ERRORDATA:
|
||||||
testLogList.push({
|
testLogList.push({
|
||||||
@@ -910,6 +911,11 @@ const setErrorCheckItem = (scriptType: string, devices: CheckData.DeviceCheckRes
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
log: `${new Date().toLocaleString()} :${devices[i].deviceName}连接超时`,
|
log: `${new Date().toLocaleString()} :${devices[i].deviceName}连接超时`,
|
||||||
})
|
})
|
||||||
|
ElMessageBox.alert('连接超时!', '连接超时', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
emit('update:testStatus', 'connect_timeout')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user