From f1d7fae416475f4793d3755146d979e35257581b Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Tue, 28 May 2024 12:56:33 +0800 Subject: [PATCH] occ --- src/components/occDisease/OccDisease.vue | 5 +- .../occDisease/OccDiseaseConclusion.vue | 8 +- .../occDisease/OccDiseaseHistory.vue | 215 ++++++++++++------ .../occDisease/OccDiseasePoison.vue | 21 +- .../occDisease/OccDiseasePrevious.vue | 8 +- 5 files changed, 162 insertions(+), 95 deletions(-) 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 @@ + size="small" :autosize="{ minRows: 8, maxRows: 8 }"> + size="small" :autosize="{ minRows: 8, maxRows: 8 }"> +
处理意见:
+ :autosize="{ minRows: 2, maxRows: 2 }">
diff --git a/src/components/occDisease/OccDiseaseHistory.vue b/src/components/occDisease/OccDiseaseHistory.vue index f7ae550..37a6c83 100644 --- a/src/components/occDisease/OccDiseaseHistory.vue +++ b/src/components/occDisease/OccDiseaseHistory.vue @@ -1,67 +1,88 @@