This commit is contained in:
caozehui
2025-02-25 13:48:44 +08:00
parent 5666e01ae0
commit 5e881c0804

View File

@@ -320,28 +320,25 @@ const sendResume = () => {
requestId: 'Resume_Success'
})
})
Object.assign(webMsgSend.value, {
requestId: 'Resume_Success'
})
}
const sendReCheck = () => {
console.log('发送重新检测指令')
// startPreTest({
// userPageId: "cdf",
// devIds: checkStore.devices.map((item) => item.deviceId),
// planId: checkStore.plan.id,
// operateType: '2' // 0:'系数校验''1'为预检测、2为正式检测
// }).then(res => {
// console.log(res)
// if (res.code === 'A001014') {
// ElMessageBox.alert('装置配置异常', '初始化失败', {
// confirmButtonText: '确定',
// type: 'error',
// })
// TestStatus.value = 'test_init_fail'
// }
// })
startPreTest({
userPageId: "cdf",
devIds: checkStore.devices.map((item) => item.deviceId),
planId: checkStore.plan.id,
operateType: '2' // 0:'系数校验''1'为预检测、2为正式检测
}).then(res => {
console.log(res)
if (res.code === 'A001014') {
ElMessageBox.alert('装置配置异常', '初始化失败', {
confirmButtonText: '确定',
type: 'error',
})
TestStatus.value = 'test_init_fail'
}
})
TestStatus.value = 'start'
}