From c9fef2a9d71d7ed51d2b667faae87b73857fa712 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Mon, 18 Aug 2025 08:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/factorTest.vue | 2 +- frontend/src/views/home/components/preTest.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/home/components/factorTest.vue b/frontend/src/views/home/components/factorTest.vue index 8cdff37..fc9bf8d 100644 --- a/frontend/src/views/home/components/factorTest.vue +++ b/frontend/src/views/home/components/factorTest.vue @@ -421,7 +421,7 @@ watch(webMsgSend, function (newValue, oldValue) { case 'yjc_xyjy': switch (newValue.operateCode) { case 'VERIFY_MAPPING$01': - if (newValue.code == 10200) { + if (newValue.code == 25002) { // 脚本与ICD校验失败 let data = JSON.parse(newValue.data) ElMessageBox.alert(`脚本与icd校验失败!icd名称:${data['icdType']} -> 校验项:${data['dataType']}`, '初始化失败', { diff --git a/frontend/src/views/home/components/preTest.vue b/frontend/src/views/home/components/preTest.vue index 08c3e12..2d0c08a 100644 --- a/frontend/src/views/home/components/preTest.vue +++ b/frontend/src/views/home/components/preTest.vue @@ -329,7 +329,7 @@ watch(webMsgSend, function (newValue, oldValue) { activeIndex.value = 3 step3.value = 'success' step4.value = 'process' - } else if (newValue.code == 10200) { + } else if (newValue.code == 25002) { let data = JSON.parse(newValue.data) handleFatalError(step3, step3InitLog, `脚本与icd检验失败! icd名称:${data['icdType']} -> 校验项:${data['dataType']}`) } else if (newValue.code == 10500) {