From 196c3fc1a392ead31564d8e5f16896a83693bd33 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Thu, 30 May 2024 10:41:59 +0800 Subject: [PATCH] occ --- src/components/occDisease/OccDiseaseHistory.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/occDisease/OccDiseaseHistory.vue b/src/components/occDisease/OccDiseaseHistory.vue index 37a6c83..d09fe56 100644 --- a/src/components/occDisease/OccDiseaseHistory.vue +++ b/src/components/occDisease/OccDiseaseHistory.vue @@ -206,7 +206,12 @@ export default { this.poisonList = deepCopy(this.dict.poisonList) this.poison = this.madeSelectGroup(this.poisonList) - this.choosedPoison = this.dataTransOpts.tableM.patient_occupational_history[index]['poison'].split(",") + if(this.dataTransOpts.tableM.patient_occupational_history[index]['poison']){ + this.choosedPoison = this.dataTransOpts.tableM.patient_occupational_history[index]['poison'].split(",") + }else{ + this.choosedPoison = [] + } + this.dialogPoison = true },