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
0a037f46
Commit
0a037f46
authored
Jun 01, 2020
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
539dc04a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
30 deletions
+43
-30
src/app/my/my-center-home/my-center-home.component.html
+3
-3
src/app/my/my-center-home/my-center-home.component.ts
+3
-1
src/app/my/my-setting/my-setting.component.html
+2
-1
src/app/my/my-target/my-target.component.html
+14
-8
src/app/my/my-target/my-target.component.scss
+14
-7
src/app/my/sales-rank/sales-rank.component.scss
+7
-10
No files found.
src/app/my/my-center-home/my-center-home.component.html
View file @
0a037f46
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</li>
</li>
<li>
首年佣金
</li>
<li>
首年佣金
</li>
<li>
件数
</li>
<li>
件数
</li>
<li>
排名
</li>
<li>
完成率
</li>
</ul>
</ul>
<ul
class=
"performance_list"
>
<ul
class=
"performance_list"
>
<li>
线上
</li>
<li>
线上
</li>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</li>
</li>
<li
class=
"markPrice"
>
{{onlineInfo?.count?onlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
{{onlineInfo?.count?onlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
<li
class=
"markPrice"
>
{{onlineInfo?.
rank?onlineInfo.rank
:'-'}}
{{onlineInfo?.
completionRate?onlineInfo.completionRate + '%'
:'-'}}
</li>
</li>
</ul>
</ul>
<ul
class=
"performance_list"
>
<ul
class=
"performance_list"
>
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</li>
</li>
<li
class=
"markPrice"
>
{{offlineInfo?.count?offlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
{{offlineInfo?.count?offlineInfo.count:'-'}}
</li>
<li
class=
"markPrice"
>
<li
class=
"markPrice"
>
{{offlineInfo?.
rank?offlineInfo.rank
:'-'}}
{{offlineInfo?.
completionRate?offlineInfo.completionRate + '%'
:'-'}}
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
src/app/my/my-center-home/my-center-home.component.ts
View file @
0a037f46
...
@@ -89,7 +89,7 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -89,7 +89,7 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
{
{
title
:
'我的团队'
,
title
:
'我的团队'
,
content
:
[
content
:
[
{
no
:
15
,
subtitle
:
'我的团队'
,
icon
:
'icon-tuandui'
,
path
:
''
,
routerLink
:
'
teamPanel
'
},
{
no
:
15
,
subtitle
:
'我的团队'
,
icon
:
'icon-tuandui'
,
path
:
''
,
routerLink
:
''
},
// { no: 16, subtitle: '团队增员', icon: 'icon-tuanduiguanlisvg', path: '', routerLink: '' },
// { no: 16, subtitle: '团队增员', icon: 'icon-tuanduiguanlisvg', path: '', routerLink: '' },
{
no
:
16
,
subtitle
:
'团队增员'
,
icon
:
'icon-tuanduiguanlisvg'
,
path
:
''
,
routerLink
:
'recruiting'
},
{
no
:
16
,
subtitle
:
'团队增员'
,
icon
:
'icon-tuanduiguanlisvg'
,
path
:
''
,
routerLink
:
'recruiting'
},
{
no
:
18
,
subtitle
:
'招募海报'
,
icon
:
'icon-haibao-1'
,
path
:
''
,
routerLink
:
''
},
{
no
:
18
,
subtitle
:
'招募海报'
,
icon
:
'icon-haibao-1'
,
path
:
''
,
routerLink
:
''
},
...
@@ -134,6 +134,8 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -134,6 +134,8 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
this
.
router
.
navigate
([
'/salesDetail'
],
{
queryParams
:
{
searchType
:
this
.
performanceSelectedFlag
,
showType
:
'orderform'
}
});
this
.
router
.
navigate
([
'/salesDetail'
],
{
queryParams
:
{
searchType
:
this
.
performanceSelectedFlag
,
showType
:
'orderform'
}
});
}
else
if
(
item
.
no
===
14
)
{
}
else
if
(
item
.
no
===
14
)
{
this
.
router
.
navigate
([
'/salesDetail'
],
{
queryParams
:
{
searchType
:
this
.
performanceSelectedFlag
,
showType
:
'sales'
}
});
this
.
router
.
navigate
([
'/salesDetail'
],
{
queryParams
:
{
searchType
:
this
.
performanceSelectedFlag
,
showType
:
'sales'
}
});
}
else
if
(
item
.
no
===
15
)
{
this
.
router
.
navigate
([
'/teamPanel'
])
}
else
if
(
!
item
.
subtitle
)
{
}
else
if
(
!
item
.
subtitle
)
{
return
;
return
;
}
else
if
(
item
.
no
===
18
)
{
}
else
if
(
item
.
no
===
18
)
{
...
...
src/app/my/my-setting/my-setting.component.html
View file @
0a037f46
...
@@ -37,5 +37,5 @@
...
@@ -37,5 +37,5 @@
<span
class=
"iconfont icon-ar-r"
></span>
<span
class=
"iconfont icon-ar-r"
></span>
</div>
</div>
</div>
</div>
<div
class=
"saveBtn"
(
click
)="
getOut
()"
>
退出
</div>
<div
class=
"saveBtn"
(
click
)="
getOut
()"
>
退出
系统
</div>
</div>
</div>
\ No newline at end of file
src/app/my/my-target/my-target.component.html
View file @
0a037f46
...
@@ -18,9 +18,11 @@
...
@@ -18,9 +18,11 @@
<div
class=
"content_target"
*
ngIf=
"searchType===1"
>
<div
class=
"content_target"
*
ngIf=
"searchType===1"
>
<div
class=
"content_target_wrapper"
>
<div
class=
"content_target_wrapper"
>
<div
class=
"line"
>
<div
class=
"line"
>
<i
class=
"iconfont icon-bianji"
*
ngIf=
"personalSalesReadonlyFlag"
<i
class=
"iconfont icon-bianji"
*
ngIf=
"personalSalesReadonlyFlag"
(
click
)="
personalSalesReadonlyFlag =
false;"
>
(
click
)="
personalSalesReadonlyFlag =
false;"
></i>
</i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!personalSalesReadonlyFlag"
(
click
)="
salesTargetSave
(
1
)"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!personalSalesReadonlyFlag"
(
click
)="
salesTargetSave
(
1
)"
>
<span
class=
"save"
>
保存
</span>
</i>
<div
class=
"title"
>
个人年度销售目标
</div>
<div
class=
"title"
>
个人年度销售目标
</div>
<div
class=
"content_target_item"
>
<div
class=
"content_target_item"
>
<span>
首年保费FYP
</span>
<span>
首年保费FYP
</span>
...
@@ -78,7 +80,9 @@
...
@@ -78,7 +80,9 @@
<i
class=
"iconfont icon-bianji"
*
ngIf=
"personalSalesActivityFlag"
<i
class=
"iconfont icon-bianji"
*
ngIf=
"personalSalesActivityFlag"
(
click
)="
personalSalesActivityFlag =
false;"
></i>
(
click
)="
personalSalesActivityFlag =
false;"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!readonlyFlag && salesTargetFlag && !personalSalesActivityFlag"
<i
class=
"iconfont icon-save"
*
ngIf=
"!readonlyFlag && salesTargetFlag && !personalSalesActivityFlag"
(
click
)="
salesTargetMonthSave
(
1
)"
></i>
(
click
)="
salesTargetMonthSave
(
1
)"
>
<span
class=
"save"
>
保存
</span>
</i>
<div
class=
"title"
>
月均销售活动量目标
</div>
<div
class=
"title"
>
月均销售活动量目标
</div>
<div
*
ngIf=
"!salesTargetActions || salesTargetActions.length<=0"
style=
"text-align: center;"
>
请先设置销售目标
</div>
<div
*
ngIf=
"!salesTargetActions || salesTargetActions.length<=0"
style=
"text-align: center;"
>
请先设置销售目标
</div>
<div
class=
"content_target_item"
*
ngFor=
"let salesTargetActionItem of salesTargetActions"
>
<div
class=
"content_target_item"
*
ngFor=
"let salesTargetActionItem of salesTargetActions"
>
...
@@ -94,7 +98,9 @@
...
@@ -94,7 +98,9 @@
<div
class=
"content_target_wrapper"
>
<div
class=
"content_target_wrapper"
>
<div
class=
"line"
>
<div
class=
"line"
>
<i
class=
"iconfont icon-bianji"
*
ngIf=
"recruitsReadonlyFlag"
(
click
)="
recruitsReadonlyFlag =
false;"
></i>
<i
class=
"iconfont icon-bianji"
*
ngIf=
"recruitsReadonlyFlag"
(
click
)="
recruitsReadonlyFlag =
false;"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!recruitsReadonlyFlag"
(
click
)="
potentialGoalsSetting
()"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!recruitsReadonlyFlag"
(
click
)="
potentialGoalsSetting
()"
>
<span
class=
"save"
>
保存
</span>
</i>
<div
class=
"title"
>
年增员目标
</div>
<div
class=
"title"
>
年增员目标
</div>
<div
class=
"content_target_item"
>
<div
class=
"content_target_item"
>
<span>
年度增员目标
</span>
<span>
年度增员目标
</span>
...
@@ -129,7 +135,7 @@
...
@@ -129,7 +135,7 @@
<i
class=
"iconfont icon-bianji"
*
ngIf=
"recruitsActivityReadonlyFlag"
<i
class=
"iconfont icon-bianji"
*
ngIf=
"recruitsActivityReadonlyFlag"
(
click
)="
recruitsActivityReadonlyFlag =
false;"
></i>
(
click
)="
recruitsActivityReadonlyFlag =
false;"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!readonlyFlag && recruitingTargetFlag && !recruitsActivityReadonlyFlag"
<i
class=
"iconfont icon-save"
*
ngIf=
"!readonlyFlag && recruitingTargetFlag && !recruitsActivityReadonlyFlag"
(
click
)="
potentialGoalsActionsUpdate
()"
></i>
(
click
)="
potentialGoalsActionsUpdate
()"
>
<span
class=
"save"
>
保存
</span>
</i>
<div
class=
"title"
>
月均增员活动量目标
</div>
<div
class=
"title"
>
月均增员活动量目标
</div>
<div
*
ngIf=
"!goalsActionsInfoList || goalsActionsInfoList.length<=0"
style=
"text-align: center;"
>
请先设置增员目标
</div>
<div
*
ngIf=
"!goalsActionsInfoList || goalsActionsInfoList.length<=0"
style=
"text-align: center;"
>
请先设置增员目标
</div>
<div
class=
"content_target_item"
*
ngFor=
"let goalsActionsInfoItem of goalsActionsInfoList"
>
<div
class=
"content_target_item"
*
ngFor=
"let goalsActionsInfoItem of goalsActionsInfoList"
>
...
@@ -147,7 +153,8 @@
...
@@ -147,7 +153,8 @@
<div
class=
"line"
>
<div
class=
"line"
>
<i
class=
"iconfont icon-bianji"
*
ngIf=
"personalSalesReadonlyFlag"
<i
class=
"iconfont icon-bianji"
*
ngIf=
"personalSalesReadonlyFlag"
(
click
)="
personalSalesReadonlyFlag =
false;"
></i>
(
click
)="
personalSalesReadonlyFlag =
false;"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!personalSalesReadonlyFlag"
(
click
)="
salesTargetSave
(
2
)"
></i>
<i
class=
"iconfont icon-save"
*
ngIf=
"!personalSalesReadonlyFlag"
(
click
)="
salesTargetSave
(
2
)"
>
<span
class=
"save"
>
保存
</span></i>
<div
class=
"title"
>
团队年度销售目标
</div>
<div
class=
"title"
>
团队年度销售目标
</div>
<div
class=
"content_target_item"
>
<div
class=
"content_target_item"
>
<span>
首年保费FYP
</span>
<span>
首年保费FYP
</span>
...
@@ -173,7 +180,6 @@
...
@@ -173,7 +180,6 @@
</div>
</div>
</div>
</div>
<div
class=
"line"
>
<div
class=
"line"
>
<div
class=
"title"
>
团队月销售目标
</div>
<div
class=
"title"
>
团队月销售目标
</div>
<div
class=
"month_target_item_wrapper"
*
ngFor=
"let salesTargetMonthsItem of salesTargetMonths"
>
<div
class=
"month_target_item_wrapper"
*
ngFor=
"let salesTargetMonthsItem of salesTargetMonths"
>
<span
class=
"dot"
style=
"font-weight: bold;"
>
{{salesTargetMonthsItem.monthNum}}月
</span>
<span
class=
"dot"
style=
"font-weight: bold;"
>
{{salesTargetMonthsItem.monthNum}}月
</span>
...
...
src/app/my/my-target/my-target.component.scss
View file @
0a037f46
...
@@ -47,7 +47,6 @@ ul li,ol li{
...
@@ -47,7 +47,6 @@ ul li,ol li{
.iconfont
{
.iconfont
{
width
:
55px
;
width
:
55px
;
height
:
55px
;
height
:
55px
;
line-height
:
55px
;
border-radius
:
50%
;
border-radius
:
50%
;
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
...
@@ -56,13 +55,21 @@ ul li,ol li{
...
@@ -56,13 +55,21 @@ ul li,ol li{
background
:
#0767bf
;
background
:
#0767bf
;
text-align
:
center
;
text-align
:
center
;
top
:
-5px
;
top
:
-5px
;
.save
{
font-size
:
12px
;
position
:
absolute
;
left
:
30%
;
top
:
60%
;
}
}
.iconfont.icon-bianji
{
line-height
:
55px
;
}
}
.title
{
.title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
bold
;
font-weight
:
bold
;
margin
:
10px
0
15px
0
;
margin
:
10px
0
15px
0
;
}
}
.content_target_item
{
.content_target_item
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -78,18 +85,18 @@ ul li,ol li{
...
@@ -78,18 +85,18 @@ ul li,ol li{
box-shadow
:
none
;
box-shadow
:
none
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
font-size
:
18px
;
}
}
.form-control
[
disabled
],
.form-control
[
readonly
],
fieldset
[
disabled
]
.form-control
{
.form-control
[
disabled
],
.form-control
[
readonly
],
fieldset
[
disabled
]
.form-control
{
opacity
:
.7
;
opacity
:
.7
5
;
}
}
}
}
.month_target_item_wrapper
{
.month_target_item_wrapper
{
margin-bottom
:
15px
;
margin-bottom
:
15px
;
.dot
{
.dot
{
width
:
3
0
px
;
width
:
3
5
px
;
height
:
3
0
px
;
height
:
3
5
px
;
line-height
:
3
0
px
;
line-height
:
3
5
px
;
background
:
#ff002a
;
background
:
#ff002a
;
border-radius
:
50%
;
border-radius
:
50%
;
color
:
#fff
;
color
:
#fff
;
...
...
src/app/my/sales-rank/sales-rank.component.scss
View file @
0a037f46
...
@@ -7,22 +7,19 @@
...
@@ -7,22 +7,19 @@
list-style
:
none
;
list-style
:
none
;
}
}
.title
{
.title
{
width
:
100%
;
display
:
flex
;
float
:
left
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
padding
:
10px
0
;
padding
:
10px
15px
;
justify-content
:
space-between
;
width
:
100%
;
align-items
:
center
;
ul
.tab
{
ul
.tab
{
float
:
left
;
display
:
flex
;
// width: 21%;
width
:
30%
;
margin-right
:
5%
;
li
{
li
{
float
:
left
;
margin-right
:
5px
;
margin-right
:
5px
;
text-align
:
left
;
text-align
:
left
;
height
:
30px
;
height
:
30px
;
line-height
:
30px
;
line-height
:
30px
;
margin-right
:
5%
;
color
:
#fff
;
color
:
#fff
;
}
}
li
.selected
{
li
.selected
{
...
@@ -30,7 +27,7 @@
...
@@ -30,7 +27,7 @@
font-weight
:
bold
;
font-weight
:
bold
;
border-bottom
:
2px
#ff002a
solid
;
border-bottom
:
2px
#ff002a
solid
;
}
}
li
:
nth-child
(
3
)
{
li
:
last-child
{
margin-right
:
0
;
margin-right
:
0
;
}
}
}
}
...
...
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