正式检测代码提交
This commit is contained in:
@@ -252,8 +252,6 @@ const handleSubmit = () => {
|
|||||||
userPageId: "cdf",
|
userPageId: "cdf",
|
||||||
devIds: deviceIds,
|
devIds: deviceIds,
|
||||||
planId: planId,
|
planId: planId,
|
||||||
errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d',
|
|
||||||
scriptId: "a303b2224845fcc6f60198b8ca23dca9",
|
|
||||||
operateType: '1' // '1'为预检测、‘2‘为正式检测
|
operateType: '1' // '1'为预检测、‘2‘为正式检测
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|
||||||
@@ -272,8 +270,6 @@ const handleSubmit = () => {
|
|||||||
userPageId: "cdf",
|
userPageId: "cdf",
|
||||||
devIds: deviceIds,
|
devIds: deviceIds,
|
||||||
planId: planId,
|
planId: planId,
|
||||||
errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d',
|
|
||||||
scriptId: "a303b2224845fcc6f60198b8ca23dca9",
|
|
||||||
operateType: '2' // '1'为预检测、‘2‘为正式检测
|
operateType: '2' // '1'为预检测、‘2‘为正式检测
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
@@ -405,22 +401,20 @@ const sendResume = () => {
|
|||||||
|
|
||||||
const sendReCheck = () => {
|
const sendReCheck = () => {
|
||||||
console.log('发送重新检测指令')
|
console.log('发送重新检测指令')
|
||||||
// startPreTest({
|
startPreTest({
|
||||||
// userPageId: "cdf",
|
userPageId: "cdf",
|
||||||
// devIds:deviceIds,
|
devIds: deviceIds,
|
||||||
// planId:planId,
|
planId: planId,
|
||||||
// errorSysId:'cb407009f9894a8a8933b5d9b1e2f71d',
|
operateType: '2' // 0:'系数校验','1'为预检测、‘2‘为正式检测
|
||||||
// scriptId:"a303b2224845fcc6f60198b8ca23dca9",
|
}).then(res => {
|
||||||
// operateType:'1' // '0'为预检测、‘1‘为正式检测
|
console.log(res)
|
||||||
// }).then(res => {
|
/* if (res.code === 20000) {
|
||||||
// console.log(res)
|
TestStatus.value = 'start'
|
||||||
/* if (res.code === 20000) {
|
webMsgSend.value = ''
|
||||||
TestStatus.value = 'start'
|
} else {
|
||||||
webMsgSend.value = ''
|
ElMessage.error(res.message)
|
||||||
} else {
|
}*/
|
||||||
ElMessage.error(res.message)
|
})
|
||||||
}*/
|
|
||||||
// })
|
|
||||||
TestStatus.value = 'start'
|
TestStatus.value = 'start'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user