GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版) 分支后退处理 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-03-12 15:08:34 +08:00
parent f7f41a37f7
commit fc5b2df10a
21 changed files with 107 additions and 214 deletions

View File

@@ -31,7 +31,7 @@ export default [
name: 'ChooseInsuredPerson',
component: chooseInsuredPerson,
meta: {
title: '选择被保人'
title: '选择被保人'
}
},
{
@@ -49,7 +49,7 @@ export default [
name: 'InsuredPerson',
component: insuredPerson,
meta: {
title: '被保人信息',
title: '被保人信息',
index: 1
}
},

View File

@@ -59,7 +59,7 @@ export default [
name: 'insuredPerson',
component: insuredPerson,
meta: {
title: '被保人信息',
title: '被保人信息',
index: 1
}
},

View File

@@ -93,7 +93,7 @@ export function appCallBack(that, type) {
title = '投保人信息'
break
case '2':
title = '被保人信息'
title = '被保人信息'
break
case '3':
title = '指定受益人信息'
@@ -129,7 +129,7 @@ export function chooseOccupation(that, type) {
title = '投保人信息'
break
case '2':
title = '被保人信息'
title = '被保人信息'
break
case '3':
title = '指定受益人信息'
@@ -514,7 +514,7 @@ export function chooseCustomer(that, data, type) {
title = '投保人信息'
break
case '2':
title = '被保人信息'
title = '被保人信息'
break
case '3':
title = '指定受益人信息'
@@ -829,7 +829,7 @@ export function getIdentityInfo(that, data, type) {
}
that.isScan = false
that.bankisScan = false
let title = type == '1' ? '投保人信息' : '被保人信息'
let title = type == '1' ? '投保人信息' : '被保人信息'
that.$jump({
flag: 'navigation',
extra: {

View File

@@ -122,7 +122,6 @@ export default {
let currentProductInfo = {
calFactorLst,
isMainRisk: 1,
hint: resultData.hint,
riskType: resultData.riskType,
riskName: this.result.riskName,
productCode: this.result.productCode,

View File

@@ -163,7 +163,7 @@
:show-minus="false"
class="ml10 mr10"
@focus="focusStep"
@blur="blurStep(dutyItem, index, riskFactorIndex, dutyItemIndex)"
@blur="blurStep(dutyItem)"
@change="
dutyStepperChange(
item.calFactorLst[riskFactorIndex].rules[dutyItemIndex].defaultDutyAmt,
@@ -412,44 +412,20 @@ export default {
})
//GFRS_M0016需要展示免赔额和赔付比例并需要根据是否有社保调整数值
// let mainRiskCode = chooseProducts[0].mainRiskCode
this.dogetLimitAndGetRate().then(res => {
if (this.chooseProducts[0].influences && this.chooseProducts[0].influences.length > 0) {
this.influences = this.chooseProducts[0].influences
this.chooseProducts[0].influences.forEach(item => {
this.influenceAddRiskCodes.push(item.productCode)
})
}
this.mainRiskInfluenceAddRisk()
//初始化数据试算
this.getTrial()
})
},
//特殊处理 GFRS_M0016 GFRS_A0004 GFRS_A0005 赔付比例处理
async dogetLimitAndGetRate() {
const orderNo = localStorage.getItem('orderNo')
let detailPromise = this.isFrom === 'proposal' ? new Promise(r => r(localStorage.getItem('proposalMedical'))) : await getOrderDetail({ orderNo })
this.chooseProducts.map(item => {
if (!(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005')) {
//其他产品删掉两个字段
let calFactorLst = item.calFactorLst
for (let i = calFactorLst.length - 1; i >= 0; i--) {
let item = calFactorLst[i]
if (item.code === 'getLimit' || item.code === 'getRate') {
calFactorLst.splice(i, 1)
if (item.mainRiskCode === 'GFRS_M0016') {
const orderNo = localStorage.getItem('orderNo')
let detailPromise = this.isFrom === 'proposal' ? new Promise(r => r(localStorage.getItem('proposalMedical'))) : getOrderDetail({ orderNo })
detailPromise.then(res => {
let isMedical = null
if (this.isFrom === 'proposal') {
isMedical = res === '1'
} else {
isMedical = res.orderDTO.insuredDTOs[0].medical === '0'
}
}
return
}
if (item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004') {
let isMedical = null
if (this.isFrom === 'proposal') {
isMedical = detailPromise === '1'
} else {
isMedical = detailPromise.orderDTO.insuredDTOs[0].medical === '0'
}
//根据社保写死两个字段 赔付比例和免赔额
item.calFactorLst.map(i => {
if (item.mainRiskCode === 'GFRS_M0016') {
//根据社保写死两个字段 赔付比例和免赔额
item.calFactorLst.map(i => {
//免赔额
if (i.code === 'getLimit') {
const text = isMedical ? '0元意外医疗' : '100元意外医疗'
const value = isMedical ? '0' : '100'
@@ -475,46 +451,37 @@ export default {
i.getRate = value
i.columns = [{ text, value }]
}
} else if (item.productCode === 'GFRS_A0004') {
if (i.code === 'getLimit') {
const text2 = isMedical ? '0元住院医疗' : '100元住院医疗'
const value2 = isMedical ? '0' : '100'
//保存数据
this.medicalInfo = this.medicalInfo || {}
this.medicalInfo.getLimit = text2
i.showContent = text2
i.getLimit = value2
i.columns = [{ text2, value2 }]
}
//赔付比例
if (i.code === 'getRate') {
const text = isMedical ? '80%(住院医疗)' : '60%(住院医疗)'
const value = isMedical ? '0.8' : '0.6'
//保存数据
this.medicalInfo = this.medicalInfo || {}
this.medicalInfo.getRate = text
i.showContent = text
i.getRate = value
i.columns = [{ text, value }]
}
} else if (item.productCode === 'GFRS_A0005') {
// 设置默认值?
}
})
this.$forceUpdate()
})
this.$forceUpdate()
} else {
//其他产品删掉两个字段
let calFactorLst = item.calFactorLst
for (let i = calFactorLst.length - 1; i >= 0; i--) {
let item = calFactorLst[i]
if (item.code === 'getLimit' || item.code === 'getRate') {
calFactorLst.splice(i, 1)
}
}
}
})
// this.influenceAddRiskCodes
if (this.chooseProducts[0].influences && this.chooseProducts[0].influences.length > 0) {
this.influences = this.chooseProducts[0].influences
this.chooseProducts[0].influences.forEach(item => {
this.influenceAddRiskCodes.push(item.productCode)
})
}
this.mainRiskInfluenceAddRisk()
//初始化数据试算
this.getTrial()
},
// 责任保额份数变化
dutyStepperChange(value, productIndex, calFactorIndex, dutyItemIndex, isChecked, min, max) {
//这个险种使用其他验证方式
// GFRS_M0016 GFRS_A0004 使用其他验证方式
if (this.chooseProducts[productIndex].productCode === 'GFRS_M0016' || this.chooseProducts[productIndex].productCode === 'GFRS_A0004') return
let showHint = this.chooseProducts[productIndex].hint
if (this.mainRiskCode === 'GFRS_M0016') return
if (this.chooseProducts[productIndex].productCode === 'GFRS_A0003') {
this.getTrial()
@@ -522,16 +489,16 @@ export default {
}
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex].rules[dutyItemIndex]
if (value < min || value > max) {
this.$toast(showHint)
this.$toast(localStorage.hint)
} else {
if ((Number(value) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
Dialog.alert({
message: showHint
message: localStorage.hint
}).then(() => {
currentEle.defaultDutyAmt = currentEle.minDutyAmt
})
// this.$toast(showHint)
// this.$toast(localStorage.hint)
} else {
// this.mainRiskInfluenceAddRisk()
// currentEle['amt'] = Number(defalutValue) * Number(currentEle.moneyUnit)
@@ -626,24 +593,15 @@ export default {
].rules[dutyItemIndex]['necess']
return false
}
this.valiAndSend(dutyItem, productIndex, calFactorIndex, dutyItemIndex)
this.valiAndSend(dutyItem)
},
valiAndSend(dutyItem, productIndex, calFactorIndex, dutyItemIndex) {
let showHint = this.chooseProducts[productIndex].hint
let currentEle = this.chooseProducts[productIndex].calFactorLst[calFactorIndex].rules[dutyItemIndex]
valiAndSend(dutyItem) {
//验证责任
let inputValue = dutyItem.defaultDutyAmt,
duty = dutyItem.duty
if (this.chooseProducts[productIndex].productCode === 'GFRS_M0016' && !this.valiDuty(inputValue, duty)) {
if (this.mainRiskCode === 'GFRS_M0016' && !this.valiDuty(inputValue, duty)) {
//验证不通过
return
} else if (
this.chooseProducts[productIndex].productCode === 'GFRS_A0004' &&
currentEle.duty == '320205' &&
!this.valiA0004Duty(inputValue, showHint, currentEle)
) {
//验证不通过 险种为GFRS_A0004 责任编码为320205
return
} else {
this.mainRiskInfluenceAddRisk()
this.getTrial()
@@ -653,13 +611,13 @@ export default {
focusStep() {
this.nextStepFlag = true
},
blurStep(dutyItem, productIndex, calFactorIndex, dutyItemIndex) {
blurStep(dutyItem) {
this.nextStepFlag = false
//失去焦点时做验证
if (dutyItem.necess) {
//勾选时才做验证
this.valiAndSend(dutyItem, productIndex, calFactorIndex, dutyItemIndex)
this.valiAndSend(dutyItem)
}
},
//险种GFRS_M0016的责任的验证规则
@@ -679,27 +637,6 @@ export default {
}
}
},
//险种 GFRS_A0004 险种验证规则
valiA0004Duty(value, showHint, currentEle) {
// 保额只能为5000 10000 15000 200000
if (currentEle.duty == '320205') {
if (!(value == '0.5' || value == '1' || value == '1.5' || value == '2')) {
this.$toast(showHint)
this.nextStepFlag = true
return false
}
if (this.mainRiskCode === 'GFRS_M0005') {
if (!(value == '0.5' || value == '1')) {
this.$toast(showHint)
this.nextStepFlag = true
return false
}
}
this.nextStepFlag = false
return true
}
return true
},
/********start 通用规则、特殊规则处理 start******/
//通用规则1交费方式为一次交情无交费期限
hiddenPayEndYear(currentEle) {
@@ -739,7 +676,7 @@ export default {
let age = Number(this.saleInsuredPersonInfo.age)
for (let i = 0; i < currentEle.rules.length; i++) {
if (currentEle.rules[i].payEndYear == value && age > currentEle.rules[i].maxAge) {
this.$toast('被保人年龄不适合该交费期间!')
this.$toast('被保人年龄不适合该交费期间!')
return true
}
}
@@ -750,7 +687,7 @@ export default {
let age = Number(this.saleInsuredPersonInfo.age)
for (let i = 0; i < currentEle.rules.length; i++) {
if (currentEle.rules[i].insuYear == value && age > currentEle.rules[i].maxAge) {
this.$toast('被保人年龄不适合该保险期间!')
this.$toast('被保人年龄不适合该保险期间!')
return true
}
}
@@ -1128,7 +1065,6 @@ export default {
console.log(defalutValue, productIndex, calFactorIndex, min, max)
console.log(this.saleInsuredPersonInfo.age)
console.log(riskFactor)
let showHint = this.chooseProducts[productIndex].hint
let currentEle =
localStorage.isTrial !== '1' && this.chooseProducts[productIndex].isMainRisk == '0'
? this.chooseProducts[productIndex].productTrialYearDTOS[calFactorIndex]
@@ -1141,12 +1077,12 @@ export default {
if (this.saleInsuredPersonInfo.age >= 50 && this.saleInsuredPersonInfo.age <= 65) {
//使用rules规则里的第二条控制保额份数
if (Number(defalutValue) < Number(riskFactor.rules[1].minPrem) || Number(defalutValue) > Number(riskFactor.rules[1].maxPrem)) {
this.$toast(showHint)
this.$toast(localStorage.hint)
this.nextStepFlag = true
} else {
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
this.$toast(showHint)
this.$toast(localStorage.hint)
this.nextStepFlag = true
} else {
this.mainRiskInfluenceAddRisk()
@@ -1158,12 +1094,12 @@ export default {
} else if (this.saleInsuredPersonInfo.age >= 66 && this.saleInsuredPersonInfo.age <= 75) {
//使用rules规则里的第一条控制保额份数
if (Number(defalutValue) < Number(riskFactor.rules[0].minPrem) || Number(defalutValue) > Number(riskFactor.rules[0].maxPrem)) {
this.$toast(showHint)
this.$toast(localStorage.hint)
this.nextStepFlag = true
} else {
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
this.$toast(showHint)
this.$toast(localStorage.hint)
this.nextStepFlag = true
} else {
this.mainRiskInfluenceAddRisk()
@@ -1208,12 +1144,12 @@ export default {
}
} else {
if (Number(defalutValue) < Number(min) || Number(defalutValue) > Number(max)) {
this.$toast(showHint)
this.$toast(localStorage.hint)
this.nextStepFlag = true
} else {
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
// defalutValue = currentEle.rules[productIndex].displayAmount
this.$toast(showHint)
this.$toast(localStorage.hint)
this.nextStepFlag = true
} else {
this.mainRiskInfluenceAddRisk()
@@ -1244,24 +1180,6 @@ export default {
}
}
}
//GFRS_A0004需要验证责任
for (let m = 0; m < this.chooseProducts.length; m++) {
if (this.chooseProducts[m].productCode == 'GFRS_A0004') {
let showHint = this.chooseProducts[m].hint
let calFactorLst = this.chooseProducts[m].calFactorLst
for (let i = 0; i < calFactorLst.length; i++) {
if (calFactorLst[i].code === 'dutyGroup') {
let duties = calFactorLst[i].rules
for (let j = 0; j < duties.length; j++) {
let item = duties[j]
if (!this.valiA0004Duty(item.defaultDutyAmt, showHint, item)) {
return
}
}
}
}
}
}
//组装险种提交数据
let [mainRiskCode, riskDTOLst] = ['', []]

View File

@@ -157,7 +157,6 @@ export default {
calFactorLst,
hasAddtionRisk,
isMainRisk: 0,
hint: resultData.hint,
riskType: resultData.riskType,
riskName: this.result.riskName,
productCode: this.result.riskProductCode,
@@ -173,7 +172,6 @@ export default {
calFactorLst,
hasAddtionRisk,
isMainRisk: 0,
hint: resultData.hint,
riskType: resultData.riskType,
riskName: this.result.riskName,
productCode: this.result.riskProductCode,

View File

@@ -7,7 +7,7 @@ export default {
tips = '投保人年龄不适合此款险种,请选择其他险种!'
} else {
age = this.getSaleInsuredPersonInfo().age
tips = '被保人年龄不适合此款险种,请选择其他险种!'
tips = '被保人年龄不适合此款险种,请选择其他险种!'
}
let minAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.minAge
let maxAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.maxAge;
@@ -24,7 +24,7 @@ export default {
let socialInsurance = resultData.productInsuredDTO.socialInsurance
if (socialInsurance == 0) return false
if (currentMedical != socialInsurance) {
vm.$toast('被保人社保情况不适合此款险种,请选择其他险种!')
vm.$toast('被保人社保情况不适合此款险种,请选择其他险种!')
return true
}
return false

View File

@@ -107,7 +107,7 @@ let relationItem = {
lifeRiskGrade: '',
medicalRiskGrade: '',
isDelete: '0',
familyId: '',
//下面的属性 保存时不需要传
isOccupationPickerPopupShow: false
}

View File

@@ -183,7 +183,7 @@ export default {
}
})
if (result) {
return Toast.fail('请填写被保人信息')
return Toast.fail('请填写被保人信息')
}
if (!hasRisk) {
return Toast.fail('请选择保险产品信息')
@@ -229,7 +229,7 @@ export default {
Dialog.confirm({
className: 'dialog-delete',
title: '提示',
message: '确认删除该被保人?',
message: '确认删除该被保人?',
cancelButtonColor: '#E9332E',
confirmButtonColor: '#FFFFFF'
})
@@ -276,7 +276,7 @@ export default {
Dialog.confirm({
className: 'dialog-delete',
title: '提示',
message: '确认删除该被保人?',
message: '确认删除该被保人?',
cancelButtonColor: '#E9332E',
confirmButtonColor: '#FFFFFF'
})

View File

@@ -9,7 +9,7 @@
@nameChange="nameChange"
@on-choose="chooseCustomer"
v-validate="'required'"
name="被保人"
name="被保人"
required
:readonly="disabled"
label="姓名"
@@ -48,15 +48,15 @@
label="职业"
name="职业"
v-validate="'required'"
placeholder="被保人职业"
placeholder="被保人职业"
/>
<select-radio class="border-bottom" :radios="medicalRadio" label="有无社保" :value.sync="insured.medical"></select-radio>
<div class="border-bottom">
<van-field :readonly="disabled" :value="ageShow" @input="changeAgeInput($event)" clearable label="年龄" placeholder="被保人年龄" />
<van-field :readonly="disabled" :value="ageShow" @input="changeAgeInput($event)" clearable label="年龄" placeholder="被保人年龄" />
</div>
<!-- <div class="border-bottom"><van-field :readonly="disabled" v-model="insured.age" clearable label="年龄" placeholder="被保人年龄" /></div> -->
<van-field v-model="insured.mobile" :readonly="disabled" clearable label="手机号码" name="手机号码" placeholder="被保人手机号码" v-validate="'mobile'" />
<van-field v-model="insured.mobile" :readonly="disabled" clearable label="手机号码" name="手机号码" placeholder="被保人手机号码" v-validate="'mobile'" />
<van-button type="danger" @click="nextStep" class="bottom-btn fs16">下一步</van-button>
</van-cell-group>
</div>
@@ -195,7 +195,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '被保人信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -209,7 +209,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '被保人信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -234,7 +234,7 @@ export default {
let resultSex = checkSex(cacheSex, localSex, relation)
let resultRelation = checkRelation(relation, this.insured.age)
if (!resultSex) {
return Toast.fail('被保人性别有误')
return Toast.fail('被保人性别有误')
}
if (!resultRelation) {
return Toast.fail('0-7岁未成年人须由其父母投保')
@@ -323,7 +323,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '被保人信息',
title: '被保人信息',
hiddenRight: '1'
}
})

View File

@@ -6,8 +6,8 @@
v-model="relationToAppnt"
required
readonly
label="是被保人的"
name="是被保人的"
label="是被保人的"
name="是被保人的"
right-icon="arrow"
placeholder="请选择"
v-validate="'required'"
@@ -683,7 +683,7 @@ export default {
let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果投保人不是已婚
if (insuredInfo.marriage != '1') {
return this.$toast('与被保人关系有误')
return this.$toast('与被保人关系有误')
}
//如果被保人与投保人性别相同
if (insuredInfo.sex == this.userInfo.sex) {

View File

@@ -158,7 +158,7 @@
</div>
<div v-if="relationToAppnt != '1'">
<div class="flex bg-white p10 align-items-c">
<span>被保人附件</span>
<span>被保人附件</span>
</div>
<div class=" m20 bg-white">
<div>

View File

@@ -33,7 +33,7 @@
<van-icon name="delete" size="20" @click="deleteBeneficiary(index)" />
</div>
<p class="mt20">
<span class="c-gray-dark">是被保人的</span>
<span class="c-gray-dark">是被保人的</span>
<span class="ml20">{{ item.relationToInsured | idToText('relationToAppnt') }}</span>
</p>
<p class="mt10">

View File

@@ -22,7 +22,7 @@
<!-- 多被保人信息 -->
<div v-for="(item, index) in insuredDTOs" :key="index" class="pb10">
<van-collapse-item title="被保人信息" :name="index + 40" class="pb10">
<van-collapse-item title="被保人信息" :name="index + 40" class="pb10">
<van-cell-group>
<van-cell title="是投保人的" :value="item.relationToAppnt" />
<van-cell title="姓名" :value="item.name" />
@@ -45,7 +45,7 @@
<div v-if="OrderInfoDTO.bnfFlag == '指定受益人'">
<van-cell title="姓名" :value="itm.name" />
<van-cell title="性别" :value="itm.sex" />
<van-cell title="是被保人的" :value="itm.relationToInsured" />
<van-cell title="是被保人的" :value="itm.relationToInsured" />
<van-cell title="受益比例" :value="`${itm.bnfLot}%`" v-if="itm.bnfLot != null" />
<van-cell title="证件类型" :value="itm.idType" />
<van-cell title="证件号码" :value="itm.idNo" />

View File

@@ -714,7 +714,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '被保人信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -1002,7 +1002,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '被保人信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -1022,7 +1022,7 @@ export default {
this.$jump({
flag: 'navigation',
extra: {
title: '被保人信息',
title: '被保人信息',
hiddenRight: '1'
}
})
@@ -1106,13 +1106,13 @@ export default {
if (this.userInfo.relationToAppnt == '2') {
//投保人或者被保人不是已婚
if (this.appntMarriage != '1' || this.userInfo.marriage != '1') {
return this.$toast('投被保人婚姻状况有误')
return this.$toast('投被保人婚姻状况有误')
}
let insuredSex = this.userInfo.sex
let appntSex = JSON.parse(localStorage.saleInsuredInfo).sex
//投被保人性别相同
if (insuredSex == appntSex) {
return this.$toast('被保人性别有误')
return this.$toast('被保人性别有误')
}
}
@@ -1243,7 +1243,7 @@ export default {
//如果是已婚
if ((this.userInfo.sex == '0' && age < 22) || (this.userInfo.sex == '1' && age < 20)) {
if (this.userInfo.marriage != '2') {
return this.$toast('被保人不符合国家婚姻法定年龄')
return this.$toast('被保人不符合国家婚姻法定年龄')
}
}
// this.save()

View File

@@ -13,25 +13,14 @@
<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-->
{{
relationToAppnt == '1'
? '投保人/被保险人' +
impartTypeNumber[im.impartType]
.replace('投保人', '')
.replace('被保人', '')
.replace('被保险人', '')
: impartTypeNumber[im.impartType]
}}
<!--{{ impartTypeNumber[im.impartType] }}-->
<div class="flex align-items-c justify-content-s">
<span>{{
im.impartType == 0 || im.impartType == 2 || im.impartType == 4 || im.impartType == 6 || im.impartType == 8 || im.impartType == 10
? saleInsuredInfo.name
: saleInsuredPersonInfo.name
}}</span>
{{ impartTypeNumber[im.impartType] }}
<span class="ml145">{{
im.impartType == 0 || im.impartType == 2 || im.impartType == 4 || im.impartType == 6 || im.impartType == 8 || im.impartType == 10
? saleInsuredInfo.name
: saleInsuredPersonInfo.name
}}</span>
<img :src="$assetsUrl + 'images/avatar.png'" class="w20 ml15" />
</div>
<img :src="$assetsUrl + 'images/avatar.png'" class="w20 ml15" />
</div>
<!-- <div class="h50">
<img />
@@ -152,16 +141,16 @@ export default {
impartTypeNumber: {
'0': '投保人健康告知',
'2': '投保人财务告知',
'1': '被保人健康告知',
'3': '被保人财务告知',
'1': '被保人健康告知',
'3': '被保人财务告知',
'4': '投保人健康告知',
'5': '被保人健康告知',
'5': '被保人健康告知',
'6': '投保人财务告知',
'7': '被保人财务告知',
'7': '被保人财务告知',
'8': '投保人健康告知',
'10': '投保人财务告知',
'9': '被保人健康告知',
'11': '被保人财务告知'
'9': '被保人健康告知',
'11': '被保人财务告知'
}
}
},
@@ -171,7 +160,7 @@ export default {
if (res.result == 0) {
//投被保人关系
this.isExistAdditionalRisk = res.orderDTO.insuredDTOs[0].riskDTOLst.length > 1 ? true : false
console.log('this.is ====', this.isExistAdditionalRisk)
console.log('this.is ====',this.isExistAdditionalRisk)
this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt
this.$utils.intLocalStorage(res)
this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo'))

View File

@@ -503,7 +503,7 @@ export default {
share(code) {
let shareName = ''
if (code == '1') {
shareName = '被保人'
shareName = '被保人'
} else {
shareName = '投保人'
}
@@ -729,17 +729,6 @@ export default {
: '您以无社保身份投保理赔时若未通过社会基本医疗保险或者公费医疗就诊并结算的意外伤害医疗保险金的赔付比例和免赔额分别70%100元理赔时若通过社会基本医疗保险或者公费医疗就诊并结算的意外伤害医疗保险金的赔付比例为90%免赔额为0元。'
Dialog({ message })
}
} else {
// 附加住院医疗险 GFRS_A0004
if (
!!res.orderDTO.productDTO &&
!!res.orderDTO.productDTO.special &&
!!res.orderDTO.productDTO.special.content &&
res.orderDTO.productDTO.special.content !== ''
) {
const message = res.orderDTO.productDTO.special.content
Dialog({ message })
}
}
localStorage.setItem('lastOrderNo', data.orderNo)

View File

@@ -588,7 +588,7 @@ export default {
share(code) {
let shareName = ''
if (code == '1') {
shareName = '被保人'
shareName = '被保人'
} else {
shareName = '投保人'
}

View File

@@ -65,7 +65,7 @@
</div>
</div>
<div class="pt25 pl30 flex align-items-c" v-if="relationToAppnt != '1'">
<span class="mr10">被保/监护人签名</span>
<span class="mr10">被保人/监护人签名</span>
<div v-if="signVal == '0' || signVal == '2'">
<van-button type="danger" size="small" :disabled="signVal == '1' ? isDisableInsured : true" @click="sign('1')" v-no-more-click="1000">{{
insuredSign.documentStatus == '2' ? '未签名' : '已签名'
@@ -570,7 +570,7 @@ export default {
this.toAirSign('1', '法定监护人', '10', '4')
} else {
// 不在微信被保人
console.log('被保人签名')
console.log('被保人签名')
EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码
number: that.saleInsuredPersonInfo.idNo,

View File

@@ -84,7 +84,7 @@ export function getIdentityInfo(that, data, type) {
}
}
that.isScan = false
let title = type == '1' ? '投保人信息' : '被保人信息'
let title = type == '1' ? '投保人信息' : '被保人信息'
that.$jump({
flag: 'navigation',
extra: {

View File

@@ -2,7 +2,7 @@
<div class="list-container">
<div class="list-content" v-if="!isShow">
<div class="list-header">
<van-search placeholder="请输入保单号/投保人姓名/被保人姓名" v-model="search" />
<van-search placeholder="请输入保单号/投保人姓名/被保人姓名" v-model="search" />
</div>
<div class="fs12" v-for="(item, index) in NewItems" :key="index">
<div class="flex align-items-c justify-content-c h40">