|
|
@ -43,7 +43,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<i class="el-icon-delete" @click="deleteRow(scope.$index,'past')" |
|
|
|
|
|
|
|
|
<i class="el-icon-delete" @click="deleteRow(scope.$index, 'past')" |
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -91,7 +91,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<i class="el-icon-delete" @click="deleteRow(scope.$index,'occ')" |
|
|
|
|
|
|
|
|
<i class="el-icon-delete" @click="deleteRow(scope.$index, 'occ')" |
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
style="font-size: 24px;color: red;cursor:pointer;"></i> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -201,16 +201,23 @@ export default { |
|
|
if (tableType == 'past') { |
|
|
if (tableType == 'past') { |
|
|
this.dataTransOpts.tableM.patient_past_medical_history.push({ |
|
|
this.dataTransOpts.tableM.patient_past_medical_history.push({ |
|
|
patientRegisterId: this.patientRegisterId, |
|
|
patientRegisterId: this.patientRegisterId, |
|
|
poisonId: '' |
|
|
|
|
|
|
|
|
occupationalDisease: '', |
|
|
|
|
|
diagnosisDate: '', |
|
|
|
|
|
diagnosisHospital: '', |
|
|
|
|
|
isRecovery: 'N', |
|
|
|
|
|
treatmentMethods: '' |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
this.dataTransOpts.tableM.patient_occupational_medical_history.push({ |
|
|
this.dataTransOpts.tableM.patient_occupational_medical_history.push({ |
|
|
patientRegisterId: this.patientRegisterId, |
|
|
patientRegisterId: this.patientRegisterId, |
|
|
poisonId: '' |
|
|
|
|
|
|
|
|
occupationalDisease: '', |
|
|
|
|
|
diagnosisDate: '', |
|
|
|
|
|
diagnosisHospital: '', |
|
|
|
|
|
isRecovery: 'N', |
|
|
|
|
|
treatmentMethods: '' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
watch: { |
|
|
watch: { |
|
|
|