From 352df35205f969ef8b2b565740480e94f45b59bb Mon Sep 17 00:00:00 2001 From: chendaofei <857448963@qq.com> Date: Thu, 9 Jan 2025 20:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E6=A3=80=E6=B5=8B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/home/components/testPopup.vue | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/frontend/src/views/home/components/testPopup.vue b/frontend/src/views/home/components/testPopup.vue index bd1a595..b3af61a 100644 --- a/frontend/src/views/home/components/testPopup.vue +++ b/frontend/src/views/home/components/testPopup.vue @@ -252,8 +252,6 @@ const handleSubmit = () => { userPageId: "cdf", devIds: deviceIds, planId: planId, - errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d', - scriptId: "a303b2224845fcc6f60198b8ca23dca9", operateType: '1' // '1'为预检测、‘2‘为正式检测 }).then(res => { @@ -272,8 +270,6 @@ const handleSubmit = () => { userPageId: "cdf", devIds: deviceIds, planId: planId, - errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d', - scriptId: "a303b2224845fcc6f60198b8ca23dca9", operateType: '2' // '1'为预检测、‘2‘为正式检测 }).then(res => { console.log(res) @@ -405,22 +401,20 @@ const sendResume = () => { const sendReCheck = () => { console.log('发送重新检测指令') - // startPreTest({ - // userPageId: "cdf", - // devIds:deviceIds, - // planId:planId, - // errorSysId:'cb407009f9894a8a8933b5d9b1e2f71d', - // scriptId:"a303b2224845fcc6f60198b8ca23dca9", - // operateType:'1' // '0'为预检测、‘1‘为正式检测 - // }).then(res => { - // console.log(res) - /* if (res.code === 20000) { - TestStatus.value = 'start' - webMsgSend.value = '' - } else { - ElMessage.error(res.message) - }*/ - // }) + startPreTest({ + userPageId: "cdf", + devIds: deviceIds, + planId: planId, + operateType: '2' // 0:'系数校验','1'为预检测、‘2‘为正式检测 + }).then(res => { + console.log(res) + /* if (res.code === 20000) { + TestStatus.value = 'start' + webMsgSend.value = '' + } else { + ElMessage.error(res.message) + }*/ + }) TestStatus.value = 'start' }