Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
c359b81a
Commit
c359b81a
authored
Jan 17, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不区分线上线下,FYC和FYP调换位置
parent
b89f6e19
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
22 deletions
+23
-22
src/app/my/my-center-home/my-center-home.component.html
+13
-13
src/app/my/my-center-home/my-center-home.component.ts
+1
-1
src/app/my/sales-rank/sales-rank.component.html
+5
-5
src/app/my/sales-rank/sales-rank.component.ts
+4
-3
No files found.
src/app/my/my-center-home/my-center-home.component.html
View file @
c359b81a
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<span
class=
"detail"
(
click
)="
jumpToDetail
()"
><img
style=
"max-width: 18%;margin-right: 2px;"
<span
class=
"detail"
(
click
)="
jumpToDetail
()"
><img
style=
"max-width: 18%;margin-right: 2px;"
src=
"assets/images/icon_2.png"
>
龙虎榜
<i
class=
"iconfont icon-ar-r"
style=
"font-size:12px;"
></i></span>
src=
"assets/images/icon_2.png"
>
龙虎榜
<i
class=
"iconfont icon-ar-r"
style=
"font-size:12px;"
></i></span>
<ul
class=
"tab"
>
<ul
class=
"tab"
>
<li
*
ngFor=
"let item of performanceList"
(
click
)="
rank
(
item
.
time
,
1
,
2
)
;
rank
(
item
.
time
,
2
,
2
)
"
<li
*
ngFor=
"let item of performanceList"
(
click
)="
rank
(
item
.
time
,
1
,
2
)"
[
ngClass
]="{
selected:performanceSelectedFlag=
=item.time}"
>
[
ngClass
]="{
selected:performanceSelectedFlag=
=item.time}"
>
<div
style=
"position: relative;"
>
<div
style=
"position: relative;"
>
<h3>
<h3>
...
@@ -48,47 +48,47 @@
...
@@ -48,47 +48,47 @@
</ul>
</ul>
<div>
<div>
<ul
class=
"performance_list title"
>
<ul
class=
"performance_list title"
>
<li></li>
<!-- <li></li> -->
<li>
FYP
</li>
<li>
FYC
</li>
<li>
FYC
</li>
<li>
FYP
</li>
<li>
件数
</li>
<li>
件数
</li>
<li>
完成率
</li>
<li>
完成率
</li>
</ul>
</ul>
<ul
class=
"performance_list"
*
ngIf=
"!isShowDashBoardData"
>
<ul
class=
"performance_list"
*
ngIf=
"!isShowDashBoardData"
>
<li>
线上
</li>
<!-- <li>线上</li> -->
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
¥{{onlineInfo?.fyp | number: "1.0-0"}}
</li>
<li
class=
"markPrice"
>
<li
class=
"markPrice"
>
¥{{onlineInfo?.fyc | number: "1.0-0"}}
¥{{onlineInfo?.fyc | number: "1.0-0"}}
</li>
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
¥{{onlineInfo?.fyp | number: "1.0-0"}}
</li>
<li
class=
"markPrice"
>
{{onlineInfo?.count?onlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
{{onlineInfo?.count?onlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
style=
"position: relative;top: 12px;"
>
<li
class=
"markPrice"
style=
"position: relative;top: 12px;"
>
{{onlineInfo?.completionRate?onlineInfo.completionRate + '%':'-'}}
{{onlineInfo?.completionRate?onlineInfo.completionRate + '%':'-'}}
</li>
</li>
</ul>
</ul>
<ul
class=
"performance_list"
*
ngIf=
"isShowDashBoardData"
>
<ul
class=
"performance_list"
*
ngIf=
"isShowDashBoardData"
>
<
li>
线上
</li
>
<
!-- <li>线上</li> --
>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
***
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
style=
"position: relative;top: 12px;"
>
***
</li>
<li
class=
"markPrice"
style=
"position: relative;top: 12px;"
>
***
</li>
</ul>
</ul>
<ul
class=
"performance_list"
*
ngIf=
"!isShowDashBoardData"
>
<ul
class=
"performance_list"
*
ngIf=
"!isShowDashBoardData"
>
<li>
线下
</li>
<!-- <li>线下</li> -->
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
¥{{offlineInfo?.fyp | number: "1.0-0"}}
</li>
<li
class=
"markPrice"
>
<li
class=
"markPrice"
>
¥{{offlineInfo?.fyc | number: "1.0-0"}}
¥{{offlineInfo?.fyc | number: "1.0-0"}}
</li>
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
¥{{offlineInfo?.fyp | number: "1.0-0"}}
</li>
<li
class=
"markPrice"
>
{{offlineInfo?.count?offlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
{{offlineInfo?.count?offlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
<li
class=
"markPrice"
>
</li>
</li>
</ul>
</ul>
<ul
class=
"performance_list"
*
ngIf=
"isShowDashBoardData"
>
<ul
class=
"performance_list"
*
ngIf=
"isShowDashBoardData"
>
<
li>
线下
</li
>
<
!-- <li>线下</li> --
>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
***
</li>
<li
class=
"markPrice"
style=
"margin:0 7px;"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
<li
class=
"markPrice"
>
***
</li>
...
...
src/app/my/my-center-home/my-center-home.component.ts
View file @
c359b81a
...
@@ -63,7 +63,7 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -63,7 +63,7 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
]
]
//初始化调本月线上 保费+ 本月线下保费
//初始化调本月线上 保费+ 本月线下保费
this
.
rank
(
1
,
1
,
1
)
this
.
rank
(
1
,
1
,
1
)
this
.
rank
(
1
,
2
,
1
)
//
this.rank(1, 2, 1)
this
.
recommendPlanQuery
();
this
.
recommendPlanQuery
();
//判断是否团队长
//判断是否团队长
// this.subordinateSystemMemberQuery();
// this.subordinateSystemMemberQuery();
...
...
src/app/my/sales-rank/sales-rank.component.html
View file @
c359b81a
...
@@ -10,12 +10,12 @@
...
@@ -10,12 +10,12 @@
{{item.name}}
{{item.name}}
</li>
</li>
</ul>
</ul>
<ul
class=
"tab"
>
<
!-- <
ul class="tab">
<li *ngFor="let listItem of typelist" (click)="rank(timeType,listItem.type,searchType)"
<li *ngFor="let listItem of typelist" (click)="rank(timeType,listItem.type,searchType)"
[ngClass]="{selected:isOnlineType==listItem.type}">
[ngClass]="{selected:isOnlineType==listItem.type}">
{{listItem.name}}
{{listItem.name}}
</li>
</li>
</ul>
</ul>
-->
<!-- <ul class="tab">
<!-- <ul class="tab">
<li *ngFor="let searchListItem of searchList" (click)="rank(timeType,isOnlineType,searchListItem.type)"
<li *ngFor="let searchListItem of searchList" (click)="rank(timeType,isOnlineType,searchListItem.type)"
[ngClass]="{selected:searchType==searchListItem.type}">
[ngClass]="{selected:searchType==searchListItem.type}">
...
@@ -29,17 +29,17 @@
...
@@ -29,17 +29,17 @@
<li>
姓名
</li>
<li>
姓名
</li>
<li>
团队
</li>
<li>
团队
</li>
<li
*
ngIf=
"searchType=='1'"
style=
"color: #333;font-weight: normal;position: relative;"
<li
*
ngIf=
"searchType=='1'"
style=
"color: #333;font-weight: normal;position: relative;"
(
click
)="
rank
(
timeType
,
isOnlineType
,
2
)"
>
(
click
)="
rank
(
timeType
,
isOnlineType
,
3
)"
>
FYP
<img
src=
"assets/images/icon.png"
FYP
<img
src=
"assets/images/icon.png"
style=
"position: relative;width: 12%;right: 0;top: -2px;margin-left: 3px;"
>
style=
"position: relative;width: 12%;right: 0;top: -2px;margin-left: 3px;"
>
</li>
</li>
<li
*
ngIf=
"searchType=='2'"
style=
"color: #333;font-weight: normal;position: relative;"
<li
*
ngIf=
"searchType=='2'"
style=
"color: #333;font-weight: normal;position: relative;"
(
click
)="
rank
(
timeType
,
isOnlineType
,
3
)"
>
(
click
)="
rank
(
timeType
,
isOnlineType
,
1
)"
>
FYC
<img
src=
"assets/images/icon.png"
FYC
<img
src=
"assets/images/icon.png"
style=
"position: relative;width: 12%;right: 0;top: -2px;margin-left: 3px;"
>
style=
"position: relative;width: 12%;right: 0;top: -2px;margin-left: 3px;"
>
</li>
</li>
<li
*
ngIf=
"searchType=='3'"
style=
"color: #333;font-weight: normal;margin-right: 0;position: relative;"
<li
*
ngIf=
"searchType=='3'"
style=
"color: #333;font-weight: normal;margin-right: 0;position: relative;"
(
click
)="
rank
(
timeType
,
isOnlineType
,
1
)"
>
(
click
)="
rank
(
timeType
,
isOnlineType
,
2
)"
>
件数
<img
src=
"assets/images/icon.png"
style=
"position: relative;width: 12%;right: 0;top: -2px;margin-left: 3px;"
>
件数
<img
src=
"assets/images/icon.png"
style=
"position: relative;width: 12%;right: 0;top: -2px;margin-left: 3px;"
>
</li>
</li>
</ul>
</ul>
...
...
src/app/my/sales-rank/sales-rank.component.ts
View file @
c359b81a
...
@@ -39,13 +39,14 @@ export class SalesRankComponent implements OnInit {
...
@@ -39,13 +39,14 @@ export class SalesRankComponent implements OnInit {
this
.
practitionerBasicInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
"lifeCustomerInfo"
))[
'practitionerBasicInfo'
];
this
.
practitionerBasicInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
"lifeCustomerInfo"
))[
'practitionerBasicInfo'
];
this
.
time
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
time
?
Number
(
this
.
activatedRoute
.
snapshot
.
queryParams
.
time
)
:
null
;
this
.
time
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
time
?
Number
(
this
.
activatedRoute
.
snapshot
.
queryParams
.
time
)
:
null
;
//初始化查寿险保费
//初始化查寿险保费
this
.
rank
(
this
.
time
,
2
,
1
)
this
.
rank
(
this
.
time
,
2
,
2
)
}
}
/**
/**
* time 1-month,2-year,3-季度
* time 1-month,2-year,3-季度
* type
1-fyc,2
-fyp 3-件数
* type
2-fyc,1
-fyp 3-件数
* platform //1-online,2-offline
* platform //1-online,2-offline
* isPersonal //1.姓名是*号
*/
*/
rank
(
time
,
platform
,
type
)
{
rank
(
time
,
platform
,
type
)
{
this
.
timeType
=
time
;
this
.
timeType
=
time
;
...
@@ -56,7 +57,7 @@ export class SalesRankComponent implements OnInit {
...
@@ -56,7 +57,7 @@ export class SalesRankComponent implements OnInit {
time
:
time
,
time
:
time
,
platform
:
platform
,
platform
:
platform
,
type
:
type
,
type
:
type
,
isPersonal
:
1
isPersonal
:
0
}
}
this
.
myService
.
rank
(
param
).
subscribe
((
res
)
=>
{
this
.
myService
.
rank
(
param
).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment