正式检测代码提交

This commit is contained in:
2025-01-09 20:02:34 +08:00
parent e5f201515e
commit 352df35205

View File

@@ -252,8 +252,6 @@ const handleSubmit = () => {
userPageId: "cdf",
devIds: deviceIds,
planId: planId,
errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d',
scriptId: "a303b2224845fcc6f60198b8ca23dca9",
operateType: '1' // '1'为预检测、2为正式检测
}).then(res => {
@@ -272,8 +270,6 @@ const handleSubmit = () => {
userPageId: "cdf",
devIds: deviceIds,
planId: planId,
errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d',
scriptId: "a303b2224845fcc6f60198b8ca23dca9",
operateType: '2' // '1'为预检测、2为正式检测
}).then(res => {
console.log(res)
@@ -405,22 +401,20 @@ const sendResume = () => {
const sendReCheck = () => {
console.log('发送重新检测指令')
// 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)
}*/
// })
startPreTest({
userPageId: "cdf",
devIds: deviceIds,
planId: planId,
operateType: '2' // 0:'系数校验''1'为预检测、2为正式检测
}).then(res => {
console.log(res)
/* if (res.code === 20000) {
TestStatus.value = 'start'
webMsgSend.value = ''
} else {
ElMessage.error(res.message)
}*/
})
TestStatus.value = 'start'
}