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
669b566d
Commit
669b566d
authored
Feb 11, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
被邀请经纪人注册增加customerId
parent
de877614
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
src/app/my/application-process/register/register.component.ts
+7
-0
src/app/my/application-process/signature/signature.component.ts
+1
-1
src/app/my/my.service.ts
+9
-1
No files found.
src/app/my/application-process/register/register.component.ts
View file @
669b566d
...
...
@@ -159,7 +159,14 @@ export class RegisterComponent implements OnInit {
if
(
this
.
type
==
'identify'
){
this
.
queryInformedSheetList
();
}
else
{
this
.
myService
.
queryWholeInfo
({
hiringBasicInfoId
:
this
.
hiringBasicInfoId
}).
subscribe
((
resp
)
=>
{
if
(
resp
[
'success'
]){
sessionStorage
.
setItem
(
'inviteeCustomerId'
,
resp
[
'data'
][
'customerId'
]);
this
.
router
.
navigate
([
'/employee_info'
],{
queryParams
:
{
hiringBasicInfoId
:
this
.
hiringBasicInfoId
,
mobileNo
:
this
.
userInfo
.
mobileNo
}
});
}
else
{
this
.
openPopInfo
(
resp
[
'message'
]);
}
})
}
}
else
{
this
.
openPopInfo
(
res
[
'message'
]);
...
...
src/app/my/application-process/signature/signature.component.ts
View file @
669b566d
...
...
@@ -116,7 +116,7 @@ export class SignatureComponent implements OnInit {
this
.
saveRecord
();
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
(
'继续率承诺书'
);
//
console.log('继续率承诺书');
const
param
=
{
practitionerId
:
localStorage
.
getItem
(
'lifeCustomerInfo'
)?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
]:
null
,
practitionerName
:
localStorage
.
getItem
(
'lifeCustomerInfo'
)?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerBasicInfo'
][
'name'
]:
null
,
...
...
src/app/my/my.service.ts
View file @
669b566d
...
...
@@ -798,9 +798,11 @@ export class MyService {
*/
rrwebInfo
(
events
,
pageInfo
){
if
(
!
sessionStorage
.
getItem
(
'lifeSerialsNo'
))
sessionStorage
.
setItem
(
'lifeSerialsNo'
,
uuid
.
v4
());
let
csId
=
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))
?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
customerId
:
''
;
if
(
sessionStorage
.
getItem
(
'inviteeCustomerId'
))
csId
=
sessionStorage
.
getItem
(
'inviteeCustomerId'
);
const
param
=
{
serialsNo
:
sessionStorage
.
getItem
(
'lifeSerialsNo'
),
customerId
:
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))
?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
customerId
:
''
,
customerId
:
csId
,
token
:
localStorage
.
getItem
(
'lifeToken'
),
pageType
:
pageInfo
.
type
,
pageName
:
pageInfo
.
name
,
...
...
@@ -810,4 +812,10 @@ export class MyService {
const
url
=
this
.
ydapi
+
"/customerTrackVideo/rrwebInfo"
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
param
))
}
// 跟踪登录接口查询customerId
login
(
params
){
const
url
=
this
.
API
+
"/login"
return
this
.
http
.
post
(
url
,
JSON
.
stringify
(
params
))
}
}
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