
<ion-header>

  <ion-navbar>
    <ion-title>换班申请处理</ion-title>
  </ion-navbar>

</ion-header>


<ion-content class="bgc-e7e8ed">
  <div class="detail-item">
    <p class="detail-title1">申请信息</p>
    <p>申请人： {{this.applyDetail?.personName}}</p>
    <p>值班日期：{{this.applyDetail?.createTime | date:'yyyy-MM-dd'}}</p>
    <p>换班原因：{{this.applyDetail?.reason}}</p>
  </div>
  <div class="detail-item">
    <p class="detail-title2">换班信息</p>
    <p>换班对象：{{this.item?.name}}</p>
    <p>值班日期：{{this.applyDetail?.createTime  | date:'yyyy-MM-dd'}}</p>
  </div>
  <button *ngIf="applyType == 'replace'" class="submit-btn submit" (click)="replace()">确认替班</button>
  <button *ngIf="applyType == 'change'" class="submit-btn submit" (click)="change()">确认换班</button>
</ion-content>
