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
b43274e2
Commit
b43274e2
authored
Apr 24, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除文字跟踪轨迹
parent
22b46b32
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
25 deletions
+18
-25
src/app/common/alert/alert.component.scss
+4
-0
src/app/my/application-process/signature/signature.component.ts
+0
-6
src/app/my/business-card/business-card.component.html
+2
-7
src/app/my/business-card/business-card.component.ts
+12
-6
src/app/my/e-notice-sign/e-notice-sign.component.ts
+0
-2
src/app/my/e-notice/e-notice.component.ts
+0
-4
No files found.
src/app/common/alert/alert.component.scss
View file @
b43274e2
...
...
@@ -2,3 +2,6 @@ a:hover.weui-dialog__ft{
color
:
#fff
;
text-decoration
:
none
;
}
.weui-dialog__btn_default
{
color
:
#666
;
}
\ No newline at end of file
src/app/my/application-process/signature/signature.component.ts
View file @
b43274e2
...
...
@@ -90,9 +90,7 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
this
.
saveDigitalSignatures
();
}
else
{
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
=>
{
this
.
router
.
navigate
([
'/employee_submit'
],{
queryParams
:{
hiringBasicInfoId
:
this
.
hiringBasicInfoId
,
status
:
this
.
approveStatus
}});
})
}
}
...
...
@@ -111,8 +109,6 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
}
if
(
this
.
type
==
'eNotice'
){
this
.
saveRecord
();
this
.
myService
.
customerBehaviorTrackSave
(
`客户告知书 - 客户点击了【确认提交】,告知书ID为
${
sessionStorage
.
getItem
(
'eNoticeId'
)}
`
).
subscribe
(
res
=>
{
})
this
.
myService
.
signInformedSheet
({
'id'
:
sessionStorage
.
getItem
(
'eNoticeId'
),
imgStr
:
this
.
imgStr
}).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
// 确认提交
...
...
@@ -123,8 +119,6 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
})
}
else
if
(
this
.
type
==
'continuationRate'
){
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('继续率承诺书');
const
param
=
{
practitionerId
:
localStorage
.
getItem
(
'lifeCustomerInfo'
)?
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
))[
'practitionerId'
]:
null
,
...
...
src/app/my/business-card/business-card.component.html
View file @
b43274e2
<div
class=
"businessCardContainer"
>
<div
style=
"text-align: right;padding-top: 15px;"
>
<button
class=
"applyEmailBtn"
(
click
)="
applyEmail
()"
*
ngIf=
"practitionerInfo?.emailIsActive==0"
>
申请公司邮箱
</button>
<!-- <button class="applyEmailBtn" (click)="savePicture(practitionerInfo.businessCardProsImg)" *ngIf="practitionerInfo?.businessCardProsImg">保存名片正面</button>
<button class="applyEmailBtn" (click)="savePicture(practitionerInfo.businessCardConsImg)" *ngIf="practitionerInfo?.businessCardConsImg">保存名片反面</button> -->
<!-- <a class="applyEmailBtn" href="assets/pdfjs/web/viewer.html?file={{practitionerInfo?.businessCardPdfUrl}}&isNeedCover=false&isNeedDownload=true" target="_blank" rel="noopener noreferrer">保存名片PDF档</a> -->
<!-- <a class="applyEmailBtn" href="{{practitionerInfo?.businessCardProsImg}}" download="名片正面" target="_blank" rel="noopener noreferrer">保存名片正面</a> -->
<!-- <a class="applyEmailBtn" href="{{practitionerInfo?.businessCardConsImg}}" download="名片反面" target="_blank" rel="noopener noreferrer">保存名片反面</a> -->
</div>
<div
*
ngIf=
"practitionerInfo?.businessCardProsImg"
style=
"text-align: center;color: red;"
>
长按可保存名片到相册
</div>
<div
id=
"saveImgContainer"
>
...
...
@@ -61,4 +56,4 @@
</div> -->
</div>
</div>
<ydlife-alert
*
ngIf=
"isNeedAlert"
[
dialogInfo
]="
dialogInfo
"
(
popInfo
)="
getPopInfo
()"
></ydlife-alert>
\ No newline at end of file
<ydlife-alert
*
ngIf=
"isNeedAlert"
[
dialogInfo
]="
dialogInfo
"
(
popInfo
)="
getPopInfo
($
event
)"
></ydlife-alert>
\ No newline at end of file
src/app/my/business-card/business-card.component.ts
View file @
b43274e2
...
...
@@ -33,12 +33,23 @@ export class BusinessCardComponent implements OnInit {
// 申请企业邮箱
applyEmail
(){
this
.
isNeedAlert
=
true
;
this
.
dialogInfo
=
{
title
:
null
,
content
:
{
value
:
'您的银盾保险专属办公邮箱将在2个工作日内为您生成,欢迎使用!祝业绩长虹!'
,
align
:
'center'
},
footer
:
[{
value
:
'取消'
,
routerLink
:
''
,
className
:
'weui-dialog__btn_default'
},{
value
:
'确定'
,
routerLink
:
''
,
className
:
'weui-dialog__btn_primary'
}],
};
}
getPopInfo
(
e
)
{
this
.
isNeedAlert
=
false
;
if
(
e
===
'确定'
){
this
.
myService
.
applyEmail
({
practitionerId
:
this
.
practitionerInfo
.
practitionerId
,
email
:
this
.
practitionerInfo
.
email
}).
subscribe
(
res
=>
{
this
.
isNeedAlert
=
true
;
if
(
res
[
'success'
]){
this
.
dialogInfo
=
{
title
:
null
,
content
:
{
value
:
'您的银盾保险专属办公邮箱将在2个工作日内为您生成,欢迎使用!祝业绩长虹
!'
,
align
:
'center'
},
content
:
{
value
:
'申请成功
!'
,
align
:
'center'
},
footer
:
[{
value
:
'确认'
,
routerLink
:
''
,
className
:
'weui-dialog__btn_primary'
}],
};
}
else
{
...
...
@@ -49,12 +60,7 @@ export class BusinessCardComponent implements OnInit {
};
}
})
}
getPopInfo
()
{
this
.
isNeedAlert
=
false
;
}
businessCard
(){
this
.
myService
.
businessCard
({
practitionerId
:
this
.
lifeCustomerInfo
.
practitionerId
,
businessCardType
:
2
}).
subscribe
(
res
=>
{
...
...
src/app/my/e-notice-sign/e-notice-sign.component.ts
View file @
b43274e2
...
...
@@ -51,9 +51,7 @@ export class ENoticeSignComponent implements OnInit,OnDestroy,AfterContentInit {
}
agree
(){
this
.
saveRecord
();
this
.
myService
.
customerBehaviorTrackSave
(
`客户告知书 - 客户点击了【同意并签署】`
).
subscribe
(
res
=>
{
this
.
router
.
navigate
([
'/eNoticeSignature'
],{
queryParams
:
{
type
:
'eNotice'
}
})
})
}
}
src/app/my/e-notice/e-notice.component.ts
View file @
b43274e2
...
...
@@ -60,13 +60,9 @@ export class ENoticeComponent implements OnInit,OnDestroy {
agree
(
type
){
this
.
saveRecord
();
if
(
type
===
1
){
this
.
myService
.
customerBehaviorTrackSave
(
`客户告知书 - 客户点击了【同意并签署】`
).
subscribe
(
res
=>
{
this
.
router
.
navigate
([
'/eNoticeSignature'
],{
queryParams
:
{
type
:
'eNotice'
}
})
})
}
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
([
'/eNoticeSignature'
],{
queryParams
:
{
type
:
'continuationRate'
}
})
})
}
...
...
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