修改患者
This commit is contained in:
parent
9f3ec67e1b
commit
1200a83f93
@ -944,7 +944,14 @@ export default {
|
|||||||
console.log(id);
|
console.log(id);
|
||||||
getPatientInfo(id).then((response) => {
|
getPatientInfo(id).then((response) => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.form = response.data;
|
if( this.form.dischargeTime && ! this.form.visitDate){
|
||||||
|
this.form.dischargeTime = response.data.dischargeTime
|
||||||
|
}else if(this.form.visitDate && ! this.form.dischargeTime){
|
||||||
|
this.form.dischargeTime = response.data.visitDate
|
||||||
|
}else if(this.form.visitDate && this.form.dischargeTime){
|
||||||
|
this.form.dischargeTime = response.data.visitDate
|
||||||
|
}
|
||||||
|
|
||||||
if (this.form.hospitalAgencyId) {
|
if (this.form.hospitalAgencyId) {
|
||||||
this.changehospitalAgency(this.form.hospitalAgencyId, 1, 2);
|
this.changehospitalAgency(this.form.hospitalAgencyId, 1, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user