diff --git a/src/components/occDisease/OccDisease.vue b/src/components/occDisease/OccDisease.vue index 3c29e65..fea1c64 100644 --- a/src/components/occDisease/OccDisease.vue +++ b/src/components/occDisease/OccDisease.vue @@ -135,9 +135,6 @@ export default { e.poisonName = dddw(this.dict.poisonList,'id',e.poisonId,'displayName') }); this.dataTransOpts.tableM.patient_occupational_history = deepCopy(res.data['patientOccupationalHistoryDtos']) - this.dataTransOpts.tableM.patient_occupational_history.forEach(e => { - e.poisonArr = e.poison.split(',') - }); if (Array.isArray(res.data['patientSymptomDtos']) && res.data['patientSymptomDtos'].length > 0) { this.dataTransOpts.tableM.patient_symptom = deepCopy(res.data['patientSymptomDtos']) } else { @@ -182,7 +179,7 @@ export default { btnOk() { let message = '' this.dataTransOpts.tableM.patient_poison.forEach((e, i) => { - if (!e.occupationalAbnormalId) message = `接害因素检查结论,第 ${i + 1} 行未下结论` + if (!e.occupationalAbnormalId) e.occupationalAbnormalId = null }); if (message) { this.$message.warning({ showClose: true, message }) diff --git a/src/components/occDisease/OccDiseaseConclusion.vue b/src/components/occDisease/OccDiseaseConclusion.vue index 060c7ea..9f384c4 100644 --- a/src/components/occDisease/OccDiseaseConclusion.vue +++ b/src/components/occDisease/OccDiseaseConclusion.vue @@ -10,10 +10,11 @@