Browse Source

occ report

master
pengjun 2 years ago
parent
commit
8d45b8722a
  1. 13
      src/components/occDisease/OccDiseaseHistory.vue
  2. 13
      src/components/occDisease/OccDiseasePrevious.vue

13
src/components/occDisease/OccDiseaseHistory.vue

@ -87,8 +87,8 @@
</span> </span>
</el-dialog> </el-dialog>
<!-- 接害因素字典库 --> <!-- 接害因素字典库 -->
<el-dialog title="" :visible.sync="dialogDictPoison" :close-on-click-modal="false" :append-to-body="true" fullscreen
@close="closeDialogDictPoison">
<el-dialog title="" :visible.sync="dialogDictPoison" :close-on-click-modal="false" :append-to-body="true"
fullscreen @close="closeDialogDictPoison">
<div style="margin-top: 10px;"> <div style="margin-top: 10px;">
<DictPoison /> <DictPoison />
</div> </div>
@ -212,7 +212,14 @@ export default {
btnAdd() { btnAdd() {
this.postion = deepCopy(this.dict.postion) this.postion = deepCopy(this.dict.postion)
this.dataTransOpts.tableM.patient_occupational_history.push({ this.dataTransOpts.tableM.patient_occupational_history.push({
patientRegisterId: this.patientRegisterId
patientRegisterId: this.patientRegisterId,
beginDate: '',
endDate: '',
org: '',
workShop: '',
workType: '',
poison: '',
protectiveMeasures: ''
}); });
}, },

13
src/components/occDisease/OccDiseasePrevious.vue

@ -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: {

Loading…
Cancel
Save