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