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