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 => {