mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 23:56:43 +08:00
GFRS-2468 特定疾病险-健康告知页面修改-提交人:白金岩
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
<van-collapse v-model="activeNames">
|
||||
<van-collapse-item :name="indx + 1">
|
||||
<div slot="title" class="flex align-items-c justify-content-s">
|
||||
<!--投保人 0 2 4 6 8 10 被保险人 1 3 5 7 9 11 13-->
|
||||
{{isSpecificMedicalInsurance?impartTypeNumber[im.impartType]:
|
||||
<!--投保人 0 2 4 6 8 10 被保险人 1 3 5 7 9 11 13 特定疾病险固定展示为'被保人健康告知'-->
|
||||
{{isSpecificMedicalInsurance?impartTypeNumber['13']:
|
||||
relationToAppnt == '1'
|
||||
? '投保人/被保险人' +
|
||||
impartTypeNumber[im.impartType]
|
||||
@@ -237,6 +237,10 @@ export default {
|
||||
.toString(36)
|
||||
.substr(2)
|
||||
i.show = false
|
||||
// 13-特定疾病险 被保人健康告知 第一题 换行展示 回显
|
||||
if (insuredPersionImpartDTO.impartType == '13') {
|
||||
i.impartContent = this.replaceNToBr(i.impartContent)
|
||||
}
|
||||
if (i.impartAnswer == '0') {
|
||||
i.show = true
|
||||
} else {
|
||||
@@ -735,7 +739,7 @@ export default {
|
||||
return str;
|
||||
},
|
||||
replaceBrToNull(str){
|
||||
if(str!=null) str = str.replace(/<br\/>/g,"")
|
||||
if(str!=null) str = str.replace(/<br\/>/g,"\n")
|
||||
return str;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user