|
@@ -57,6 +57,7 @@ export class EditInspectInfo2Component implements OnInit {
|
57
|
57
|
if(this.patient){
|
58
|
58
|
this.inspectData.patientId = this.patient.id;
|
59
|
59
|
this.patientList = [this.patient];
|
|
60
|
+ this.patientDTO = this.patient;
|
60
|
61
|
}
|
61
|
62
|
|
62
|
63
|
if(this.date){
|
|
@@ -193,7 +194,7 @@ export class EditInspectInfo2Component implements OnInit {
|
193
|
194
|
}
|
194
|
195
|
this.submitFormHand.emit({
|
195
|
196
|
applyDeptId: this.inspectData.applyDeptId,
|
196
|
|
- patientDTO: this.patientList.find(v => v.id == this.inspectData.patientId),
|
|
197
|
+ patientDTO: this.patientDTO,
|
197
|
198
|
deptId: this.deptId,
|
198
|
199
|
remark: this.remark,
|
199
|
200
|
date: format(this.yyDate, 'yyyy-MM-dd') + ' ' + format(startOfMinute(this.yyTime), 'HH:mm:ss'),
|