调整检测计划导入、导出功能适应二楼装备
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
// 获取当前执行的大测试项序号
|
||||
|
||||
Reference in New Issue
Block a user