瀏覽代碼

Merge branch 'master' into develop

seimin 1 周之前
父節點
當前提交
b2456ff79f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/app/views/new-statistics/components/query-range/query-range.component.ts

+ 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 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