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
b141205c
Commit
b141205c
authored
Feb 24, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
奖金都显示详情信息
parent
b6993a2d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
20 deletions
+22
-20
src/app/my/application-process/signature/signature.component.ts
+1
-1
src/app/my/joint-sale-detail/joint-sale-detail.component.ts
+12
-10
src/app/my/joint-sales/joint-sales.component.ts
+1
-1
src/app/my/salary-detail/salary-detail.component.html
+4
-4
src/app/my/salary-first-year/salary-first-year.component.ts
+4
-4
No files found.
src/app/my/application-process/signature/signature.component.ts
View file @
b141205c
...
...
@@ -78,7 +78,7 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
}
const
title
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'title'
];
this
.
lifeCommonService
.
setTitle
(
title
);
if
(
this
.
type
!=
'eNotice'
&&
this
.
type
!=
'continuationRate'
){
if
(
this
.
type
!=
'eNotice'
&&
this
.
type
!=
'continuationRate'
&&
this
.
type
!=
'unionSaleSignature'
){
this
.
hiringBasicInfoId
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
hiringBasicInfoId
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
hiringBasicInfoId
:
null
;
this
.
queryWholeInfo
(
this
.
hiringBasicInfoId
)
this
.
viewApprovalInfo
=
sessionStorage
.
getItem
(
'viewApprovalInfo'
);
...
...
src/app/my/joint-sale-detail/joint-sale-detail.component.ts
View file @
b141205c
...
...
@@ -8,7 +8,7 @@ declare var rrweb:any;
templateUrl
:
'./joint-sale-detail.component.html'
,
styleUrls
:
[
'./joint-sale-detail.component.scss'
]
})
export
class
JointSaleDetailComponent
implements
OnInit
,
AfterViewInit
,
OnDestroy
{
export
class
JointSaleDetailComponent
implements
OnInit
,
OnDestroy
{
unionSalesId
:
any
;
unionSalesPractitionerId
:
any
;
unionSalesInfo
:
any
;
...
...
@@ -24,17 +24,8 @@ export class JointSaleDetailComponent implements OnInit,AfterViewInit,OnDestroy
ngOnInit
()
{
this
.
unionSalesId
=
this
.
route
.
snapshot
.
params
[
'unionSalesId'
];
console
.
log
(
this
.
route
.
snapshot
)
this
.
queryUnionSalesPractitionerList
();
}
ngAfterViewInit
():
void
{
setTimeout
(()
=>
{
this
.
creatRecord
()},
500
);
this
.
timerId
=
setInterval
(()
=>
{
if
(
this
.
events
.
length
>
100
){
this
.
saveRecord
()
}
},
10
*
1000
);
}
ngOnDestroy
():
void
{
clearInterval
(
this
.
timerId
)
}
...
...
@@ -62,7 +53,18 @@ export class JointSaleDetailComponent implements OnInit,AfterViewInit,OnDestroy
this
.
unionSalesInfo
=
res
[
'data'
][
'unionSalesInfo'
];
this
.
unionSalesPractitionerInfos
=
this
.
unionSalesInfo
.
unionSalesPractitionerInfos
;
const
practitionerId
=
localStorage
.
getItem
(
'lifeCustomerInfo'
)?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
]:
null
;
if
(
practitionerId
){
this
.
unionSalesInfo
.
signStatus
=
this
.
unionSalesPractitionerInfos
.
filter
(
item
=>
item
.
practitionerId
==
practitionerId
).
pop
().
signStatus
this
.
unionSalesPractitionerId
=
this
.
unionSalesPractitionerInfos
.
filter
(
item
=>
item
.
practitionerId
==
practitionerId
).
pop
().
id
;
if
(
this
.
unionSalesInfo
.
signStatus
==
'1'
){
this
.
creatRecord
();
this
.
timerId
=
setInterval
(()
=>
{
if
(
this
.
events
.
length
>
100
){
this
.
saveRecord
()
}
},
10
*
1000
);
}
}
}
})
}
...
...
src/app/my/joint-sales/joint-sales.component.ts
View file @
b141205c
...
...
@@ -32,7 +32,7 @@ export class JointSalesComponent implements OnInit {
queryUnionSalesList
(
signStatus
){
this
.
myService
.
queryUnionSalesList
({
signStatus
:
signStatus
,
isActive
:
1
}).
subscribe
(
res
=>
{
this
.
myService
.
queryUnionSalesList
({
signStatus
:
signStatus
,
isActive
:
1
,
practitionerId
:
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
]
}).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
this
.
unionSalesInfos
=
res
[
'data'
][
'unionSalesInfos'
];
}
...
...
src/app/my/salary-detail/salary-detail.component.html
View file @
b141205c
...
...
@@ -64,7 +64,7 @@
<span>
推荐奖金
</span>
<span
class=
"red"
>
{{recommendAward.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
systemRecommendAward
,'体系推荐奖',
2
,
8
)"
*
ngIf=
"systemRecommendAward"
>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
systemRecommendAward
,'体系推荐奖',
1
,
8
)"
*
ngIf=
"systemRecommendAward"
>
<span>
体系推荐奖金
</span>
<span
class=
"red"
>
{{systemRecommendAward.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
...
...
@@ -72,7 +72,7 @@
<span>
团队管理绩效达标奖金
</span>
<span
class=
"red"
>
{{fycMeritsInfo.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
rycMeritsInfo
,'续年度绩效奖金',
2
,
6
)"
*
ngIf=
"rycMeritsInfo"
>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
rycMeritsInfo
,'续年度绩效奖金',
1
,
6
)"
*
ngIf=
"rycMeritsInfo"
>
<span>
续年度绩效奖金
</span>
<span
class=
"red"
>
{{rycMeritsInfo.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
...
...
@@ -84,11 +84,11 @@
<span>
隔代辅导岗位津贴
</span>
<span
class=
"red"
>
{{indirectCounseling.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
TLCoachingAllowance
,'团队长辅导津贴',
2
,
21
)"
*
ngIf=
"TLCoachingAllowance"
>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
TLCoachingAllowance
,'团队长辅导津贴',
1
,
21
)"
*
ngIf=
"TLCoachingAllowance"
>
<span>
团队长辅导津贴
</span>
<span
class=
"red"
>
{{TLCoachingAllowance.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
breedingBonus
,'育成奖金',
2
,
22
)"
*
ngIf=
"breedingBonus"
>
<div
class=
"item_detail"
(
click
)="
jumpToFirstYearSales
(
breedingBonus
,'育成奖金',
1
,
22
)"
*
ngIf=
"breedingBonus"
>
<span>
育成奖金
</span>
<span
class=
"red"
>
{{breedingBonus.commission | number: "1.2-2"}}
<i
class=
"iconfont icon-ar-r"
></i></span>
</div>
...
...
src/app/my/salary-first-year/salary-first-year.component.ts
View file @
b141205c
...
...
@@ -105,11 +105,11 @@ export class SalaryFirstYearComponent implements OnInit {
}
else
if
(
this
.
salaryType
==
5
){
this
.
policyList
=
res
[
'data'
][
'fycMeritsInfoList'
];
}
else
if
(
this
.
salaryType
==
6
){
this
.
system
List
=
res
[
'data'
][
'RenewalYearPerformanceCommissionList'
];
this
.
policy
List
=
res
[
'data'
][
'RenewalYearPerformanceCommissionList'
];
}
else
if
(
this
.
salaryType
==
7
){
this
.
policyList
=
res
[
'data'
][
'RecommendCommissionList'
];
}
else
if
(
this
.
salaryType
==
8
){
this
.
system
List
=
res
[
'data'
][
'RecommendSystemCommissionList'
];
this
.
policy
List
=
res
[
'data'
][
'RecommendSystemCommissionList'
];
}
else
if
(
this
.
salaryType
==
9
){
this
.
policyList
=
res
[
'data'
][
'SpecialManagementCommissionList'
];
}
else
if
(
this
.
salaryType
==
16
){
...
...
@@ -123,9 +123,9 @@ export class SalaryFirstYearComponent implements OnInit {
}
else
if
(
this
.
salaryType
==
20
){
this
.
policyList
=
res
[
'data'
][
'indirectCounselingList'
];
}
else
if
(
this
.
salaryType
==
21
){
this
.
system
List
=
res
[
'data'
][
'tlcoachingAllowanceList'
];
this
.
policy
List
=
res
[
'data'
][
'tlcoachingAllowanceList'
];
}
else
if
(
this
.
salaryType
==
22
){
this
.
system
List
=
res
[
'data'
][
'breedingBonusList'
];
this
.
policy
List
=
res
[
'data'
][
'breedingBonusList'
];
}
else
if
(
this
.
salaryType
==
23
){
this
.
policyList
=
res
[
'data'
][
'direcSalesAddWeightList'
];
}
else
{
...
...
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