Commit a199fe7f by sunchao

团队管理绩效达标奖金显示

parent 408c6629
...@@ -181,7 +181,7 @@ export class SalaryDetailComponent implements OnInit { ...@@ -181,7 +181,7 @@ export class SalaryDetailComponent implements OnInit {
isBasic:this.isBasic isBasic:this.isBasic
} }
if(this.isPreSalary){ if(this.isPreSalary){
param['isActive'] = '1', // param['isActive'] = '1',
param['preFlag'] = 'AGMS' param['preFlag'] = 'AGMS'
}else{ }else{
this.router.navigate(['/salary_detail'],{ queryParams: { years:this.years,month:this.month,agent_id:this.agent_id,isBasic:this.isBasic},replaceUrl: true}); this.router.navigate(['/salary_detail'],{ queryParams: { years:this.years,month:this.month,agent_id:this.agent_id,isBasic:this.isBasic},replaceUrl: true});
......
<div class="wrapper"> <div class="wrapper">
<div class="header"> <div class="header">
<div class="iconfont icon-fanhui" (click)="goBack()"></div> <div class="iconfont icon-fanhui" (click)="goBack()"></div>
<div [ngStyle]="{'margin-left':salaryName?.length>='4' ? '0':'20%'}">{{salaryName}}</div> <div>{{salaryName}}</div>
</div> </div>
<div class="content_wrapper" *ngIf="type=='1'"> <div class="content_wrapper" *ngIf="type=='1'">
<div class="policy_item" *ngFor="let policyItem of policyList"> <div class="policy_item" *ngFor="let policyItem of policyList">
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
¥{{(systemItem['FYC/RYC']) * (systemItem.Rate/100 ) | number: "1.2-2"}} ¥{{(systemItem['FYC/RYC']) * (systemItem.Rate/100 ) | number: "1.2-2"}}
</div> </div>
<div class="money" style="top: 30px;right: 10px;" *ngIf="isBasic==1"> <div class="money" style="top: 30px;right: 10px;" *ngIf="isBasic==1">
¥{{systemItem.Commission}} ¥{{systemItem.Commission | number: "1.2-2"}}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -7,12 +7,17 @@ ...@@ -7,12 +7,17 @@
background: #1b5b99; background: #1b5b99;
display: flex; display: flex;
align-items: baseline; align-items: baseline;
position: relative;
width: 100%;
div:nth-child(1){ div:nth-child(1){
width: 36%; width: 20%;
position: absolute;
} }
div:nth-child(2){ div:nth-child(2){
width: 74%; width:70%;
font-size: 20px; font-size: 20px;
margin: 0 auto;
text-align: center;
} }
} }
.content_wrapper{ .content_wrapper{
......
...@@ -60,7 +60,7 @@ export class SalaryFirstYearComponent implements OnInit { ...@@ -60,7 +60,7 @@ export class SalaryFirstYearComponent implements OnInit {
* 2.续年度销售佣金-》保单 * 2.续年度销售佣金-》保单
* 3.首年度辅导奖金-》保单 * 3.首年度辅导奖金-》保单
* 4.续年度辅导奖金-》保单 * 4.续年度辅导奖金-》保单
* 5.首年度绩效奖金-》体系 * 5.团队管理绩效达标奖金-》体系
* 6.续年度绩效奖金-》体系 * 6.续年度绩效奖金-》体系
* 7.推介奖金-》保单 * 7.推介奖金-》保单
* 8.体系推介奖金-》体系 * 8.体系推介奖金-》体系
...@@ -102,7 +102,7 @@ export class SalaryFirstYearComponent implements OnInit { ...@@ -102,7 +102,7 @@ export class SalaryFirstYearComponent implements OnInit {
}else if(this.salaryType == 4){ }else if(this.salaryType == 4){
this.policyList = res['data']['RenewalYearCoachCommissionList']; this.policyList = res['data']['RenewalYearCoachCommissionList'];
}else if(this.salaryType == 5){ }else if(this.salaryType == 5){
this.systemList = res['data']['FirstYearPerformanceCommissionList']; this.systemList = res['data']['fycMeritsInfoList'];
}else if(this.salaryType == 6){ }else if(this.salaryType == 6){
this.systemList = res['data']['RenewalYearPerformanceCommissionList']; this.systemList = res['data']['RenewalYearPerformanceCommissionList'];
}else if(this.salaryType == 7){ }else if(this.salaryType == 7){
...@@ -122,7 +122,7 @@ export class SalaryFirstYearComponent implements OnInit { ...@@ -122,7 +122,7 @@ export class SalaryFirstYearComponent implements OnInit {
}else if(this.salaryType == 20){ }else if(this.salaryType == 20){
this.systemList = res['data']['indirectCounselingList']; this.systemList = res['data']['indirectCounselingList'];
}else if(this.salaryType == 21){ }else if(this.salaryType == 21){
this.systemList = res['data']['TLCoachingAllowanceList']; this.systemList = res['data']['tlcoachingAllowanceList'];
}else if(this.salaryType == 22){ }else if(this.salaryType == 22){
this.systemList = res['data']['breedingBonusList']; this.systemList = res['data']['breedingBonusList'];
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment