This commit is contained in:
guanj
2025-08-26 18:29:14 +08:00
parent d7f1224df4
commit 8b4c22e959
4 changed files with 97 additions and 213 deletions

View File

@@ -17,6 +17,7 @@
process-status="finish"
finish-status="success"
>
<!-- <el-step title="通道配对" /> -->
<el-step
v-if="preTestSelected"
title="预检测"
@@ -258,17 +259,22 @@ const open = async (
//预检测-重新检测
const handleSubmitAgain = async () => {
console.log("🚀 ~ handleSubmitAgain ~ stepsActive.value:", stepsActiveIndex.value,stepsActiveView.value , stepsActive.value)
if(checkStore.selectTestItems.preTest){
stepsActiveIndex.value = 1
stepsActiveView.value = 1
stepsActive.value = 1
}else{
stepsActiveIndex.value = 1
stepsActiveView.value = 2
stepsActive.value = 2
}
console.log(
'🚀 ~ handleSubmitAgain ~ stepsActive.value:',
stepsActiveIndex.value,
stepsActiveView.value,
stepsActive.value
)
if (checkStore.selectTestItems.preTest) {
stepsActiveIndex.value = 1
stepsActiveView.value = 1
stepsActive.value = 1
} else {
stepsActiveIndex.value = 1
stepsActiveView.value = 2
stepsActive.value = 2
}
let count = 0
for (let key in checkStore.selectTestItems) {
if (checkStore.selectTestItems[key]) {
@@ -326,8 +332,8 @@ const handleSubmitFast = async () => {
})
preTestStatus.value = 'start'
if (checkStore.selectTestItems.test) {
console.log(111111);
console.log(111111)
testRef.value.initializeParameters()
testRef.value.showTestLog()
}
@@ -378,7 +384,6 @@ watch(TestStatus, function (newValue, oldValue) {
watch(stepsActiveIndex, function (newValue, oldValue) {
if (checkStore.selectTestItems.test && checkStore.selectTestItems.preTest && newValue == 2) {
setTimeout(() => {
testRef.value.initializeParameters()
testRef.value.showTestLog()
testRef.value.startTimeCount()