<div class="team_sales_detail_wrapper">
  <div class="teamHeader">
    <div class="teamItem teamInfo">
      <!-- <span class="icon-tuandui iconfont"
        style="position: absolute;width:45px;height:45px;line-height:35px;font-size: 30px;left:0;border: 1px #dcdcdc solid; padding: 5px;border-radius: 50%;"></span> -->
        <img src="assets/images/cup_icon.png" >
        <div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName.split('').join('/')}}/战/队</div>
    </div>
  </div>
  <div *ngIf="this.showType==='teamSalesScore'">
    <div class="rankInfoWrapper">
      <div class="rankContent">
        <div style="font-size: 18px;margin: 5px auto;text-align: center;">战队成员活动量得分</div>
        <div class="content_wrapper">
          <ul style="border: none;">
            <li>姓名</li>
            <li class="day">今天</li>
            <li>本周</li>
            <li>本月</li>
            <li style="line-height: 15px;">月分效(FYC/分)</li>
            <li></li>
          </ul>
          <div style="width: 100%;text-align: center;float: left;height: 35px;"
            *ngIf="personalList?.length <=0">
            暂无战队成员，努力去增员吧
          </div>
          <ul *ngFor="let personalItem of personalList;index as i;" [routerLink]="['/scoreDeatil',personalItem.practitionerId]">
            <li><span> {{i + 1}} </span> 
            {{personalItem.name}}</li>
            <li class="day">{{personalItem.dayScore}}</li>
            <li>{{personalItem.weekScore}}</li>
            <li>{{personalItem.monthScore}}</li>
            <li>{{personalItem.rate}}</li>
            <li><i class="iconfont icon-ar-r" style="color: #A4A4A4FF;font-size: 12px;" ></i></li>
          </ul>
        </div>

      </div>
    </div>
  </div>
  <div *ngIf="this.showType==='forecast'">
    <div class="rankInfoWrapper">
      <div class="rankContent">
        <div class="tab">
          <div style="font-size: 18px;">战队销售业绩预测(预计)</div>
          <ul>
            <li [ngClass]="{selected:selectedSalseItem==='m'}" (click)="salesPerformanceForecastListQuery('m')">本月</li>
            <li [ngClass]="{selected:selectedSalseItem==='q'}" (click)="salesPerformanceForecastListQuery('q')">本季</li>
            <li [ngClass]="{selected:selectedSalseItem==='y'}" (click)="salesPerformanceForecastListQuery('y')">本年</li>
          </ul>
        </div>
        <div class="content_wrapper forecast">
          <ul style="border-bottom: none;">
            <li class="name">姓名</li>
            <li>FYP</li>
            <li>FYC</li>
            <li class="count">件数</li>
            <li>完成率</li>
          </ul>
          <div style="width: 100%;text-align: center;float: left;height: 35px;"
            *ngIf="salesPerformanceForecastInfos?.length <=0">
            暂无战队成员，努力去增员吧
          </div>
          <ul *ngFor="let forecastItem of salesPerformanceForecastInfos;index as i;">
            <li class="name"><span>{{i+1}}</span>{{forecastItem.name}}</li>
            <li>{{forecastItem.premium!=null?'￥'+lifeCommonService.transform(forecastItem.premium):'-'}}</li>
            <li>{{forecastItem.commission!=null?'￥'+lifeCommonService.transform(forecastItem.commission):'-'}}</li>
            <li class="count">{{forecastItem.pieces!=null?forecastItem.pieces:'-'}}</li>
            <li>{{forecastItem.achievementRate!=null?lifeCommonService.toPercent(forecastItem.achievementRate):'-' }}
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>