@@ -2732,6 +2732,10 @@ export class FuwutaiComponent implements OnInit {
this.patientList = [patient];
return;
}
+ if(!id){
+ this.patientList = [];
+ return;
+ }
let dataObj = { searchWords, deptId: id };
this.isLoadingPatient = true;
this.mainService.getPatientList(dataObj).subscribe((result) => {