微调
This commit is contained in:
@@ -73,7 +73,7 @@ import test from './test.vue'
|
||||
import {Device} from '@/api/device/interface/device';
|
||||
import socketClient from '@/utils/webSocketClient';
|
||||
import {useCheckStore} from "@/stores/modules/check";
|
||||
import {pauseTest, startPreTest} from '@/api/socket/socket'
|
||||
import {pauseTest, resumeTest, startPreTest} from '@/api/socket/socket'
|
||||
|
||||
const checkStore = useCheckStore();
|
||||
const nextStepText = ref('下一步');
|
||||
@@ -310,16 +310,16 @@ const sendPause = () => {
|
||||
const sendResume = () => {
|
||||
console.log('发起继续检测请求')
|
||||
|
||||
// resumeTest({
|
||||
// userPageId: "cdf",
|
||||
// devIds: checkStore.devices.map((item) => item.deviceId),
|
||||
// planId: checkStore.plan.id,
|
||||
// operateType: '2' // '1'为预检测、‘2‘为正式检测
|
||||
// }).then(res => {
|
||||
// Object.assign(webMsgSend.value, {
|
||||
// requestId: 'Resume_Success'
|
||||
// })
|
||||
// })
|
||||
resumeTest({
|
||||
userPageId: "cdf",
|
||||
devIds: checkStore.devices.map((item) => item.deviceId),
|
||||
planId: checkStore.plan.id,
|
||||
operateType: '2' // '1'为预检测、‘2‘为正式检测
|
||||
}).then(res => {
|
||||
Object.assign(webMsgSend.value, {
|
||||
requestId: 'Resume_Success'
|
||||
})
|
||||
})
|
||||
Object.assign(webMsgSend.value, {
|
||||
requestId: 'Resume_Success'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user