|
@@ -285,7 +285,8 @@ export class BatchInspectionComponent implements OnInit {
|
285
|
285
|
}else if (this.confirmDelType === "add") {
|
286
|
286
|
//新增-患者陪检闭环
|
287
|
287
|
let postData = {
|
288
|
|
- inspectIds: this.inspectActiveList.map(v => v.id).toString() || undefined,
|
|
288
|
+ patientIds: this.inspectActiveList.length === 0 ? this.patientActiveList.map(v => v.id).toString() : undefined,
|
|
289
|
+ inspectIds: this.inspectActiveList.length !== 0 ? this.inspectActiveList.map(v => v.id).toString() : undefined,
|
289
|
290
|
}
|
290
|
291
|
this.mainService
|
291
|
292
|
.bindPatientInspect(postData)
|