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
65a8412b
Commit
65a8412b
authored
Jan 21, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'track' into dev
parents
88378317
0bd257a2
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
6 deletions
+32
-6
src/app/my/application-process/signature/signature.component.ts
+6
-0
src/app/my/e-notice-sign/e-notice-sign.component.ts
+4
-1
src/app/my/e-notice/e-notice.component.ts
+4
-2
src/app/my/my.service.ts
+16
-1
src/app/my/salary/salary.component.html
+1
-1
src/app/my/salary/salary.component.ts
+1
-1
No files found.
src/app/my/application-process/signature/signature.component.ts
View file @
65a8412b
...
...
@@ -58,7 +58,9 @@ export class SignatureComponent implements OnInit {
if
(
this
.
isSignatureShow
==
false
){
this
.
saveDigitalSignatures
();
}
else
{
this
.
myService
.
customerBehaviorTrackSave
(
`经纪人合同签署 -
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
insurerBranchName
}
、
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
subordinateName
}
体系下,经纪人
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
name
}
点击了【我自愿签订经纪人合同书】`
).
subscribe
(
res
=>
{
this
.
router
.
navigate
([
'/employee_submit'
],{
queryParams
:{
hiringBasicInfoId
:
this
.
hiringBasicInfoId
,
status
:
this
.
approveStatus
}});
})
}
}
...
...
@@ -76,6 +78,8 @@ export class SignatureComponent implements OnInit {
return
;
}
if
(
this
.
type
==
'eNotice'
){
this
.
myService
.
customerBehaviorTrackSave
(
`客户告知书 - 客户点击了【确认提交】,告知书ID为
${
sessionStorage
.
getItem
(
'eNoticeId'
)}
`
).
subscribe
(
res
=>
{
})
this
.
myService
.
signInformedSheet
({
'id'
:
sessionStorage
.
getItem
(
'eNoticeId'
),
imgStr
:
this
.
imgStr
}).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
// 确认提交
...
...
@@ -85,6 +89,8 @@ export class SignatureComponent implements OnInit {
}
})
}
else
if
(
this
.
type
==
'continuationRate'
){
this
.
myService
.
customerBehaviorTrackSave
(
`保单继续率承诺书 -
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
insurerBranchName
}
、
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
subordinateName
}
体系下,经纪人
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
name
}
点击了【确认提交】`
).
subscribe
(
res
=>
{
})
console
.
log
(
'继续率承诺书'
);
const
param
=
{
practitionerId
:
localStorage
.
getItem
(
'lifeCustomerInfo'
)?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
]:
null
,
...
...
src/app/my/e-notice-sign/e-notice-sign.component.ts
View file @
65a8412b
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Router
}
from
'@angular/router'
;
import
{
MyService
}
from
'../my.service'
;
@
Component
({
selector
:
'ydlife-e-notice-sign'
,
...
...
@@ -8,13 +9,15 @@ import { Router } from '@angular/router';
})
export
class
ENoticeSignComponent
implements
OnInit
{
constructor
(
private
router
:
Router
)
{
}
constructor
(
private
router
:
Router
,
private
myService
:
MyService
)
{
}
ngOnInit
()
{
}
agree
(){
this
.
myService
.
customerBehaviorTrackSave
(
`客户告知书 - 客户点击了【同意并签署】`
).
subscribe
(
res
=>
{
this
.
router
.
navigate
([
'/eNoticeSignature'
],{
queryParams
:
{
type
:
'eNotice'
}
})
})
}
}
src/app/my/e-notice/e-notice.component.ts
View file @
65a8412b
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
ActivatedRoute
}
from
"@angular/router"
;
import
{
Router
}
from
'@angular/router'
;
import
{
MyService
}
from
'../my.service'
;
@
Component
({
selector
:
'ydlife-e-notice'
,
...
...
@@ -9,16 +10,17 @@ import { Router } from '@angular/router';
})
export
class
ENoticeComponent
implements
OnInit
{
pageType
:
any
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
router
:
Router
)
{
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
router
:
Router
,
private
myService
:
MyService
)
{
}
ngOnInit
()
{
this
.
pageType
=
this
.
activatedRoute
.
url
[
'value'
][
0
][
'path'
];
console
.
log
(
this
.
pageType
)
}
agree
(){
this
.
myService
.
customerBehaviorTrackSave
(
`保单继续率承诺书 -
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
insurerBranchName
}
、
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
subordinateName
}
体系下,经纪人
${
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerBasicInfo
.
name
}
点击了【同意并签署】`
).
subscribe
(
res
=>
{
this
.
router
.
navigate
([
'/eNoticeSignature'
],{
queryParams
:
{
type
:
'continuationRate'
}
})
})
}
}
src/app/my/my.service.ts
View file @
65a8412b
import
{
Injectable
}
from
'@angular/core'
;
import
{
HttpClient
}
from
'@angular/common/http'
;
import
{
environment
}
from
'../../environments/environment'
;
import
{
parse
}
from
'querystring'
;
@
Injectable
({
providedIn
:
'root'
...
...
@@ -776,4 +775,20 @@ export class MyService {
const
url
=
this
.
ydapi
+
"/practitioner/queryCommitmentByPractitionerId"
;
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
param
));
}
/**
* 用户行为跟踪
* @returns {Observable<A>}
*/
customerBehaviorTrackSave
(
processMemo
)
{
const
url
=
this
.
API
+
'/customerBehaviorTrackSave'
;
const
behaviorInfo
=
{
'serialsNo'
:
null
,
'customerId'
:
localStorage
.
getItem
(
'lifeCustomerInfo'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
customerId
:
null
,
'orderId'
:
null
,
'processMemo'
:
processMemo
,
'mediaFrom'
:
'银盾保经'
};
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
behaviorInfo
));
}
}
src/app/my/salary/salary.component.html
View file @
65a8412b
...
...
@@ -27,7 +27,7 @@
<div
style=
"text-align: center;margin-top: 20px;"
*
ngIf=
"payScaleInfos?.length<=0"
>
暂无数据
</div>
</div>
<div
id=
"salesContent"
*
ngIf=
"selectedId ==
2
"
>
<div
id=
"salesContent"
*
ngIf=
"selectedId ==
1
"
>
<div
*
ngIf=
"nowYear>2021"
>
<div
class=
"salesItem"
*
ngFor=
"let historyPartItem of historyPart2"
(
click
)="
enterDetail
(
historyPartItem
.
years
,
historyPartItem
.
month
,
historyPartItem
.
loginName
,
historyPartItem
.
isBasic
)"
>
<div
class=
"icon_bolck"
style=
"top: 16px;"
><span
class=
"iconfont icon-xinzidan"
></span></div>
...
...
src/app/my/salary/salary.component.ts
View file @
65a8412b
...
...
@@ -33,7 +33,7 @@ export class SalaryComponent implements OnInit {
this
.
payScaleListQuery
();
this
.
tabList
=
[
{
name
:
`
${
this
.
nowYear
}
年`
,
id
:
0
},
{
name
:
'历史薪资'
,
id
:
2
}
{
name
:
'历史薪资'
,
id
:
1
}
]
}
...
...
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