Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
a0509d94
Commit
a0509d94
authored
Aug 24, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改保障内容等bug
parent
a00580e1
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
214 additions
and
94 deletions
+214
-94
detail.bainian.zhongshen.js
src/api/detail.bainian.zhongshen.js
+14
-8
detail.huagui.shouxian.js
src/api/detail.huagui.shouxian.js
+7
-2
detail.huatai.zhongjixian.js
src/api/detail.huatai.zhongjixian.js
+20
-0
detail.taikang.yiliaobaozhang.js
src/api/detail.taikang.yiliaobaozhang.js
+2
-10
policy.js
src/api/policy.js
+6
-1
applyClaims.mixin.js
src/mixins/applyClaims.mixin.js
+33
-0
index.vue
src/views/Home/Activity/index.vue
+1
-1
index.vue
src/views/Home/index.vue
+6
-3
Guarantee.vue
src/views/Policy/Detail/Types/Guarantee.vue
+71
-33
InsuranceCard.vue
src/views/Policy/Detail/modules/InsuranceCard.vue
+48
-7
PayCost.vue
src/views/Policy/Detail/modules/PayCost.vue
+1
-1
index.vue
src/views/Policy/Success/index.vue
+1
-1
InsuranceRecommend.vue
src/views/Policy/modules/InsuranceRecommend.vue
+1
-1
index.vue
src/views/User/ApplyClaims/index.vue
+3
-26
No files found.
src/api/detail.bainian.zhongshen.js
View file @
a0509d94
...
@@ -34,14 +34,20 @@ export default {
...
@@ -34,14 +34,20 @@ export default {
{
title
:
"
附加投保人保费豁免(可选)
"
,
value
:
"
免交后续保费
"
}
{
title
:
"
附加投保人保费豁免(可选)
"
,
value
:
"
免交后续保费
"
}
],
],
securityContent
:
[
securityContent
:
[
{
title
:
"
重大疾病保险金(100种)
"
,
value
:
"
50万元
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的重大疾病(100种),按基本保额的一定比例(被保险人年满60周岁前确诊,给付160%;被保险人年满60周岁后(含)确诊,给付100%)给付重大疾病保险金。重大疾病保险金给付一次为限。给付重大疾病保险金后,本合同的现金价值降低为零。
"
},
{
id
:
1
,
title
:
"
重大疾病保险金(100种)
"
,
value
:
"
50万元
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的重大疾病(100种),按基本保额的一定比例(被保险人年满60周岁前确诊,给付160%;被保险人年满60周岁后(含)确诊,给付100%)给付重大疾病保险金。重大疾病保险金给付一次为限。给付重大疾病保险金后,本合同的现金价值降低为零。
"
},
{
title
:
"
中症疾病保险金(25种)
"
,
value
:
"
30万元
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的中症疾病(25种),按基本保额的60%给付中症疾病保险金,中症疾病保险金给付两次为限。每种中症疾病只给付一次中症疾病保险金,给付后该种中症疾病保险金责任效力终止。若被保险人因同一疾病原因、同次医疗行为或同次意外伤害事故导致初次患上本合同所列的两种或两种以上中症疾病,仅按一种中症疾病给付中症疾病保险金。
"
},
{
id
:
2
,
title
:
"
中症疾病保险金(25种)
"
,
value
:
"
30万元
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的中症疾病(25种),按基本保额的60%给付中症疾病保险金,中症疾病保险金给付两次为限。每种中症疾病只给付一次中症疾病保险金,给付后该种中症疾病保险金责任效力终止。若被保险人因同一疾病原因、同次医疗行为或同次意外伤害事故导致初次患上本合同所列的两种或两种以上中症疾病,仅按一种中症疾病给付中症疾病保险金。
"
},
{
title
:
"
轻症疾病保险金(48种)
"
,
value
:
"
20万/22.5万/25万
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的轻症疾病(48种),按基本保额的一定比例(第一次40%、第二次45%、第三次50%)给付轻症疾病保险金。轻症疾病保险金三次为限。若被保险人因同一疾病原因、同次医疗行为或同次意外伤害事故导致初次患上本合同所列的两种或两种以上轻症疾病,仅按一种轻症疾病给付轻症疾病保险金。每种轻症疾病只给付一次轻症疾病保险金,给付后该种轻症疾病保险金责任效力终止。
"
},
{
id
:
3
,
title
:
"
轻症疾病保险金(48种)
"
,
value
:
"
20万/22.5万/25万
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的轻症疾病(48种),按基本保额的一定比例(第一次40%、第二次45%、第三次50%)给付轻症疾病保险金。轻症疾病保险金三次为限。若被保险人因同一疾病原因、同次医疗行为或同次意外伤害事故导致初次患上本合同所列的两种或两种以上轻症疾病,仅按一种轻症疾病给付轻症疾病保险金。每种轻症疾病只给付一次轻症疾病保险金,给付后该种轻症疾病保险金责任效力终止。
"
},
{
title
:
"
前症疾病保险金(12种)
"
,
value
:
"
7.5万元
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的前症疾病(12种),并经本合同约定的治疗后,按基本保额的15%向受益人给付前症疾病保险金。前症疾病保险金一次为限。
"
},
{
id
:
4
,
title
:
"
前症疾病保险金(12种)
"
,
value
:
"
7.5万元
"
,
content
:
"
被保险人在等待期(180天)以后经认可的医院确诊初次患上一种或多种本合同约定的前症疾病(12种),并经本合同约定的治疗后,按基本保额的15%向受益人给付前症疾病保险金。前症疾病保险金一次为限。
"
},
{
title
:
"
重症/中症/轻症/前症保费豁免
"
,
value
:
"
免交后续保费
"
,
content
:
"
被保险人确诊初次发生合同约定的“恶性肿瘤”且给付重大疾病保险金后,自恶性肿瘤确诊之日起3年后,经认可的医院确诊再次发生合同约定的“恶性肿瘤”(含持续、新发、复发及转移),给付120%基本保额。被保险人经认可的医院确诊初次发生恶性肿瘤以外的重大疾病且给付重大疾病保险金后,自确诊之日180天后,确认发生合同约定的恶性肿瘤,给付120%基本保额。第二次恶性肿瘤保险金给付一次为限。
"
},
{
id
:
5
,
title
:
"
重症/中症/轻症/前症保费豁免
"
,
value
:
"
免交后续保费
"
,
content
:
"
被保险人确诊初次发生合同约定的“恶性肿瘤”且给付重大疾病保险金后,自恶性肿瘤确诊之日起3年后,经认可的医院确诊再次发生合同约定的“恶性肿瘤”(含持续、新发、复发及转移),给付120%基本保额。被保险人经认可的医院确诊初次发生恶性肿瘤以外的重大疾病且给付重大疾病保险金后,自确诊之日180天后,确认发生合同约定的恶性肿瘤,给付120%基本保额。第二次恶性肿瘤保险金给付一次为限。
"
},
{
title
:
"
第二次心脑血管特定疾病(已选)
"
,
value
:
"
60万
"
,
content
:
"
被保险人确诊初次发生合同约定的“心脑血管特定疾病”且给付重大疾病保险金后,自心脑血管特定疾病确诊之日起1年后,经认可的医院确诊再次发生该种疾病,给付120%基本保额。被保险人确诊初次发生合同约定范围内12种心脑血管特定疾病以外的重大疾病且给付重大疾病保险金后,自确诊之日180天后,经认可的医院确诊初次发生合同约定的12种心脑血管特定疾病,给付120%基本保额。第二次心脑血管特定疾病保险金给付一次为限。
"
},
{
id
:
6
,
title
:
"
第二次恶性肿瘤保险金
"
,
value
:
"
60万
"
,
content
:
"
被保险人确诊初次发生合同约定的“恶性肿瘤”且给付重大疾病保险金后,自恶性肿瘤确诊之日起3年后,经认可的医院确诊再次发生合同约定的“恶性肿瘤”(含持续、新发、复发及转移),给付120%基本保额。被保险人经认可的医院确诊初次发生恶性肿瘤以外的重大疾病且给付重大疾病保险金后,自确诊之日180天后,确认发生合同约定的恶性肿瘤,给付120%基本保额。第二次恶性肿瘤保险金给付一次为限。
"
},
{
title
:
"
身故保险金(已选)
"
,
value
:
"
已交保费/基本保额
"
,
content
:
"
被保险人因意外或等待期180天后18周岁前身故,给付已交保费(无息);被保险人因意外或等待期180天后身故且18周岁以后(含当日),给付基本保额。身故保险金”与“重大疾病保险金”二者不可兼得,即若给付其中一项保险金,则另一保险金将不再给付。
"
},
{
id
:
7
,
title
:
"
第二次心脑血管特定疾病(已选)
"
,
value
:
"
60万
"
,
content
:
"
被保险人确诊初次发生合同约定的“心脑血管特定疾病”且给付重大疾病保险金后,自心脑血管特定疾病确诊之日起1年后,经认可的医院确诊再次发生该种疾病,给付120%基本保额。被保险人确诊初次发生合同约定范围内12种心脑血管特定疾病以外的重大疾病且给付重大疾病保险金后,自确诊之日180天后,经认可的医院确诊初次发生合同约定的12种心脑血管特定疾病,给付120%基本保额。第二次心脑血管特定疾病保险金给付一次为限。
"
},
{
title
:
"
附加投保人保费豁免(已选)
"
,
value
:
"
免交后续保费
"
,
content
:
"
等待期90天后,投保人身故/全残,或确诊初次患上合同约定的重疾、中症、轻症,豁免确诊日后主合同及其附加的长期保险合同余下未来各期保险费。
"
}
{
id
:
8
,
title
:
"
身故保险金(已选)
"
,
value
:
"
已交保费/基本保额
"
,
content
:
"
被保险人因意外或等待期180天后18周岁前身故,给付已交保费(无息);被保险人因意外或等待期180天后身故且18周岁以后(含当日),给付基本保额。身故保险金”与“重大疾病保险金”二者不可兼得,即若给付其中一项保险金,则另一保险金将不再给付。
"
},
{
id
:
9
,
title
:
"
附加投保人保费豁免(已选)
"
,
value
:
"
免交后续保费
"
,
content
:
"
等待期90天后,投保人身故/全残,或确诊初次患上合同约定的重疾、中症、轻症,豁免确诊日后主合同及其附加的长期保险合同余下未来各期保险费。
"
},
{
id
:
10
,
title
:
"
保障期限
"
,
value
:
""
},
{
id
:
11
,
title
:
"
生效日期
"
,
value
:
""
},
{
id
:
12
,
title
:
"
受益人
"
,
value
:
"
法定
"
},
{
id
:
13
,
title
:
"
交费年限
"
,
value
:
""
}
],
],
insuredAmountOptions
:
[
insuredAmountOptions
:
[
{
label
:
"
10万
"
,
value
:
"
100000
"
},
{
label
:
"
10万
"
,
value
:
"
100000
"
},
...
...
src/api/detail.huagui.shouxian.js
View file @
a0509d94
...
@@ -68,8 +68,13 @@ export default {
...
@@ -68,8 +68,13 @@ export default {
{
title
:
"
邮政储蓄
"
,
value
:
"
0128
"
}
{
title
:
"
邮政储蓄
"
,
value
:
"
0128
"
}
],
],
securityContent
:
[
securityContent
:
[
{
title
:
"
身故保险金
"
,
value
:
"
350万
"
},
{
id
:
1
,
title
:
"
身故保险金
"
,
value
:
""
},
{
title
:
"
意外伤残
"
,
value
:
"
350万
"
}
{
id
:
2
,
title
:
"
意外伤残
"
,
value
:
""
},
{
id
:
3
,
title
:
"
保障期限
"
,
value
:
""
},
{
id
:
4
,
title
:
"
生效日期
"
,
value
:
""
},
{
id
:
5
,
title
:
"
受益人
"
,
value
:
"
法定
"
},
{
id
:
6
,
title
:
"
交费年限
"
,
value
:
""
},
{
id
:
7
,
title
:
"
交费方式
"
,
value
:
""
},
],
],
planTipOptions
:
[
"
最高350万
"
,
"
高风险职业可保
"
,
"
免体检
"
],
planTipOptions
:
[
"
最高350万
"
,
"
高风险职业可保
"
,
"
免体检
"
],
noticeCellInfo
:
[
noticeCellInfo
:
[
...
...
src/api/detail.huatai.zhongjixian.js
View file @
a0509d94
...
@@ -75,6 +75,26 @@ export default {
...
@@ -75,6 +75,26 @@ export default {
{
title
:
"
保险期限
"
,
value
:
"
1年
"
}
{
title
:
"
保险期限
"
,
value
:
"
1年
"
}
]
]
},
},
securityContent
:
{
"
300000
"
:
[
{
id
:
1
,
title
:
"
100种重大疾病医疗保险金
"
,
value
:
"
30万
"
},
{
id
:
2
,
title
:
"
40种轻症保险金
"
,
value
:
"
6万
"
},
{
id
:
3
,
title
:
"
生效日期
"
,
value
:
""
},
{
id
:
4
,
title
:
"
终止日期
"
,
value
:
""
}
],
"
200000
"
:
[
{
id
:
1
,
title
:
"
100种重大疾病医疗保险金
"
,
value
:
"
20万
"
},
{
id
:
2
,
title
:
"
40种轻症保险金
"
,
value
:
"
4万
"
},
{
id
:
3
,
title
:
"
生效日期
"
,
value
:
""
},
{
id
:
4
,
title
:
"
终止日期
"
,
value
:
""
}
],
"
100000
"
:
[
{
id
:
1
,
title
:
"
100种重大疾病医疗保险金
"
,
value
:
"
10万
"
},
{
id
:
2
,
title
:
"
40种轻症保险金
"
,
value
:
"
2万
"
},
{
id
:
3
,
title
:
"
生效日期
"
,
value
:
""
},
{
id
:
4
,
title
:
"
终止日期
"
,
value
:
""
}
]
},
planTipOptions
:
[
"
轻症赔付后,重疾保障继续有效
"
,
"
可逐年续保至99岁
"
],
planTipOptions
:
[
"
轻症赔付后,重疾保障继续有效
"
,
"
可逐年续保至99岁
"
],
planOptions
:
[
planOptions
:
[
{
label
:
"
30万
"
,
value
:
"
300000
"
},
{
label
:
"
30万
"
,
value
:
"
300000
"
},
...
...
src/api/detail.taikang.yiliaobaozhang.js
View file @
a0509d94
...
@@ -178,19 +178,11 @@ export default {
...
@@ -178,19 +178,11 @@ export default {
processDetail
:
[
processDetail
:
[
{
{
title
:
"
电话报案
"
,
title
:
"
电话报案
"
,
desc
:
"
拨打XX健康电话XXXXXXXXXXX 进行报案。
"
desc
:
"
拨打泰康在线专属服务热线4000795522报案。
"
},
{
title
:
"
准备资料
"
,
desc
:
`准备化验资料等住院资料`
},
},
{
{
title
:
"
提交资料
"
,
title
:
"
提交资料
"
,
desc
:
`热线客服将向您了解出现情况,介绍所需的申请材料并引导后续理赔流程。您需要安保险公司要求,邮寄相应理赔申请资料原件和身份证、银行储蓄卡复印件等资料。`
desc
:
`关注「泰康在线保险服务」微信公众号,验证身份信息后,填写被保险人出险信息,并完成上传理赔材料。保险公司审核通过后,通知客户寄送纸质理赔原件。`
},
{
title
:
"
完成理赔
"
,
desc
:
`我们收到齐全的资料后,简易案件将在10个工作日结案,复杂案件将在30日内结案`
}
}
],
],
rateInfo
:
[
rateInfo
:
[
...
...
src/api/policy.js
View file @
a0509d94
...
@@ -22,5 +22,10 @@ export const getPayRecord = policySecId => {
...
@@ -22,5 +22,10 @@ export const getPayRecord = policySecId => {
// 保单自动续保状态管理
// 保单自动续保状态管理
export
const
updateRenewal
=
(
policySecId
,
status
)
=>
{
export
const
updateRenewal
=
(
policySecId
,
status
)
=>
{
return
req
.
post
(
`/policy/auto_renew_policy/
${
encodeURIComponent
(
policySecId
)}
/
${
status
}
`
);
return
req
.
post
(
"
/policy/auto_renew_policy
"
,
{
policySecId
,
status
});
};
// 华贵- 回访插件URL
export
const
returnOnline
=
params
=>
{
return
req
.
post
(
"
/third/huagui/returnOnline
"
,
params
);
};
};
src/mixins/applyClaims.mixin.js
0 → 100644
View file @
a0509d94
import
CpsProcessDetail
from
"
@/views/Goods/Detail/modules/CpsProcessDetail
"
;
import
PopupWithIframe
from
"
@/components/PopupWithIframe
"
;
import
bainian
from
"
@/api/detail.bainian.zhongshen
"
;
import
huagui
from
"
@/api/detail.huagui.shouxian
"
;
import
huatai
from
"
@/api/detail.huatai.zhongjixian
"
;
import
taikang
from
"
@/api/detail.taikang.yiliaobaozhang
"
;
import
zhongan
from
"
@/api/detail.zhongan.yiwai
"
;
export
default
{
data
()
{
return
{
popupShow
:
false
,
processDetail
:
[],
claims
:
{
TKYLX001
:
taikang
.
processDetail
,
HTDQZJX001
:
huatai
.
processDetail
,
ZAYWX001
:
zhongan
.
processDetail
,
BNZJX001
:
bainian
.
processDetail
,
HGSX001
:
huagui
.
processDetail
}
};
},
components
:
{
PopupWithIframe
,
CpsProcessDetail
},
methods
:
{
showIframe
(
id
)
{
this
.
popupShow
=
true
;
this
.
processDetail
=
this
.
claims
[
id
];
}
}
};
src/views/Home/Activity/index.vue
View file @
a0509d94
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<p>
{{
withdrawalText
}}
</p>
<p>
{{
withdrawalText
}}
</p>
</div>
</div>
<div
class=
"activity-vote"
>
<div
class=
"activity-vote"
>
<p
class=
"activity-vote-title"
>
投保“
国民
保·百万医疗险”的用户
</p>
<p
class=
"activity-vote-title"
>
投保“
万家
保·百万医疗险”的用户
</p>
<p
class=
"activity-vote-desc"
>
参与投票,即可抽取最高
<span>
18888
</span>
元可提现红包
</p>
<p
class=
"activity-vote-desc"
>
参与投票,即可抽取最高
<span>
18888
</span>
元可提现红包
</p>
<div
class=
"activity-vote-body"
>
<div
class=
"activity-vote-body"
>
<div
class=
"Av-body-left"
>
<div
class=
"Av-body-left"
>
...
...
src/views/Home/index.vue
View file @
a0509d94
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</div>
</div>
<div
class=
"home-classroom"
>
<div
class=
"home-classroom"
>
<p
class=
"home-classroom-title"
>
芒果小课堂
</p>
<p
class=
"home-classroom-title"
>
芒果小课堂
</p>
<div
class=
"home-classroom-card"
>
<div
class=
"home-classroom-card"
@
click=
"goArticle(0)"
>
<a
:href=
"articleList[0].url"
target=
"_blank"
class=
"Hc-card-question"
>
<a
:href=
"articleList[0].url"
target=
"_blank"
class=
"Hc-card-question"
>
{{
articleList
[
0
].
title
}}
{{
articleList
[
0
].
title
}}
</a>
</a>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<div
<div
class=
"Hc-card-operation"
class=
"Hc-card-operation"
:class=
"
{ active: articleUseful === '0' }"
:class=
"
{ active: articleUseful === '0' }"
@click="clickUsefulOption('0')"
@click
.stop
="clickUsefulOption('0')"
>
>
<svg-icon
class-name=
"Hcc-operation-svg"
icon-class=
"useful"
/>
<svg-icon
class-name=
"Hcc-operation-svg"
icon-class=
"useful"
/>
<span
class=
"Hcc-operation-text"
>
有用
</span>
<span
class=
"Hcc-operation-text"
>
有用
</span>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<div
<div
class=
"Hc-card-operation"
class=
"Hc-card-operation"
:class=
"
{ active: articleUseful === '1' }"
:class=
"
{ active: articleUseful === '1' }"
@click="clickUsefulOption('1')"
@click
.stop
="clickUsefulOption('1')"
>
>
<svg-icon
class-name=
"Hcc-operation-svg"
icon-class=
"useless"
/>
<svg-icon
class-name=
"Hcc-operation-svg"
icon-class=
"useless"
/>
<span
class=
"Hcc-operation-text"
>
没用
</span>
<span
class=
"Hcc-operation-text"
>
没用
</span>
...
@@ -176,6 +176,9 @@ export default {
...
@@ -176,6 +176,9 @@ export default {
}
else
{
}
else
{
this
.
$router
.
push
(
"
/home/smart-measure
"
);
this
.
$router
.
push
(
"
/home/smart-measure
"
);
}
}
},
goArticle
(
index
)
{
window
.
location
.
href
=
this
.
articleList
[
index
].
url
;
}
}
}
}
};
};
...
...
src/views/Policy/Detail/Types/Guarantee.vue
View file @
a0509d94
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
:autoRenewPolicy=
"data.autoRenewPolicy"
:autoRenewPolicy=
"data.autoRenewPolicy"
:policyNo=
"data.policyNo"
:policyNo=
"data.policyNo"
:orderNo=
"data.orderNo"
:orderNo=
"data.orderNo"
:clientReview=
"data.clientReview"
:statusKey=
"data.cardConfig.key"
v-if=
"showInsuranceCard"
v-if=
"showInsuranceCard"
></insurance-card>
></insurance-card>
<security-content
:data=
"data"
:detail=
"planDetail"
></security-content>
<security-content
:data=
"data"
:detail=
"planDetail"
></security-content>
...
@@ -94,39 +96,75 @@ export default {
...
@@ -94,39 +96,75 @@ export default {
paywayOptions
paywayOptions
}
=
this
.
productInfo
;
}
=
this
.
productInfo
;
let
info
=
[];
let
info
=
[];
if
([
"
HTDQZJX001
"
,
"
ZAYWX001
"
].
includes
(
this
.
data
.
productNo
))
{
info
=
[
switch
(
this
.
data
.
productNo
)
{
...
planCellInfo
[
this
.
data
?.
productItem
?.
amountInsured
],
case
"
BNZJX001
"
:
...[
info
=
securityContent
{
title
:
"
生效日期
"
,
value
:
this
.
EffectiveDate
},
.
filter
(
v
=>
{
{
title
:
"
终止日期
"
,
value
:
this
.
EndDate
}
if
(
v
.
id
===
7
)
{
]
return
this
.
data
?.
productItem
?.
additionalContract
?.
twiceSpecialDisease
;
];
}
else
if
(
v
.
id
===
8
)
{
}
else
if
([
"
HGSX001
"
,
"
BNZJX001
"
].
includes
(
this
.
data
.
productNo
))
{
return
this
.
data
?.
productItem
?.
additionalContract
?.
deathCompensation
;
info
=
[
}
else
if
(
v
.
id
===
9
)
{
...
securityContent
,
return
this
.
data
?.
productItem
?.
additionalContract
?.
twiceSpecialDisease
;
...[
}
{
return
true
;
title
:
"
保障期限
"
,
})
value
:
termOptions
[
this
.
data
?.
productItem
?.
policyPeriod
-
1
].
label
.
map
(
v
=>
{
},
if
(
v
.
id
===
10
)
{
{
title
:
"
生效日期
"
,
value
:
this
.
EffectiveDate
},
v
.
value
=
termOptions
[
this
.
data
?.
productItem
?.
policyPeriod
-
1
].
label
;
{
title
:
"
受益人
"
,
value
:
"
法定
"
},
}
else
if
(
v
.
id
===
11
)
{
{
v
.
value
=
this
.
EffectiveDate
;
title
:
"
交费年限
"
,
}
else
if
(
v
.
id
===
13
)
{
value
:
benefitOptions
[
this
.
data
?.
productItem
?.
payPeriod
-
1
].
label
.
slice
(
1
)
v
.
value
=
benefitOptions
[
this
.
data
?.
productItem
?.
payPeriod
-
1
].
label
.
slice
(
1
);
},
}
{
title
:
"
交费方式
"
,
value
:
paywayOptions
[
this
.
data
?.
productItem
?.
payType
-
1
].
label
}
return
v
;
]
});
];
break
;
}
else
if
(
this
.
data
.
productNo
===
"
TKYLX001
"
)
{
case
"
HGSX001
"
:
info
=
[
info
=
securityContent
.
map
(
v
=>
{
...
planCellInfo
,
if
(
v
.
id
===
1
||
v
.
id
===
2
)
{
...[
v
.
value
=
`
${
this
.
data
?.
productItem
?.
amountInsured
/
10000
}
万
`;
{
title
:
"
生效日期
"
,
value
:
this
.
EffectiveDate
},
} else if (v.id === 3) {
{
title
:
"
终止日期
"
,
value
:
this
.
EndDate
}
v.value = termOptions[this.data?.productItem?.policyPeriod - 1].label;
]
} else if (v.id === 4) {
];
v.value = this.EffectiveDate;
} else if (v.id === 6) {
v.value = benefitOptions[this.data?.productItem?.payPeriod - 1].label.slice(1);
} else if (v.id === 7) {
v.value = paywayOptions[this.data?.productItem?.payType - 1]?.label;
}
return v;
});
break;
case "TKYLX001":
info = [
...planCellInfo,
...[
{ title: "生效日期", value: this.EffectiveDate },
{ title: "终止日期", value: this.EndDate }
]
];
break;
case "HTDQZJX001":
info = securityContent[this.data?.productItem?.amountInsured]?.map(v => {
if (v.id === 3) {
v.value = this.EffectiveDate;
} else if (v.id === 4) {
v.value = this.EndDate;
}
return v;
});
break;
case "ZAYWX001":
info = [
...planCellInfo[this.data?.productItem?.amountInsured],
...[
{ title: "生效日期", value: this.EffectiveDate },
{ title: "终止日期", value: this.EndDate }
]
];
break;
}
}
return { type, planCellInfo: info };
return { type, planCellInfo: info };
...
...
src/views/Policy/Detail/modules/InsuranceCard.vue
View file @
a0509d94
...
@@ -3,18 +3,36 @@
...
@@ -3,18 +3,36 @@
<p
class=
"Pdb-insurance-name"
>
{{
productTitle
}}
</p>
<p
class=
"Pdb-insurance-name"
>
{{
productTitle
}}
</p>
<p
class=
"Pdb-insurance-no"
>
NO.
{{
policyNo
}}
<br
/>
由
{{
productCompany
}}
承保
</p>
<p
class=
"Pdb-insurance-no"
>
NO.
{{
policyNo
}}
<br
/>
由
{{
productCompany
}}
承保
</p>
<div
class=
"Pdb-insurance-operation"
>
<div
class=
"Pdb-insurance-operation"
>
<cr-button
class=
"Pdbi-operation-button"
v-if=
"isShowRenewalButton"
@
click=
"goNext"
>
<cr-button
class=
"Pdbi-operation-button"
v-if=
"isShowRenewalButton"
@
click=
"goNext('renewal')"
>
{{
buttonText
}}
{{
buttonText
}}
</cr-button>
</cr-button>
<cr-button
class=
"Pdbi-operation-button"
>
申请理赔
</cr-button>
<cr-button
class=
"Pdbi-operation-button"
v-if=
"isShowClaimsButton"
@
click=
"showIframe(productNo)"
>
申请理赔
</cr-button
>
<cr-button
class=
"Pdbi-operation-button"
v-if=
"isShowVisitButton"
@
click=
"goNext('visit')"
>
{{
visitButtonText
}}
</cr-button>
</div>
</div>
<popup-with-iframe
v-model=
"popupShow"
title=
"理赔流程"
>
<cps-process-detail
:process-data=
"processDetail"
/>
</popup-with-iframe>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
GOODS_LIST
from
"
@/api/goodsList.mock
"
;
import
GOODS_LIST
from
"
@/api/goodsList.mock
"
;
import
{
returnOnline
}
from
"
@/api/policy
"
;
import
applyClaimsMixin
from
"
@/mixins/applyClaims.mixin
"
;
export
default
{
export
default
{
name
:
"
InsuranceCard
"
,
name
:
"
InsuranceCard
"
,
mixins
:
[
applyClaimsMixin
],
props
:
{
props
:
{
productNo
:
{
productNo
:
{
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
...
@@ -35,11 +53,16 @@ export default {
...
@@ -35,11 +53,16 @@ export default {
policySecId
:
{
policySecId
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
},
clientReview
:
{
type
:
Boolean
,
default
:
false
},
statusKey
:
{
type
:
String
,
default
:
""
}
}
},
},
data
()
{
return
{};
},
computed
:
{
computed
:
{
productTitle
()
{
productTitle
()
{
return
GOODS_LIST
.
find
(
v
=>
v
.
id
===
this
.
productNo
)?.
title
||
""
;
return
GOODS_LIST
.
find
(
v
=>
v
.
id
===
this
.
productNo
)?.
title
||
""
;
...
@@ -50,13 +73,31 @@ export default {
...
@@ -50,13 +73,31 @@ export default {
buttonText
()
{
buttonText
()
{
return
this
.
autoRenewPolicy
?
"
已开通次年续保
"
:
"
已关闭次年续保
"
;
return
this
.
autoRenewPolicy
?
"
已开通次年续保
"
:
"
已关闭次年续保
"
;
},
},
visitButtonText
()
{
return
this
.
clientReview
?
"
已回访
"
:
"
去回访
"
;
},
isShowRenewalButton
()
{
isShowRenewalButton
()
{
return
!
[
"
BNZJX001
"
,
"
HGSX001
"
].
includes
(
this
.
productNo
);
return
!
[
"
BNZJX001
"
,
"
HGSX001
"
].
includes
(
this
.
productNo
);
},
isShowVisitButton
()
{
return
"
HGSX001
"
===
this
.
productNo
;
},
isShowClaimsButton
()
{
console
.
log
(
"
this.statusKey
"
,
this
.
statusKey
);
return
[
"
1
"
,
"
2
"
].
includes
(
this
.
statusKey
);
}
}
},
},
methods
:
{
methods
:
{
goNext
()
{
async
goNext
(
type
)
{
this
.
$router
.
push
(
`/policy/renewal/
${
this
.
orderNo
}
/
${
encodeURIComponent
(
this
.
policySecId
)}
`
);
if
(
type
===
"
renewal
"
)
{
this
.
$router
.
push
(
`/policy/renewal/
${
this
.
orderNo
}
/
${
encodeURIComponent
(
this
.
policySecId
)}
`
);
}
else
if
(
type
===
"
visit
"
)
{
const
params
=
{
contNo
:
this
.
policyNo
,
redirectUrl
:
window
.
location
.
href
};
const
result
=
await
returnOnline
(
params
);
window
.
location
.
href
=
result
.
url
;
}
}
}
}
}
};
};
...
...
src/views/Policy/Detail/modules/PayCost.vue
View file @
a0509d94
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
},
},
methods
:
{
methods
:
{
goNext
()
{
goNext
()
{
if
(
this
.
payCostConfig
.
button
===
"
立即缴费
"
)
{
if
(
this
.
statusKey
===
"
4
"
)
{
this
.
orderInfo
=
this
.
payInfo
;
this
.
orderInfo
=
this
.
payInfo
;
this
.
goPay
();
this
.
goPay
();
}
else
{
}
else
{
...
...
src/views/Policy/Success/index.vue
View file @
a0509d94
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
return
{
return
{
policy
:
{},
policy
:
{},
cardConfig
:
{
cardConfig
:
{
detail
Text
:
"
购买成功
"
status
Text
:
"
购买成功
"
}
}
};
};
},
},
...
...
src/views/Policy/modules/InsuranceRecommend.vue
View file @
a0509d94
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<span>
30万
</span>
<span>
30万
</span>
<span>
{{
goods
.
guarantee_title
}}
</span>
<span>
{{
goods
.
guarantee_title
}}
</span>
</p>
</p>
<p
class=
"Prc-right-desc"
>
{{
goods
.
guarantee_sub
+
"
确诊即
陪
"
}}
</p>
<p
class=
"Prc-right-desc"
>
{{
goods
.
guarantee_sub
+
"
确诊即
赔
"
}}
</p>
</div>
</div>
</div>
</div>
<cr-button
class=
"policy-recommend-button"
@
click=
"goNext()"
>
点此投保
</cr-button>
<cr-button
class=
"policy-recommend-button"
@
click=
"goNext()"
>
点此投保
</cr-button>
...
...
src/views/User/ApplyClaims/index.vue
View file @
a0509d94
...
@@ -41,37 +41,20 @@
...
@@ -41,37 +41,20 @@
</template>
</template>
<
script
>
<
script
>
import
goodsList
from
"
@/api/goodsList.mock
"
;
import
goodsList
from
"
@/api/goodsList.mock
"
;
import
bainian
from
"
@/api/detail.bainian.zhongshen
"
;
import
huagui
from
"
@/api/detail.huagui.shouxian
"
;
import
huatai
from
"
@/api/detail.huatai.zhongjixian
"
;
import
taikang
from
"
@/api/detail.taikang.yiliaobaozhang
"
;
import
zhongan
from
"
@/api/detail.zhongan.yiwai
"
;
import
PopupWithIframe
from
"
@/components/PopupWithIframe
"
;
import
CpsProcessDetail
from
"
@/views/Goods/Detail/modules/CpsProcessDetail
"
;
import
{
getPolicyList
}
from
"
@/api/policy
"
;
import
{
getPolicyList
}
from
"
@/api/policy
"
;
import
applyClaimsMixin
from
"
@/mixins/applyClaims.mixin
"
;
import
policyStatusMixin
from
"
@/views/Policy/mixin/policyStatus.mixin
"
;
import
policyStatusMixin
from
"
@/views/Policy/mixin/policyStatus.mixin
"
;
import
InsuranceRecommend
from
"
@/views/Policy/modules/InsuranceRecommend
"
;
import
InsuranceRecommend
from
"
@/views/Policy/modules/InsuranceRecommend
"
;
export
default
{
export
default
{
name
:
"
ApplyClaims
"
,
name
:
"
ApplyClaims
"
,
mixins
:
[
policyStatusMixin
],
mixins
:
[
policyStatusMixin
,
applyClaimsMixin
],
components
:
{
components
:
{
PopupWithIframe
,
CpsProcessDetail
,
InsuranceRecommend
InsuranceRecommend
},
},
data
()
{
data
()
{
return
{
return
{
goodsList
:
[],
goodsList
:
[]
processDetail
:
[],
claims
:
{
TKYLX001
:
taikang
.
processDetail
,
HTDQZJX001
:
huatai
.
processDetail
,
ZAYWX001
:
zhongan
.
processDetail
,
BNZJX001
:
bainian
.
processDetail
,
HGSX001
:
huagui
.
processDetail
},
popupShow
:
false
};
};
},
},
async
created
()
{
async
created
()
{
...
@@ -83,12 +66,6 @@ export default {
...
@@ -83,12 +66,6 @@ export default {
return
datafiltered
.
length
;
return
datafiltered
.
length
;
});
});
},
methods
:
{
showIframe
(
id
)
{
this
.
popupShow
=
true
;
this
.
processDetail
=
this
.
claims
[
id
];
}
}
}
};
};
</
script
>
</
script
>
...
...
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