pengjun 11 months ago
parent
commit
7dc3005168
  1. 3
      src/components/patientRegister/PatientRegisterEdit.vue

3
src/components/patientRegister/PatientRegisterEdit.vue

@ -411,7 +411,7 @@
<el-col :span="14">
<el-form-item label="接害因素" label-width="65px">
<el-select v-model="form.poisonIds" size="small"
:style="`width:${Math.floor((window.pageWidth - 222) / 1.41)}px;`" clearable filterable
:style="`width:${Math.floor((window.pageWidth - 222) / 1.714)}px;`" clearable filterable
:filter-method="filterMethodPoison" value-key="id" multiple @change="changeOccPosionOrCheckType"
:disabled="form.completeFlag == '3' ? true : false">
<el-option-group v-for="group in poison" :key="group.poisonTypeName" :label="group.poisonTypeName">
@ -1895,6 +1895,7 @@ export default {
this.dataTransOpts.tableM.patient_poison = deepCopy(res.data['patientPoisonDtos'])
this.form.ocCheckTypeId = this.dataTransOpts.tableS.patient_occupational_disease.ocCheckTypeId
this.form.jobType = this.dataTransOpts.tableS.patient_occupational_disease.jobType
this.form.occupationalDiseaseNumber = this.dataTransOpts.tableS.patient_occupational_disease.occupationalDiseaseNumber
let poisonIds = [] // IDs
this.dataTransOpts.tableM.patient_poison.forEach(e => {
poisonIds.push(e.poisonId)

Loading…
Cancel
Save