Commit e09540b9 by sunchao

我的团队去掉战队两个字

parent 2cd5a019
......@@ -4,7 +4,7 @@
<!-- <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}}战队</div>
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName?subordinateSystemName.split('').join('/'):''}}</div>
</div>
</div>
<div class="rankInfoWrapper">
......
......@@ -2,7 +2,7 @@
<div class="teamHeader">
<div class="teamItem teamInfo">
<img src="assets/images/cup_icon.png" >
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName}}战队</div>
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName?subordinateSystemName.split('').join('/'):''}}</div>
</div>
</div>
<div class="rankInfoWrapper">
......
......@@ -7,7 +7,7 @@
<!-- <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}}战队</div>
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName.split('').join('/')}}</div>
</div>
<div class="taem_panel_item_wrapper" style="margin-top: -15px;">
<div class="taem_panel_item_top">
......
......@@ -3,7 +3,7 @@
<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>
<div style="float: left;">{{subordinateSystemName}}战队</div>
<div style="float: left;">{{subordinateSystemName?subordinateSystemName.split('').join('/'):''}}</div>
</div>
<div class="teamItem totalSales">
<div class="teamTotal">
......
......@@ -28,6 +28,7 @@ export class TeamRankComponent implements OnInit {
ngOnInit() {
this.performanceListShow = [];
this.subordinateSystemName = JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerBasicInfo']['subordinateName']
this.subordinateSystemMemberQuery(1, 'online');
}
......@@ -43,7 +44,6 @@ export class TeamRankComponent implements OnInit {
this.myService.subordinateSystemMemberQuery({ practitionerId: practitionerId, time: time }).subscribe((res) => {
if (res['success']) {
this.allPerformanceInfo = res['data'];
this.subordinateSystemName = res['data']['subordinateSystemName'];
this.statisticInfo = res['data']['statisticInfo'];
this.performanceListShow = res['data']['memberInfoList'];
}
......
......@@ -4,7 +4,7 @@
<!-- <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}}战队</div>
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName?subordinateSystemName.split('').join('/'):''}}</div>
</div>
</div>
<div *ngIf="showType==='teamSalesScore'">
......
......@@ -27,9 +27,11 @@ export class TeamSalesScoreComponent implements OnInit {
this.showType = this.activateRoute.snapshot.paramMap.get('type');
if (this.showType === 'teamSalesScore') {
this.queryPEPScore();
this.subordinateSystemName = JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerBasicInfo']['subordinateName']
}
if (this.showType === 'forecast') {
this.salesPerformanceForecastListQuery('m')
this.subordinateSystemName = JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerBasicInfo']['subordinateName']
}
if(this.showType === 'memberList'){
this.queryTeamMemberDetail();
......
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