
<ion-header>

  <ion-navbar>
    <ion-title>选择换班人员</ion-title>
  </ion-navbar>
  <div class="duty">
    <div class="dutyItem" (click)="change(0)">
      <span  class="{{changeType == 0?'duty-title':''}}">白班</span>
    </div>
    <div class="dutyItem"  (click)="change(1)">
      <span class="{{changeType == 1?'duty-title':''}}">夜班</span>
    </div>
  </div>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item *ngFor="let item of list;" >
      <div (click)="select(item)">
        <span>{{item.dutyDate | date:'yyyy-MM-dd'}}</span>
        <span>{{item.name}}</span>
      </div>

    </ion-item>
  </ion-list>
</ion-content>
