<div class="salesWrapper">
  <ul class="tab">
    <li *ngFor="let titleItem of titleList" (click)="selectTab(titleItem.id)"
      [ngClass]="{selected:selectedId===titleItem.id}">
      <div style="position: relative;">
        <h3>{{titleItem.name}}
        </h3>
      </div>
    </li>
  </ul>
  <div class="salesContent">
    <div style="text-align: center;margin: 20px auto;font-size: 20px;" *ngIf="approvarList?.length==0">暂无数据</div>
    <div class="salesItem" *ngFor="let approvarItem of approvarList" >
      <div class="icon_bolck"><span class="iconfont icon-ren4"></span></div>
      <div class="line">
        <div>姓名：{{approvarItem.name}}</div>
        <span class="iconfont icon-ar-r" style="font-size: 10px;position: relative; right: -2px;"
        (click)="jumpToDetail(approvarItem)"></span>
      </div>
      <div class="line" *ngIf="selectedId==1 || selectedId==2" (click)="jumpToDetail(approvarItem,'view')">
        查看详情
      </div>
      <div class="line">
        <div> 手机号：{{approvarItem.mobileNo}}</div>
        <div>{{approvarItem.practitionerLevel}}</div>
      </div>
      <div class="line">
       <div>申请时间：{{approvarItem.applicationTime}}</div>
         <!-- <div>{{recruitingItem.createdAt}}</div> -->
      </div>
    </div>
  </div>
</div>

