xg
This commit is contained in:
parent
cb36631499
commit
3df2c6b7f4
@ -412,6 +412,9 @@ export default {
|
|||||||
this.queryParams.departmentId = null
|
this.queryParams.departmentId = null
|
||||||
this.queryParams.wardId = null
|
this.queryParams.wardId = null
|
||||||
this.queryParams.attendingPhysicianId = null
|
this.queryParams.attendingPhysicianId = null
|
||||||
|
setTimeout(() => {
|
||||||
|
this.attendingPhysicianlist = []
|
||||||
|
}, 1000);
|
||||||
},
|
},
|
||||||
//清空院区
|
//清空院区
|
||||||
clearcampusAgency() {
|
clearcampusAgency() {
|
||||||
|
|||||||
@ -83,8 +83,8 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="开证医生" prop="certificateIssuingDoctor">
|
<el-form-item label="开证医生" prop="certificateIssuingDoctorId">
|
||||||
<el-select v-model="queryParams.certificateIssuingDoctorId" filterable placeholder="请选择主治医生"
|
<el-select v-model="queryParams.certificateIssuingDoctorId" filterable placeholder="请选择开证医生"
|
||||||
style="width: 200px" clearable>
|
style="width: 200px" clearable>
|
||||||
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
||||||
:value="item.userId">
|
:value="item.userId">
|
||||||
@ -262,8 +262,8 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="开证医生" prop="certificateIssuingDoctor" v-if="form.hospitalAgencyId">
|
<el-form-item label="开证医生" prop="certificateIssuingDoctorId" v-if="form.hospitalAgencyId">
|
||||||
<el-select v-model="form.certificateIssuingDoctorId" filterable placeholder="请选择主治医生" style="width: 200px"
|
<el-select v-model="form.certificateIssuingDoctorId" filterable placeholder="请选择开证医生" style="width: 200px"
|
||||||
clearable>
|
clearable>
|
||||||
<el-option v-for="item in form_attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
<el-option v-for="item in form_attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
||||||
:value="item.userId">
|
:value="item.userId">
|
||||||
@ -523,6 +523,7 @@ export default {
|
|||||||
// 查询参数
|
// 查询参数
|
||||||
appointmentDate: [],
|
appointmentDate: [],
|
||||||
queryParams: {
|
queryParams: {
|
||||||
|
certificateIssuingDoctorId: undefined,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
appointmentDateStart: '',
|
appointmentDateStart: '',
|
||||||
@ -708,7 +709,7 @@ export default {
|
|||||||
sex: null,
|
sex: null,
|
||||||
address: null,
|
address: null,
|
||||||
patientType: 'PRE_HOSPITALIZED_PATIENT',
|
patientType: 'PRE_HOSPITALIZED_PATIENT',
|
||||||
certificateIssuingDoctor: null,
|
certificateIssuingDoctorId: null,
|
||||||
mainDiagnosis: null,
|
mainDiagnosis: null,
|
||||||
hospitalAgencyId: null,
|
hospitalAgencyId: null,
|
||||||
campusAgencyId: null,
|
campusAgencyId: null,
|
||||||
@ -725,6 +726,7 @@ export default {
|
|||||||
},
|
},
|
||||||
resetHospital() {
|
resetHospital() {
|
||||||
this.formHospital = {
|
this.formHospital = {
|
||||||
|
attendingPhysicianId: undefined,
|
||||||
patientName: null,
|
patientName: null,
|
||||||
patientPhone: null,
|
patientPhone: null,
|
||||||
familyMemberPhone: null,
|
familyMemberPhone: null,
|
||||||
@ -737,7 +739,6 @@ export default {
|
|||||||
certificateIssuingDoctor: null,
|
certificateIssuingDoctor: null,
|
||||||
visitMethod: 'BE_IN_HOSPITAL',
|
visitMethod: 'BE_IN_HOSPITAL',
|
||||||
mainDiagnosis: null,
|
mainDiagnosis: null,
|
||||||
attendingPhysicianId: null,
|
|
||||||
hospitalAgencyId: null,
|
hospitalAgencyId: null,
|
||||||
campusAgencyId: null,
|
campusAgencyId: null,
|
||||||
departmentId: null,
|
departmentId: null,
|
||||||
@ -1013,8 +1014,6 @@ export default {
|
|||||||
// }
|
// }
|
||||||
// getDepartmentList(query).then(res => {
|
// getDepartmentList(query).then(res => {
|
||||||
if (type) {
|
if (type) {
|
||||||
|
|
||||||
|
|
||||||
if (!typetwo) {
|
if (!typetwo) {
|
||||||
this.formHospital.departmentId = null
|
this.formHospital.departmentId = null
|
||||||
this.formHospital.wardId = null
|
this.formHospital.wardId = null
|
||||||
@ -1036,8 +1035,6 @@ export default {
|
|||||||
// }
|
// }
|
||||||
// getDepartmentList(query).then(res => {
|
// getDepartmentList(query).then(res => {
|
||||||
if (type) {
|
if (type) {
|
||||||
|
|
||||||
|
|
||||||
if (!typetwo) {
|
if (!typetwo) {
|
||||||
this.formHospital.wardId = null
|
this.formHospital.wardId = null
|
||||||
this.form.wardId = null
|
this.form.wardId = null
|
||||||
@ -1053,13 +1050,19 @@ export default {
|
|||||||
this.form.campusAgencyId = null
|
this.form.campusAgencyId = null
|
||||||
this.form.departmentId = null
|
this.form.departmentId = null
|
||||||
this.form.wardId = null
|
this.form.wardId = null
|
||||||
|
this.form.attendingPhysicianId = null
|
||||||
this.formHospital.campusAgencyId = null
|
this.formHospital.campusAgencyId = null
|
||||||
this.formHospital.departmentId = null
|
this.formHospital.departmentId = null
|
||||||
this.formHospital.wardId = null
|
this.formHospital.wardId = null
|
||||||
|
this.formHospital.attendingPhysicianId = null
|
||||||
} else {
|
} else {
|
||||||
this.queryParams.campusAgencyId = null
|
this.queryParams.campusAgencyId = null
|
||||||
this.queryParams.departmentId = null
|
this.queryParams.departmentId = null
|
||||||
this.queryParams.wardId = null
|
this.queryParams.wardId = null
|
||||||
|
this.queryParams.attendingPhysicianId = null
|
||||||
|
setTimeout(() => {
|
||||||
|
this.attendingPhysicianlist = []
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//清空院区
|
//清空院区
|
||||||
@ -1137,6 +1140,10 @@ export default {
|
|||||||
window.removeEventListener('resize', this.getMaxTableHeight, true)
|
window.removeEventListener('resize', this.getMaxTableHeight, true)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
changecertificateIssuingDoctor(e) {
|
||||||
|
console.log(e)
|
||||||
|
console.log(this.queryParams)
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -92,7 +92,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="主治医生" prop="attendingPhysician">
|
<el-form-item label="主治医生" prop="attendingPhysicianId">
|
||||||
<el-select v-model="queryParams.attendingPhysicianId" filterable placeholder="请选择主治医生" style="width: 200px"
|
<el-select v-model="queryParams.attendingPhysicianId" filterable placeholder="请选择主治医生" style="width: 200px"
|
||||||
clearable>
|
clearable>
|
||||||
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
||||||
@ -1089,13 +1089,19 @@ export default {
|
|||||||
this.form.campusAgencyId = null
|
this.form.campusAgencyId = null
|
||||||
this.form.departmentId = null
|
this.form.departmentId = null
|
||||||
this.form.wardId = null
|
this.form.wardId = null
|
||||||
|
this.form.attendingPhysicianId = null
|
||||||
this.formHospital.campusAgencyId = null
|
this.formHospital.campusAgencyId = null
|
||||||
this.formHospital.departmentId = null
|
this.formHospital.departmentId = null
|
||||||
this.formHospital.wardId = null
|
this.formHospital.wardId = null
|
||||||
|
this.formHospital.attendingPhysicianId = null
|
||||||
} else {
|
} else {
|
||||||
this.queryParams.campusAgencyId = null
|
this.queryParams.campusAgencyId = null
|
||||||
this.queryParams.departmentId = null
|
this.queryParams.departmentId = null
|
||||||
this.queryParams.wardId = null
|
this.queryParams.wardId = null
|
||||||
|
this.queryParams.attendingPhysicianId = null
|
||||||
|
setTimeout(() => {
|
||||||
|
this.attendingPhysicianlist = []
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//清空院区
|
//清空院区
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="主治医生" prop="attendingPhysician">
|
<el-form-item label="主治医生" prop="attendingPhysicianId">
|
||||||
<el-select v-model="queryParams.attendingPhysicianId" filterable placeholder="请选择主治医生" style="width:200px"
|
<el-select v-model="queryParams.attendingPhysicianId" filterable placeholder="请选择主治医生" style="width:200px"
|
||||||
clearable>
|
clearable>
|
||||||
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
||||||
@ -1003,10 +1003,15 @@ export default {
|
|||||||
this.form.campusAgencyId = null
|
this.form.campusAgencyId = null
|
||||||
this.form.departmentId = null
|
this.form.departmentId = null
|
||||||
this.form.wardId = null
|
this.form.wardId = null
|
||||||
|
this.form.attendingPhysicianId = null
|
||||||
} else {
|
} else {
|
||||||
this.queryParams.campusAgencyId = null
|
this.queryParams.campusAgencyId = null
|
||||||
this.queryParams.departmentId = null
|
this.queryParams.departmentId = null
|
||||||
this.queryParams.wardId = null
|
this.queryParams.wardId = null
|
||||||
|
this.queryParams.attendingPhysicianId = null
|
||||||
|
setTimeout(() => {
|
||||||
|
this.attendingPhysicianlist = []
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//清空院区
|
//清空院区
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user