maotao 1 mese fa
parent
commit
a93c4544ed

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

@@ -40,7 +40,7 @@ export class QueryRangeComponent implements OnInit {
40 40
       hospital: [(this.hospital && (this.queryType == 2 || this.queryType == 3)) ? this.hospital.id : null],
41 41
       duty: [(this.duty && this.queryType == 3) ? this.duty.id : null],
42 42
       dutyOne: [(this.duty && this.queryType == 4) ? this.duty.id : null],
43
-			parent :[this.parent?1:0, [Validators.required]]
43
+			// parent :[this.parent?1:0, [Validators.required]]
44 44
     });
45 45
   }
46 46
   // 表单提交
@@ -53,7 +53,7 @@ export class QueryRangeComponent implements OnInit {
53 53
     let queryType = this.validateForm.value.queryType;
54 54
     let hospital;
55 55
     let duty;
56
-		let parent = this.validateForm.value.parent;
56
+		// let parent = this.validateForm.value.parent;
57 57
     switch (queryType) {
58 58
       case 1:
59 59
         break;
@@ -69,7 +69,7 @@ export class QueryRangeComponent implements OnInit {
69 69
         duty = this.dutyOneList.find(v => v.id == this.validateForm.value.dutyOne);
70 70
         break;
71 71
     }
72
-    this.submitQueryRange.emit({queryType, hospital, duty, parent});
72
+    this.submitQueryRange.emit({queryType, hospital, duty});
73 73
     this.hideModal();
74 74
   }
75 75