<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)="selectPerson(item)">
          <span>{{item.name}}</span>
          <span>{{item.orgName}}</span>
          <span>{{item.phoneNumber}}</span>
      </div>
    </ion-item>
  </ion-list>
</ion-content>
