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