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
4da27f73
Commit
4da27f73
authored
Mar 09, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续保客户不需要登录判断
parent
8e72ce58
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
src/app/my/my-routing.module.ts
+1
-1
src/app/my/renewal-reminder-detail/renewal-reminder-detail.component.ts
+12
-4
src/assets/images/renewalReminderShareIcon.png
+0
-0
No files found.
src/app/my/my-routing.module.ts
View file @
4da27f73
...
...
@@ -156,7 +156,7 @@ const myRoutes: Routes = [
{
path
:
'eNoticeSign'
,
component
:
ENoticeComponent
,
canActivate
:[
AuthGuard
],
data
:{
type
:
1
,
title
:
'客户告知书和保险经纪服务委托协议'
}},
{
path
:
'renewal_reminder'
,
component
:
RenewalReminderComponent
,
canActivate
:[
AuthGuard
],
data
:{
type
:
1
,
title
:
'续期提醒'
}},
{
path
:
'renewal_reminder_detail/:orderPayId'
,
component
:
RenewalReminderDetailComponent
,
canActivate
:[
AuthGuard
],
data
:{
type
:
1
,
title
:
'续期订单提醒'
}},
{
path
:
'reminder_detail/:orderPayId'
,
component
:
RenewalReminderDetailComponent
,
canActivate
:[
AuthGuard
],
data
:{
type
:
2
,
title
:
'续期订单详情信息'
}},
{
path
:
'reminder_detail/:orderPayId'
,
component
:
RenewalReminderDetailComponent
,
data
:{
type
:
2
,
title
:
'续期订单详情信息'
}},
{
path
:
'joint_sales'
,
component
:
JointSalesComponent
,
canActivate
:[
AuthGuard
],
data
:{
title
:
'联合销售列表'
}},
{
path
:
'joint_sales_detail/:unionSalesId'
,
component
:
JointSaleDetailComponent
,
canActivate
:[
AuthGuard
],
data
:{
ttitle
:
'联合销售签署'
}}
...
...
src/app/my/renewal-reminder-detail/renewal-reminder-detail.component.ts
View file @
4da27f73
...
...
@@ -25,8 +25,15 @@ export class RenewalReminderDetailComponent implements OnInit {
shareSelect
(
type
){
this
.
noticeType
=
type
;
this
.
dialogDisabled
=
true
;
if
(
this
.
noticeType
===
1
){
this
.
content
=
` 尊敬的
${
this
.
orderPayDetail
.
policyholderName
}
您好,你在
${
this
.
orderPayDetail
.
insurerName
}
公司投保的
${
this
.
orderPayDetail
.
productName
}
产品,快到第
${
this
.
orderPayDetail
.
payPeriod
}
期续交保费了,当期保费
${
this
.
orderPayDetail
.
annualizedPremium
}
元,请在预留的银行卡准备好相应金额,避免保单失效和造成损失。谢谢!任何问题可以随时联络您的经纪人提供帮助。`
}
if
(
this
.
noticeType
===
2
){
this
.
wxShare
()
this
.
wxShare
();
this
.
addNotice
()
}
if
(
this
.
noticeType
===
3
){
this
.
addNotice
();
}
}
close
=
(
e
)
=>
{
...
...
@@ -46,7 +53,6 @@ export class RenewalReminderDetailComponent implements OnInit {
this
.
myService
.
queryNoticeDetail
({
orderPayId
:
this
.
orderPayId
}).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
this
.
orderPayDetail
=
res
[
'data'
][
'orderPayDetail'
];
this
.
content
=
` 尊敬的
${
this
.
orderPayDetail
.
policyholderName
}
您好,你在
${
this
.
orderPayDetail
.
insurerName
}
公司投保的
${
this
.
orderPayDetail
.
productName
}
产品,快到第
${
this
.
orderPayDetail
.
payPeriod
}
期续交保费了,当期保费
${
this
.
orderPayDetail
.
annualizedPremium
}
元,请在预留的银行卡准备好相应金额,避免保单失效和造成损失。谢谢!任何问题可以随时联络您的经纪人提供帮助。`
}
else
{
this
.
openPopInfo
(
res
[
'message'
]);
}
...
...
@@ -55,12 +61,14 @@ export class RenewalReminderDetailComponent implements OnInit {
addNotice
(){
this
.
myService
.
addNotice
({
practitionerId
:
this
.
practitionerId
,
orderPayId
:
this
.
orderPayId
,
noticeType
:
this
.
noticeType
,
content
:
this
.
content
,
remark
:
this
.
remark
}).
subscribe
(
res
=>
{
this
.
openPopInfo
(
res
[
'message'
]);
if
(
this
.
noticeType
===
1
){
this
.
openPopInfo
(
res
[
'message'
]);
}
})
}
wxShare
(){
this
.
lifeCommonService
.
wxShare
(
'保单续期提醒'
,
'来自经纪人的温馨提醒,您有保单快到续期交费日期,点击看看以免忘记,避免损失。'
,
`
${
window
.
location
.
origin
}
/ydLife/reminder_detail/
${
this
.
orderPayId
}
`
,
`
${
window
.
location
.
origin
}
/ydLife/assets/images/
productData/protect
.png`
);
this
.
lifeCommonService
.
wxShare
(
'保单续期提醒'
,
'来自经纪人的温馨提醒,您有保单快到续期交费日期,点击看看以免忘记,避免损失。'
,
`
${
window
.
location
.
origin
}
/ydLife/reminder_detail/
${
this
.
orderPayId
}
`
,
`
${
window
.
location
.
origin
}
/ydLife/assets/images/
renewalReminderIcon
.png`
);
}
// 打开弹窗
...
...
src/assets/images/renewalReminderShareIcon.png
0 → 100644
View file @
4da27f73
10.8 KB
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