调整检测计划导入、导出功能适应二楼装备

This commit is contained in:
caozehui
2025-02-18 15:58:38 +08:00
parent 7d3e86a5fc
commit 4f622da52c
4 changed files with 25 additions and 20 deletions

View File

@@ -320,10 +320,7 @@ watch(testStatus, function (newValue, oldValue) {
if (oldValue == 'error') {
testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:开始重新检测!`})
initCheckResult()
activeIndex = 0
percentage.value = 0
handleReCheck()
}
emit('update:testStatus', 'test_init')
//startTimer() // todo 可移除
@@ -1334,11 +1331,17 @@ const handleResumeTest = () => {
};
const handleReCheck = () => {
initCheckResult()
activeIndex = 0
percentage.value = 0
timeCount.value = 0
timeView.value = '00:00:00'
timeDifference.value = 0
testLogList.length = 0
errorCheckItem.length = 0
count = 0
showTestLog()
}
// 获取当前执行的大测试项序号