|
@@ -51,6 +51,7 @@ export class QueryRangeComponent implements OnInit {
|
51
|
51
|
}
|
52
|
52
|
if (this.validateForm.invalid) return;
|
53
|
53
|
let queryType = this.validateForm.value.queryType;
|
|
54
|
+ let parent = this.validateForm.value.parent;
|
54
|
55
|
let hospital;
|
55
|
56
|
let duty;
|
56
|
57
|
switch (queryType) {
|
|
@@ -68,7 +69,7 @@ export class QueryRangeComponent implements OnInit {
|
68
|
69
|
duty = this.dutyOneList.find(v => v.id == this.validateForm.value.dutyOne);
|
69
|
70
|
break;
|
70
|
71
|
}
|
71
|
|
- this.submitQueryRange.emit({queryType, hospital, duty});
|
|
72
|
+ this.submitQueryRange.emit({queryType, hospital, duty, parent});
|
72
|
73
|
this.hideModal();
|
73
|
74
|
}
|
74
|
75
|
|