<div class="panel panel-default">
  <div>
    <!--标题-->
    <div class="panel-title">
      <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
          <li class="breadcrumb-item">统计分析</li>
          <li class="breadcrumb-item active" aria-current="page">所有考场信息标签</li>
        </ol>
      </nav>
    </div>
  </div>

  <div class="panel-body ml-sm " [hidden]="editShowType=='only'">
    <!--查询条件
    <div class="row mb-3 ml-1" [hidden]="editShowType=='only'">
      <div class="col-lg-12">
        <form (ngSubmit)="framePager.goSearch()" class="form-inline">
          <div class="input-group mr-1 input-group-sm">
            <label>关键字：</label>
            <input name="query" [(ngModel)]="query.query" class="input-sm form-control" type="text" value="" maxlength="64"
              placeholder="请输入查询关键字">
          </div>
          <button class="btn btn-primary btn-rounded btn-outline btn-sm  mr-1" (click)="framePager.goSearch()">
            <i class="fa fa-search"></i> 查询</button>
        </form>
      </div>
    </div>-->

    <!-- 工具栏 -->
    <div class="row mb-2" [hidden]="editShowType=='only'">
      <div class="col-lg-12">
        <div class="pull-left">
          <button class="btn btn-primary mr-1 btn-sm" data-toggle="tooltip" data-placement="left" (click)="export()"
            title="导出">
            <i class="fa icon-login"></i>导出</button>
        </div>

      </div>
    </div>

    <!--表格-->
    <div class="row" [hidden]="editShowType=='only'">
      <div class="col-sm-12 ml-0">
        <table class="table table-sm table-striped table-hover table-bordered bg-white">
          <thead>
            <tr>
              <th align="center">序号</th>
              <th align="center">考区代号</th>
              <th align="center">考区名称</th>
              <th align="center">考点代号</th>
              <th align="center">考点名称</th>
              <th align="center">考场代号</th>
              <th align="center">时段</th>
            </tr>
          </thead>
          <tbody>
            <tr *ngFor="let item of examLabel; let i = index">
              <td align="center">{{i+1}}</td>
              <td align="center">{{item.org_code}}</td>
              <td align="center">{{item.exam_name}}</td>
              <td align="center">{{item.unit_code}}</td>
              <td align="center">{{item.unit_name}}</td>
              <td align="center">{{item.room_code}}</td>
              <td align="center">{{item.exam_times}}</td>
            </tr>
          </tbody>
        </table>
       
      </div>
      <!-- 编辑页面 -->
      <div class="col-lg-12" *ngIf="item && editShowType != null &&editShowType!='modal'">
        <ng-container *ngTemplateOutlet="editTemplateModal">
        </ng-container>
      </div>

    </div>
  </div>
  <!-- only编辑页面-->
  <div class="col-lg-12" *ngIf="item && editShowType != null &&editShowType =='only'">
    <ng-container *ngTemplateOutlet="editTemplateModal">
    </ng-container>
  </div>
</div>