This commit is contained in:
caozehui
2025-01-04 14:09:01 +08:00
parent 2d993b2f73
commit 23e72f38a6
3 changed files with 226 additions and 26 deletions

View File

@@ -253,22 +253,22 @@ const detectionOptions = ref([
// break;
case 2:
if (TestStatus.value == "waiting") {
startPreTest({
userPageId: "cdf",
devIds:deviceIds,
planId:planId,
errorSysId:'cb407009f9894a8a8933b5d9b1e2f71d',
scriptId:"a303b2224845fcc6f60198b8ca23dca9",
operateType:'1' // '0'为预检测、1为正式检测
}).then(res => {
console.log(res)
// startPreTest({
// userPageId: "cdf",
// devIds:deviceIds,
// planId:planId,
// errorSysId:'cb407009f9894a8a8933b5d9b1e2f71d',
// scriptId:"a303b2224845fcc6f60198b8ca23dca9",
// operateType:'1' // '0'为预检测、1为正式检测
// }).then(res => {
// console.log(res)
/* if (res.code === 20000) {
TestStatus.value = 'start'
webMsgSend.value = ''
} else {
ElMessage.error(res.message)
}*/
})
// })
TestStatus.value = 'start'
} else if (TestStatus.value == 'process') {
// 发送暂停指令