<div class="header">
  <i class="icon_transport transport-fanhui" (click)="goBack()"></i>
  <a replaceUrl routerLinkActive="active" [routerLink]="'/newStatistics/' + data.link" class="title" *ngFor="let data of menuList">{{data.title}}</a>
  <div class="hospital" (click)="queryRangeClick()">
    <ng-container *ngIf="queryType == 1">查询范围:全院查询</ng-container>
    <ng-container *ngIf="queryType == 2">查询范围:{{hospital.hosName}}</ng-container>
    <ng-container *ngIf="queryType == 3">查询范围:{{hospital.hosName}}{{duty.hosName}}</ng-container>
    <ng-container *ngIf="queryType == 4">查询范围:垂直-{{hospital.hosName}}{{duty.hosName}}</ng-container>
    <i class="icon_transport transport-jiantou_zuoyouqiehuan"></i>
  </div>
</div>
<router-outlet></router-outlet>

<!-- 查询范围 -->
<app-query-range [hospital]="hospital" [duty]="duty" [queryType]="queryType" [parent]="parent" (cancelQueryRange)="cancelQueryRange()" (submitQueryRange)="submitQueryRange($event)" *ngIf="queryRangeFlag"></app-query-range>
