Browse Source

bug修复

maotao 5 months ago
parent
commit
9d73e5b22b

+ 2 - 1
src/app/views/new-statistics/components/query-range/query-range.component.ts

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