From 0a237004037f26f451d56e9392e9613181aeb672 Mon Sep 17 00:00:00 2001 From: chendaofei <857448963@qq.com> Date: Wed, 8 Jan 2025 15:15:25 +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 --- frontend/src/views/home/components/preTest.vue | 6 +++++- frontend/src/views/home/components/testPopup.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/home/components/preTest.vue b/frontend/src/views/home/components/preTest.vue index d8d7004..c17222c 100644 --- a/frontend/src/views/home/components/preTest.vue +++ b/frontend/src/views/home/components/preTest.vue @@ -463,8 +463,12 @@ watch(webMsgSend,function (newValue,oldValue){ case 'DATA_REQUEST$02': if (newValue.code == 10200) { + let type = 'info' + if(newValue.data.contain('不合格')){ + type = 'error' + } step4InitLog.value.push({ - type: 'info', + type: type, log: '相序校验:'+newValue.data, }) diff --git a/frontend/src/views/home/components/testPopup.vue b/frontend/src/views/home/components/testPopup.vue index af14064..833e150 100644 --- a/frontend/src/views/home/components/testPopup.vue +++ b/frontend/src/views/home/components/testPopup.vue @@ -253,7 +253,7 @@ const handleSubmit = () => { planId: planId, errorSysId: 'cb407009f9894a8a8933b5d9b1e2f71d', scriptId: "a303b2224845fcc6f60198b8ca23dca9", - operateType: '0' // '1'为预检测、‘2‘为正式检测 + operateType: '1' // '1'为预检测、‘2‘为正式检测 }).then(res => {