|
@@ -93,7 +93,7 @@ export class HospitalManagementComponent implements OnInit {
|
93
|
93
|
};
|
94
|
94
|
if (this.coopId) {
|
95
|
95
|
// 过滤这个院区及其子院区
|
96
|
|
- postData.hospital.filterByDeptId = this.coopId;
|
|
96
|
+ postData.hospital.filterByHosId = this.coopId;
|
97
|
97
|
}
|
98
|
98
|
return this.mainService.getFetchDataList("data", "hospital", postData);
|
99
|
99
|
}
|
|
@@ -118,7 +118,7 @@ export class HospitalManagementComponent implements OnInit {
|
118
|
118
|
addModal() {
|
119
|
119
|
this.add = true;
|
120
|
120
|
this.modal = true;
|
121
|
|
- this.validateForm.controls.parentHospital.setValue("");
|
|
121
|
+ this.validateForm.controls.parentHospital.setValue(null);
|
122
|
122
|
this.validateForm.controls.hospitalName.setValue("");
|
123
|
123
|
this.validateForm.controls.hospitalNum.setValue("");
|
124
|
124
|
}
|