GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版)_1 被保人修改为被保险人 --提交人:阳华祥

This commit is contained in:
阳华祥
2020-03-13 10:09:48 +08:00
parent bfebbfb1fa
commit d8b24dffb8
42 changed files with 236 additions and 236 deletions

View File

@@ -253,7 +253,7 @@ export default {
text: '其他' text: '其他'
} }
], ],
//投保人/被保人关系 //投保人/被保人关系
relationToAppnt: [ relationToAppnt: [
{ {
id: 1, id: 1,
@@ -276,7 +276,7 @@ export default {
text: '其他' text: '其他'
} }
], ],
//理赔报案投保人/被保人关系 //理赔报案投保人/被保人关系
relationToAppnts: [ relationToAppnts: [
{ {
id: '00', id: '00',
@@ -751,7 +751,7 @@ export default {
}, },
{ {
id: '36', id: '36',
text: '被保人保存成功' text: '被保人保存成功'
}, },
{ {
id: '37', id: '37',

View File

@@ -60,7 +60,7 @@ Validator.extend('age', {
return value > 17 && /^\d{1,3}$/.test(value) return value > 17 && /^\d{1,3}$/.test(value)
} }
}) })
//被保人年龄不得小于18周岁 //被保人年龄不得小于18周岁
Validator.extend('appntAge', { Validator.extend('appntAge', {
getMessage: () => '年龄不得小于18周岁', getMessage: () => '年龄不得小于18周岁',
validate: value => { validate: value => {

View File

@@ -46,7 +46,7 @@ export default {
// imgfront: this.$assetsUrl + 'images/u6071.png', // imgfront: this.$assetsUrl + 'images/u6071.png',
// 是否可以点击完成 // 是否可以点击完成
isDisabled: true, isDisabled: true,
// 是投保人还是被保人扫描 0是投保人 1是被保人 // 是投保人还是被保人扫描 0是投保人 1是被保
// cardScanningType: '', // cardScanningType: '',
// 是否成功扫描 // 是否成功扫描
state: '' state: ''

View File

@@ -74,7 +74,7 @@ export default {
imgBack: this.$assetsUrl + 'images/idCardBack.png', imgBack: this.$assetsUrl + 'images/idCardBack.png',
// 相机图片 // 相机图片
srcCamera: this.$assetsUrl + 'images/camera_copy.png', srcCamera: this.$assetsUrl + 'images/camera_copy.png',
// 是否是投保人还是被保人扫描 // 是否是投保人还是被保人扫描
scanFromInsured: '', scanFromInsured: '',
state: '', state: '',
stateBack: '', stateBack: '',

View File

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

View File

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

View File

@@ -10,13 +10,13 @@ export default new Vuex.Store({
app app
}, },
state: { state: {
pageFlag: '', //理赔申请-区分被保人/申请人页面flag pageFlag: '', //理赔申请-区分被保人/申请人页面flag
agentEnterApplyMobil: '', //自助入司-新的被增员人填好的基础信息里的电话号码 agentEnterApplyMobil: '', //自助入司-新的被增员人填好的基础信息里的电话号码
agentEnterApplyIdNo: '', //自助入司-新的被增员人填好的基础信息里的证件号码 agentEnterApplyIdNo: '', //自助入司-新的被增员人填好的基础信息里的证件号码
refusalCause: '' //自助入司-查看审批流程-审批拒绝的原因 refusalCause: '' //自助入司-查看审批流程-审批拒绝的原因
}, },
mutations: { mutations: {
//更新 理赔申请-区分被保人/申请人页面flag //更新 理赔申请-区分被保人/申请人页面flag
updatePageFlag(state, val) { updatePageFlag(state, val) {
state.pageFlag = val state.pageFlag = val
}, },

View File

@@ -42,7 +42,7 @@ export function selectComp(that, index, type = '') {
//投保人 //投保人
localStorage.scanFromInsured = 'true' localStorage.scanFromInsured = 'true'
} else if (type == '2') { } else if (type == '2') {
//被保人 //被保
localStorage.scanFromInsured = 'false' localStorage.scanFromInsured = 'false'
}; };
[that.isScan, title] = [true, '身份证扫描'] [that.isScan, title] = [true, '身份证扫描']
@@ -83,7 +83,7 @@ function closeBtn(that) {
/** /**
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {String} type 1 投保人; 2 被保人; 3 受益人 * @param {String} type 1 投保人; 2 被保人; 3 受益人
*/ */
export function appCallBack(that, type) { export function appCallBack(that, type) {
return function () { return function () {
@@ -93,7 +93,7 @@ export function appCallBack(that, type) {
title = '投保人信息' title = '投保人信息'
break break
case '2': case '2':
title = '被保人信息' title = '被保人信息'
break break
case '3': case '3':
title = '指定受益人信息' title = '指定受益人信息'
@@ -129,7 +129,7 @@ export function chooseOccupation(that, type) {
title = '投保人信息' title = '投保人信息'
break break
case '2': case '2':
title = '被保人信息' title = '被保人信息'
break break
case '3': case '3':
title = '指定受益人信息' title = '指定受益人信息'
@@ -151,7 +151,7 @@ export function chooseOccupation(that, type) {
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} pickerType 弹框类型 * @param {*} pickerType 弹框类型
* @param {*} valueKey 弹框编号 * @param {*} valueKey 弹框编号
* @param {*} type 1 投保人; 2 被保人; 3 受益人 * @param {*} type 1 投保人; 2 被保人; 3 受益人
*/ */
export function toSelect(that, pickerType, valueKey, type) { export function toSelect(that, pickerType, valueKey, type) {
//pickerType 1、民族 2、证件类型 3、文化程度 4、有无社保(弃用) 5、税收居民身份 6、婚姻状况 7、在职情况 //pickerType 1、民族 2、证件类型 3、文化程度 4、有无社保(弃用) 5、税收居民身份 6、婚姻状况 7、在职情况
@@ -204,7 +204,7 @@ export function toSelect(that, pickerType, valueKey, type) {
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} value 值 * @param {*} value 值
* @param {*} type 1 投保人 2 被保人 3 受益人 * @param {*} type 1 投保人 2 被保人 3 受益人
*/ */
export function onConfirm(that, value, type) { export function onConfirm(that, value, type) {
that.popupShow = false that.popupShow = false
@@ -324,7 +324,7 @@ export function onConfirm(that, value, type) {
} }
break break
case '3': { case '3': {
//如果受益人是被保人本人 //如果受益人是被保人本人
if (value.id == 1) { if (value.id == 1) {
//获取投保人数据 //获取投保人数据
getOrderDetail({ getOrderDetail({
@@ -332,7 +332,7 @@ export function onConfirm(that, value, type) {
}).then(res => { }).then(res => {
if (res.result == 0) { if (res.result == 0) {
that.isInsured = true that.isInsured = true
//获取被保人信息 //获取被保人信息
let insuredInfo = res.orderDTO.insuredDTOs[0] let insuredInfo = res.orderDTO.insuredDTOs[0]
for (let key in that.userInfo) { for (let key in that.userInfo) {
that.userInfo[key] = insuredInfo[key] that.userInfo[key] = insuredInfo[key]
@@ -505,7 +505,7 @@ export function onDateConfirm(that, val, type) {
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} data 客户列表数据 * @param {*} data 客户列表数据
* @param {*} type 1 投保人; 2 被保人; 3 受益人 * @param {*} type 1 投保人; 2 被保人; 3 受益人
*/ */
export function chooseCustomer(that, data, type) { export function chooseCustomer(that, data, type) {
let title let title
@@ -514,7 +514,7 @@ export function chooseCustomer(that, data, type) {
title = '投保人信息' title = '投保人信息'
break break
case '2': case '2':
title = '被保人信息' title = '被保人信息'
break break
case '3': case '3':
title = '指定受益人信息' title = '指定受益人信息'
@@ -615,7 +615,7 @@ export function chooseCustomer(that, data, type) {
/** /**
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} type 1 投保人; 2 被保人; 3 受益人 * @param {*} type 1 投保人; 2 被保人; 3 受益人
*/ */
export function nextStep(that, type) { export function nextStep(that, type) {
//表单校验, 成功跳转 //表单校验, 成功跳转
@@ -657,7 +657,7 @@ export function infoUpdate(that, type) {
let flag let flag
switch (type) { switch (type) {
case '1': { case '1': {
//取出local中的投被保人信息 //取出local中的投被保人信息
let saleInsuredInfo = JSON.parse(localStorage.saleInsuredInfo) let saleInsuredInfo = JSON.parse(localStorage.saleInsuredInfo)
//如果 性别, 出生日期, 有无社保, 职业 发生变化 //如果 性别, 出生日期, 有无社保, 职业 发生变化
if (that.userInfo.sex != saleInsuredInfo.sex || that.userInfo.birthday != saleInsuredInfo.birthday) { if (that.userInfo.sex != saleInsuredInfo.sex || that.userInfo.birthday != saleInsuredInfo.birthday) {
@@ -666,7 +666,7 @@ export function infoUpdate(that, type) {
} }
break break
case '2': { case '2': {
//取出local中的被保人信息 //取出local中的被保人信息
let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo) let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果 性别, 出生日期, 有无社保, 职业 发生变化 //如果 性别, 出生日期, 有无社保, 职业 发生变化
if ( if (
@@ -707,11 +707,11 @@ export function infoUpdate(that, type) {
/** /**
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} type 1 投保人 2 被保人 * @param {*} type 1 投保人 2 被保
*/ */
export function save(that, type, str) { export function save(that, type, str) {
let params = { let params = {
// 投被保人入参不同 // 投被保人入参不同
orderType: type == '1' ? 'APPNT_ORDER' : 'INSURED_ORDER', orderType: type == '1' ? 'APPNT_ORDER' : 'INSURED_ORDER',
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
@@ -727,7 +727,7 @@ export function save(that, type, str) {
if (type == '2' && that.userInfo.mediaDTOS == '') { if (type == '2' && that.userInfo.mediaDTOS == '') {
delete that.userInfo.mediaDTOS delete that.userInfo.mediaDTOS
} }
// 投被保人入参不同 // 投被保人入参不同
type == '1' ? (params.orderDTO.appntDTO = that.userInfo) : (params.orderDTO.insuredDTOs = [that.userInfo]) type == '1' ? (params.orderDTO.appntDTO = that.userInfo) : (params.orderDTO.insuredDTOs = [that.userInfo])
saveOrUpdateOrderInfo(params).then(res => { saveOrUpdateOrderInfo(params).then(res => {
if (res.result == 0) { if (res.result == 0) {
@@ -738,7 +738,7 @@ export function save(that, type, str) {
that.countDown = 60 that.countDown = 60
that.codeDisabled = false that.codeDisabled = false
// let url // let url
// 投被保人跳转路径不同 // 投被保人跳转路径不同
if (type == '1') { if (type == '1') {
that.$jump({ that.$jump({
flag: 'h5', flag: 'h5',
@@ -815,7 +815,7 @@ export function sureArea(that, area, type, flag = false) {
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} data 扫描数据 * @param {*} data 扫描数据
* @param {*} type 1 投保人 2 被保人 * @param {*} type 1 投保人 2 被保
*/ */
export function getIdentityInfo(that, data, type) { export function getIdentityInfo(that, data, type) {
if (data.name && data.name != '待识别') { if (data.name && data.name != '待识别') {
@@ -829,7 +829,7 @@ export function getIdentityInfo(that, data, type) {
} }
that.isScan = false that.isScan = false
that.bankisScan = false that.bankisScan = false
let title = type == '1' ? '投保人信息' : '被保人信息' let title = type == '1' ? '投保人信息' : '被保人信息'
that.$jump({ that.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
@@ -882,7 +882,7 @@ export function getRelatedData(that, val) {
/** /**
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} type 1 投保人 2 被保人 * @param {*} type 1 投保人 2 被保
*/ */
export function getCode(that, type) { export function getCode(that, type) {
if (that.userInfo.mobile == '') { if (that.userInfo.mobile == '') {

View File

@@ -110,7 +110,7 @@ export default {
return return
} }
} else { } else {
//校验主合同的被保人寿险职业等级 //校验主合同的被保人寿险职业等级
if (riskRules.lifeGradeLimit(resultData, this)) { if (riskRules.lifeGradeLimit(resultData, this)) {
return return
} }
@@ -187,7 +187,7 @@ export default {
}, },
//豁免险影响 //豁免险影响
remitLimit(resultData) { remitLimit(resultData) {
//isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人 relationToAppnt 投被关系 //isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人 relationToAppnt 投被关系
let isRemit = resultData.productTrialInfoDTO.isRemit let isRemit = resultData.productTrialInfoDTO.isRemit
if (isRemit == 1) return false if (isRemit == 1) return false
let remitType = resultData.productTrialInfoDTO.remitType let remitType = resultData.productTrialInfoDTO.remitType

View File

@@ -377,7 +377,7 @@ export default {
if (localStorage.saleInsuredInfo) { if (localStorage.saleInsuredInfo) {
this.saleInsuredInfo = JSON.parse(localStorage.saleInsuredInfo) this.saleInsuredInfo = JSON.parse(localStorage.saleInsuredInfo)
} }
//获取被保人信息 //获取被保人信息
if (localStorage.saleInsuredPersonInfo) { if (localStorage.saleInsuredPersonInfo) {
this.saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo) this.saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
} }
@@ -676,7 +676,7 @@ export default {
let age = Number(this.saleInsuredPersonInfo.age) let age = Number(this.saleInsuredPersonInfo.age)
for (let i = 0; i < currentEle.rules.length; i++) { for (let i = 0; i < currentEle.rules.length; i++) {
if (currentEle.rules[i].payEndYear == value && age > currentEle.rules[i].maxAge) { if (currentEle.rules[i].payEndYear == value && age > currentEle.rules[i].maxAge) {
this.$toast('被保人年龄不适合该交费期间!') this.$toast('被保人年龄不适合该交费期间!')
return true return true
} }
} }
@@ -687,7 +687,7 @@ export default {
let age = Number(this.saleInsuredPersonInfo.age) let age = Number(this.saleInsuredPersonInfo.age)
for (let i = 0; i < currentEle.rules.length; i++) { for (let i = 0; i < currentEle.rules.length; i++) {
if (currentEle.rules[i].insuYear == value && age > currentEle.rules[i].maxAge) { if (currentEle.rules[i].insuYear == value && age > currentEle.rules[i].maxAge) {
this.$toast('被保人年龄不适合该保险期间!') this.$toast('被保人年龄不适合该保险期间!')
return true return true
} }
} }
@@ -1073,7 +1073,7 @@ export default {
//添加判断,是否是孝心保产品 //添加判断,是否是孝心保产品
let productCode = localStorage.trialList == '' ? '' : JSON.parse(localStorage.trialList)[0].productCode let productCode = localStorage.trialList == '' ? '' : JSON.parse(localStorage.trialList)[0].productCode
if (productCode == 'GFRS_M0014') { if (productCode == 'GFRS_M0014') {
//被保人年龄如果在50-65区间 //被保人年龄如果在50-65区间
if (this.saleInsuredPersonInfo.age >= 50 && this.saleInsuredPersonInfo.age <= 65) { if (this.saleInsuredPersonInfo.age >= 50 && this.saleInsuredPersonInfo.age <= 65) {
//使用rules规则里的第二条控制保额份数 //使用rules规则里的第二条控制保额份数
if (Number(defalutValue) < Number(riskFactor.rules[1].minPrem) || Number(defalutValue) > Number(riskFactor.rules[1].maxPrem)) { if (Number(defalutValue) < Number(riskFactor.rules[1].minPrem) || Number(defalutValue) > Number(riskFactor.rules[1].maxPrem)) {
@@ -1090,7 +1090,7 @@ export default {
this.getTrial() this.getTrial()
} }
} }
//被保人年龄如果在66-75之间 //被保人年龄如果在66-75之间
} else if (this.saleInsuredPersonInfo.age >= 66 && this.saleInsuredPersonInfo.age <= 75) { } else if (this.saleInsuredPersonInfo.age >= 66 && this.saleInsuredPersonInfo.age <= 75) {
//使用rules规则里的第一条控制保额份数 //使用rules规则里的第一条控制保额份数
if (Number(defalutValue) < Number(riskFactor.rules[0].minPrem) || Number(defalutValue) > Number(riskFactor.rules[0].maxPrem)) { if (Number(defalutValue) < Number(riskFactor.rules[0].minPrem) || Number(defalutValue) > Number(riskFactor.rules[0].maxPrem)) {

View File

@@ -134,7 +134,7 @@ export default {
return return
} }
} else { } else {
//校验主合同被保人寿险职业等级 //校验主合同被保人寿险职业等级
if (riskRules.lifeGradeLimit(resultData, this)) { if (riskRules.lifeGradeLimit(resultData, this)) {
return return
} }

View File

@@ -1,5 +1,5 @@
export default { export default {
//投、被保人年龄对险种的限制 //投、被保人年龄对险种的限制
ageLimit(resultData, vm, isApplicant) { ageLimit(resultData, vm, isApplicant) {
let age, tips let age, tips
if (isApplicant) { if (isApplicant) {
@@ -7,7 +7,7 @@ export default {
tips = '投保人年龄不适合此款险种,请选择其他险种!' tips = '投保人年龄不适合此款险种,请选择其他险种!'
} else { } else {
age = this.getSaleInsuredPersonInfo().age age = this.getSaleInsuredPersonInfo().age
tips = '被保人年龄不适合此款险种,请选择其他险种!' tips = '被保人年龄不适合此款险种,请选择其他险种!'
} }
let minAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.minAge let minAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.minAge
let maxAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.maxAge; let maxAge = resultData.productTrialInfoDTO.ageRange && resultData.productTrialInfoDTO.ageRange.maxAge;
@@ -24,7 +24,7 @@ export default {
let socialInsurance = resultData.productInsuredDTO.socialInsurance let socialInsurance = resultData.productInsuredDTO.socialInsurance
if (socialInsurance == 0) return false if (socialInsurance == 0) return false
if (currentMedical != socialInsurance) { if (currentMedical != socialInsurance) {
vm.$toast('被保人社保情况不适合此款险种,请选择其他险种!') vm.$toast('被保人社保情况不适合此款险种,请选择其他险种!')
return true return true
} }
return false return false
@@ -62,7 +62,7 @@ export default {
} }
return false return false
}, },
//获取被保人信息 //获取被保人信息
getSaleInsuredPersonInfo() { getSaleInsuredPersonInfo() {
return localStorage.saleInsuredPersonInfo && JSON.parse(localStorage.saleInsuredPersonInfo) return localStorage.saleInsuredPersonInfo && JSON.parse(localStorage.saleInsuredPersonInfo)
}, },

View File

@@ -133,7 +133,7 @@ export default {
} }
}) })
if (v.insuredId) { if (v.insuredId) {
//判断是否已经添加被保人及险种 //判断是否已经添加被保人及险种
v.hasRisk = true v.hasRisk = true
} }
this.persons.forEach(p => { this.persons.forEach(p => {
@@ -183,7 +183,7 @@ export default {
} }
}) })
if (result) { if (result) {
return Toast.fail('请填写被保人信息') return Toast.fail('请填写被保人信息')
} }
if (!hasRisk) { if (!hasRisk) {
return Toast.fail('请选择保险产品信息') return Toast.fail('请选择保险产品信息')
@@ -215,7 +215,7 @@ export default {
}) })
}, },
//从页头选择被保人 //从页头选择被保
handleChoose(item) { handleChoose(item) {
console.log(item) console.log(item)
if (!item.check) { if (!item.check) {
@@ -229,7 +229,7 @@ export default {
Dialog.confirm({ Dialog.confirm({
className: 'dialog-delete', className: 'dialog-delete',
title: '提示', title: '提示',
message: '确认删除该被保人?', message: '确认删除该被保人?',
cancelButtonColor: '#E9332E', cancelButtonColor: '#E9332E',
confirmButtonColor: '#FFFFFF' confirmButtonColor: '#FFFFFF'
}) })
@@ -276,7 +276,7 @@ export default {
Dialog.confirm({ Dialog.confirm({
className: 'dialog-delete', className: 'dialog-delete',
title: '提示', title: '提示',
message: '确认删除该被保人?', message: '确认删除该被保人?',
cancelButtonColor: '#E9332E', cancelButtonColor: '#E9332E',
confirmButtonColor: '#FFFFFF' confirmButtonColor: '#FFFFFF'
}) })
@@ -324,7 +324,7 @@ export default {
relationToAppnt: person.relation, relationToAppnt: person.relation,
relationName: person.relationName relationName: person.relationName
} }
localStorage.saleInsuredPersonInfo = JSON.stringify(saleInsuredPersonInfo) //存储被保人信息 localStorage.saleInsuredPersonInfo = JSON.stringify(saleInsuredPersonInfo) //存储被保人信息
localStorage.chooseProductCodes = '' //置空所选险种 localStorage.chooseProductCodes = '' //置空所选险种
this.$jump({ this.$jump({
@@ -341,7 +341,7 @@ export default {
edit(item) { edit(item) {
item.birthday = item.birthdayLabel item.birthday = item.birthdayLabel
item.age = item.insuredAge item.age = item.insuredAge
localStorage.saleInsuredPersonInfo = JSON.stringify(item) //存储被保人信息 localStorage.saleInsuredPersonInfo = JSON.stringify(item) //存储被保人信息
localStorage.isFrom = 'proposal' localStorage.isFrom = 'proposal'
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
@@ -353,7 +353,7 @@ export default {
} }
}) })
}, },
//添加被保险人 添加一个没有险种的被保人 //添加被保险人 添加一个没有险种的被保
addPerson(item) { addPerson(item) {
let code = item.code let code = item.code
let persons = this.persons let persons = this.persons

View File

@@ -204,7 +204,7 @@ export default {
// 折叠面板 // 折叠面板
activeNames: [], activeNames: [],
appntDTO: {}, //投保人信息 appntDTO: {}, //投保人信息
insuredDTOs: [{}], //被保人信息 insuredDTOs: [{}], //被保人信息
isWeixin, isWeixin,
agent: { agent: {
//代理人信息 //代理人信息

View File

@@ -9,7 +9,7 @@
@nameChange="nameChange" @nameChange="nameChange"
@on-choose="chooseCustomer" @on-choose="chooseCustomer"
v-validate="'required'" v-validate="'required'"
name="被保人" name="被保人"
required required
:readonly="disabled" :readonly="disabled"
label="姓名" label="姓名"
@@ -48,15 +48,15 @@
label="职业" label="职业"
name="职业" name="职业"
v-validate="'required'" v-validate="'required'"
placeholder="被保人职业" placeholder="被保人职业"
/> />
<select-radio class="border-bottom" :radios="medicalRadio" label="有无社保" :value.sync="insured.medical"></select-radio> <select-radio class="border-bottom" :radios="medicalRadio" label="有无社保" :value.sync="insured.medical"></select-radio>
<div class="border-bottom"> <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>
<!-- <div class="border-bottom"><van-field :readonly="disabled" v-model="insured.age" 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-button type="danger" @click="nextStep" class="bottom-btn fs16">下一步</van-button>
</van-cell-group> </van-cell-group>
</div> </div>
@@ -116,7 +116,7 @@ export default {
occupationShowPicker: false, occupationShowPicker: false,
currentPopupIndex: '', currentPopupIndex: '',
disabled: false, disabled: false,
ageShow: '' //被保人显示年龄 ageShow: '' //被保人显示年龄
} }
}, },
@@ -143,7 +143,7 @@ export default {
this.insured.relationToAppnt = relationToAppnt this.insured.relationToAppnt = relationToAppnt
this.insured.relationLabel = relationName this.insured.relationLabel = relationName
if (this.insured.relationToAppnt == '1') { if (this.insured.relationToAppnt == '1') {
//如果是投被同人 就将投保人信息存入被保人信息 //如果是投被同人 就将投保人信息存入被保人信息
this.disabled = true this.disabled = true
this.insured = Object.assign(this.insured, JSON.parse(localStorage.proposalAppnt)) this.insured = Object.assign(this.insured, JSON.parse(localStorage.proposalAppnt))
this.insured.age = getAge.getAge(this.insured.birthday, new Date()) this.insured.age = getAge.getAge(this.insured.birthday, new Date())
@@ -151,7 +151,7 @@ export default {
} }
this.ageShow = this.insured.age == '-1' ? '0' : this.insured.age this.ageShow = this.insured.age == '-1' ? '0' : this.insured.age
}, },
//设置被保人年龄显示 如果this.insured.age为 -1时显示为空不为1时显示为正常输入值 //设置被保人年龄显示 如果this.insured.age为 -1时显示为空不为1时显示为正常输入值
changeAgeInput(val) { changeAgeInput(val) {
// this.ageShow = val == '-1' ? '0' : val // this.ageShow = val == '-1' ? '0' : val
this.insured.age = val this.insured.age = val
@@ -195,7 +195,7 @@ export default {
this.$jump({ this.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
title: '被保人信息', title: '被保人信息',
hiddenRight: '1' hiddenRight: '1'
} }
}) })
@@ -209,7 +209,7 @@ export default {
this.$jump({ this.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
title: '被保人信息', title: '被保人信息',
hiddenRight: '1' hiddenRight: '1'
} }
}) })
@@ -234,7 +234,7 @@ export default {
let resultSex = checkSex(cacheSex, localSex, relation) let resultSex = checkSex(cacheSex, localSex, relation)
let resultRelation = checkRelation(relation, this.insured.age) let resultRelation = checkRelation(relation, this.insured.age)
if (!resultSex) { if (!resultSex) {
return Toast.fail('被保人性别有误') return Toast.fail('被保人性别有误')
} }
if (!resultRelation) { if (!resultRelation) {
return Toast.fail('0-7岁未成年人须由其父母投保') return Toast.fail('0-7岁未成年人须由其父母投保')
@@ -323,7 +323,7 @@ export default {
this.$jump({ this.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
title: '被保人信息', title: '被保人信息',
hiddenRight: '1' hiddenRight: '1'
} }
}) })

View File

@@ -215,7 +215,7 @@ export default {
}, },
//编辑 //编辑
edit(item) { edit(item) {
//建议书列表 编辑=》制作中的建议书跳转到选择被保人页面; //建议书列表 编辑=》制作中的建议书跳转到选择被保人页面;
localStorage.orderNo = item.orderInfoDTO.orderNo localStorage.orderNo = item.orderInfoDTO.orderNo
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',

View File

@@ -43,7 +43,7 @@ export function formLabel(label, key) {
return result return result
} }
//将被保人与利益演示相关联 //将被保人与利益演示相关联
export function relevance(insured, insuredLabelResult, insuredResult, insuredInfoResult, amtFormat, dutyLst) { export function relevance(insured, insuredLabelResult, insuredResult, insuredInfoResult, amtFormat, dutyLst) {
insured.forEach(insure => { insured.forEach(insure => {
insure.productFeatures = '' insure.productFeatures = ''

View File

@@ -1,5 +1,5 @@
export function checkSex(cacheSex, localSex, relation) { export function checkSex(cacheSex, localSex, relation) {
//当关系为配偶时 被保人性别必须与投保人性别不一致 //当关系为配偶时 被保人性别必须与投保人性别不一致
if (relation == '2' && localSex == cacheSex) { if (relation == '2' && localSex == cacheSex) {
return false return false
} else { } else {
@@ -7,7 +7,7 @@ export function checkSex(cacheSex, localSex, relation) {
} }
} }
export function checkRelation(relation, age) { export function checkRelation(relation, age) {
//当被保人年龄小于8岁 被保人与投保人关系必须为父母 //当被保人年龄小于8岁 被保人与投保人关系必须为父母
if (age < 8 && relation != '4') { if (age < 8 && relation != '4') {
return false return false
} else { } else {

View File

@@ -4,7 +4,7 @@
<van-radio-group v-model="radio" class="flex pl30 pr30 pt15 pb15 justify-content-s bg-white mt10"> <van-radio-group v-model="radio" class="flex pl30 pr30 pt15 pb15 justify-content-s bg-white mt10">
<van-radio name="0" class="fs14" @click="clickRadio(saleInsuredInfo.name)" v-if="!changeCard">{{ `投保人${saleInsuredInfo.name}` }}</van-radio> <van-radio name="0" class="fs14" @click="clickRadio(saleInsuredInfo.name)" v-if="!changeCard">{{ `投保人${saleInsuredInfo.name}` }}</van-radio>
<!-- <van-radio name="1" class="fs14" v-if="relationToAppnt != '1'" @click="clickRadio(saleInsuredPersonInfo.name)">{{ <!-- <van-radio name="1" class="fs14" v-if="relationToAppnt != '1'" @click="clickRadio(saleInsuredPersonInfo.name)">{{
`被保人${saleInsuredPersonInfo.name}` `被保${saleInsuredPersonInfo.name}`
}}</van-radio> --> }}</van-radio> -->
</van-radio-group> </van-radio-group>
<div v-if="radio == '0'"> <div v-if="radio == '0'">
@@ -110,7 +110,7 @@ import BankCardScan from '@/components/ebiz/sale/BankCardScan'
export default { export default {
data() { data() {
return { return {
// 选中后传给后端的投保人或者被保人名字 // 选中后传给后端的投保人或者被保人名字
name: '', name: '',
// 开户银行 // 开户银行
bank: '', bank: '',
@@ -118,7 +118,7 @@ export default {
checked: false, checked: false,
// 自动续保 // 自动续保
isChecked: false, isChecked: false,
// 投被保人是否同一个 // 投被保人是否同一个
relationToAppnt: '', relationToAppnt: '',
// 银行卡号 // 银行卡号
bankId: '', bankId: '',
@@ -126,7 +126,7 @@ export default {
radio: '0', radio: '0',
// 银行列表弹框 // 银行列表弹框
show: false, show: false,
// 被保人信息 // 被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// 投保人信息 // 投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -398,7 +398,7 @@ export default {
if (res.result == 0) { if (res.result == 0) {
//如果是从编辑进来的 //如果是从编辑进来的
if (this.$route.query.edit) { if (this.$route.query.edit) {
//投被保人关系 //投被保人关系
this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt
this.$utils.intLocalStorage(res) this.$utils.intLocalStorage(res)
@@ -417,10 +417,10 @@ export default {
let that = this let that = this
// 获取投被保人是否同一个人 // 获取投被保人是否同一个人
if (localStorage.saleInsuredPersonInfo) { if (localStorage.saleInsuredPersonInfo) {
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
if (localStorage.saleInsuredInfo) { if (localStorage.saleInsuredInfo) {

View File

@@ -6,8 +6,8 @@
v-model="relationToAppnt" v-model="relationToAppnt"
required required
readonly readonly
label="是被保人的" label="是被保人的"
name="是被保人的" name="是被保人的"
right-icon="arrow" right-icon="arrow"
placeholder="请选择" placeholder="请选择"
v-validate="'required'" v-validate="'required'"
@@ -302,7 +302,7 @@ export default {
bnfOrder: '1', //受益顺序 bnfOrder: '1', //受益顺序
bnfLot: '', //受益比例 bnfLot: '', //受益比例
bnfFlag: '', bnfFlag: '',
relationToInsured: '', //和被保人的关系 relationToInsured: '', //和被保人的关系
lifeGrade: '', lifeGrade: '',
healthGrade: '', healthGrade: '',
bnfType: '0' //身故受益人 bnfType: '0' //身故受益人
@@ -336,7 +336,7 @@ export default {
this.userInfo.name = name this.userInfo.name = name
}, },
selectClick(index) { selectClick(index) {
// 同被保人不允许编辑 // 同被保人不允许编辑
if (this.isInsured) { if (this.isInsured) {
return return
} }
@@ -408,7 +408,7 @@ export default {
}, },
//弹框选择 //弹框选择
toSelect(pickerType, valueKey) { toSelect(pickerType, valueKey) {
//同被保人不允许编辑 //同被保人不允许编辑
if (this.isInsured) { if (this.isInsured) {
return return
} }
@@ -466,13 +466,13 @@ export default {
} else if (this.pickerType == '6') { } else if (this.pickerType == '6') {
;[this.userInfo.marriage, this.marriage] = [value.id, value.text] ;[this.userInfo.marriage, this.marriage] = [value.id, value.text]
} else if (this.pickerType == '7') { } else if (this.pickerType == '7') {
// //如果受益人是被保人本人 // //如果受益人是被保人本人
// if (value.id == 1) { // if (value.id == 1) {
// //获取投保人数据 // //获取投保人数据
// getOrderDetail({ orderNo: localStorage.orderNo }).then(res => { // getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
// if (res.result == 0) { // if (res.result == 0) {
// this.isInsured = true // this.isInsured = true
// //获取被保人信息 // //获取被保人信息
// let insuredInfo = res.orderDTO.insuredDTOs[0] // let insuredInfo = res.orderDTO.insuredDTOs[0]
// for (let key in this.userInfo) { // for (let key in this.userInfo) {
// this.userInfo[key] = insuredInfo[key] // this.userInfo[key] = insuredInfo[key]
@@ -657,13 +657,13 @@ export default {
let age = utilsAge.getAge(this.userInfo.birthday, new Date()) let age = utilsAge.getAge(this.userInfo.birthday, new Date())
let relationToAppnt = localStorage.relationToAppnt let relationToAppnt = localStorage.relationToAppnt
let insuredDetail = JSON.parse(localStorage.insuredDetail) let insuredDetail = JSON.parse(localStorage.insuredDetail)
// //被保人不是已婚 // //被保人不是已婚
// if (this.insuredMarriage != '1') { // if (this.insuredMarriage != '1') {
// return this.$toast('与投保人关系不正确') // return this.$toast('与投保人关系不正确')
// } // }
// let insuredSex = JSON.parse(localStorage.saleInsuredPersonInfo).sex // let insuredSex = JSON.parse(localStorage.saleInsuredPersonInfo).sex
// let appntSex = JSON.parse(localStorage.saleInsuredInfo).sex // let appntSex = JSON.parse(localStorage.saleInsuredInfo).sex
// //投被保人性别相同 // //投被保人性别相同
// if (insuredSex == appntSex) { // if (insuredSex == appntSex) {
// return this.$toast('性别输入有误') // return this.$toast('性别输入有误')
// } // }
@@ -671,21 +671,21 @@ export default {
// 页面跳转 // 页面跳转
this.$validator.validate().then(valid => { this.$validator.validate().then(valid => {
if (true === valid) { if (true === valid) {
// 受益人是被保人的配偶 // 受益人是被保人的配偶
if (this.userInfo.relationToInsured == '2') { if (this.userInfo.relationToInsured == '2') {
// 受益人与投保人都是被保人的配偶时 // 受益人与投保人都是被保人的配偶时
if (this.userInfo.relationToInsured == '2' && relationToAppnt == '2') { if (this.userInfo.relationToInsured == '2' && relationToAppnt == '2') {
if (this.userInfo.name != insuredDetail.name || this.userInfo.sex != insuredDetail.sex || this.userInfo.idNo != insuredDetail.idNo) { if (this.userInfo.name != insuredDetail.name || this.userInfo.sex != insuredDetail.sex || this.userInfo.idNo != insuredDetail.idNo) {
return this.$toast('受益人数据不合法,请重新输入') return this.$toast('受益人数据不合法,请重新输入')
} }
} }
//与被保人关系是配偶 //与被保人关系是配偶
let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo) let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果投保人不是已婚 //如果投保人不是已婚
if (insuredInfo.marriage != '1') { if (insuredInfo.marriage != '1') {
return this.$toast('与被保人关系有误') return this.$toast('与被保人关系有误')
} }
//如果被保人与投保人性别相同 //如果被保人与投保人性别相同
if (insuredInfo.sex == this.userInfo.sex) { if (insuredInfo.sex == this.userInfo.sex) {
return this.$toast('性别录入与婚姻状况不符') return this.$toast('性别录入与婚姻状况不符')
} }
@@ -696,7 +696,7 @@ export default {
} }
} }
// 受益人是被保人的父母,被保人是投保人的子女时 // 受益人是被保人的父母,被保人是投保人的子女时
if (this.userInfo.relationToInsured == '3' && relationToAppnt == '4') { if (this.userInfo.relationToInsured == '3' && relationToAppnt == '4') {
if (this.userInfo.sex == insuredDetail.sex) { if (this.userInfo.sex == insuredDetail.sex) {
if (this.userInfo.name != insuredDetail.name || this.userInfo.idNo != insuredDetail.idNo) { if (this.userInfo.name != insuredDetail.name || this.userInfo.idNo != insuredDetail.idNo) {

View File

@@ -158,7 +158,7 @@
</div> </div>
<div v-if="relationToAppnt != '1'"> <div v-if="relationToAppnt != '1'">
<div class="flex bg-white p10 align-items-c"> <div class="flex bg-white p10 align-items-c">
<span>被保人附件</span> <span>被保人附件</span>
</div> </div>
<div class=" m20 bg-white"> <div class=" m20 bg-white">
<div> <div>
@@ -310,19 +310,19 @@ export default {
fileLIstImg: [], fileLIstImg: [],
// 投保人选择的必选其他 // 投保人选择的必选其他
saleInsuredInfoOther: [], saleInsuredInfoOther: [],
// 被保人选择的必选其他 // 被保人选择的必选其他
saleInsuredPersonInfoOther: [], saleInsuredPersonInfoOther: [],
// 银行卡正面 // 银行卡正面
fileListBank: [], fileListBank: [],
//银行卡反面 //银行卡反面
// fileListBankBack: [], // fileListBankBack: [],
// 被保人身份证正面 // 被保人身份证正面
fileListIdFrontInsured: [], fileListIdFrontInsured: [],
// 被保人身份证反面 // 被保人身份证反面
fileListIdBackInsured: [], fileListIdBackInsured: [],
// 被保人银行账户 // 被保人银行账户
fileListBankInsured: [], fileListBankInsured: [],
// 被保人其他类型页面 // 被保人其他类型页面
fileLIstImgInsured: [], fileLIstImgInsured: [],
// 受益人 // 受益人
// fileListtypebeneficiary: [], // fileListtypebeneficiary: [],
@@ -337,7 +337,7 @@ export default {
isDisabled: true, isDisabled: true,
// 数据字典证件类型 // 数据字典证件类型
idType: [], idType: [],
// 被保人信息 // 被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// 投保人信息 // 投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -348,13 +348,13 @@ export default {
// 图片返回数组 // 图片返回数组
imgList: [], imgList: [],
type: '', type: '',
// 是投保人还是被保人 // 是投保人还是被保
isAppant: '', isAppant: '',
// 传给后端的list // 传给后端的list
list: [], list: [],
// 是哪个证件类型 // 是哪个证件类型
id: '', id: '',
// 投保人被保人是否是一个人 1为同一个人 // 投保人被保人是否是一个人 1为同一个人
relationToAppnt: '', relationToAppnt: '',
changeCard: localStorage.changeCard changeCard: localStorage.changeCard
} }
@@ -365,14 +365,14 @@ export default {
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => { getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
// console.log(res) // console.log(res)
if (res.result == 0) { if (res.result == 0) {
//是投保人还是被保人 //是投保人还是被保
localStorage.accountInformationRadio = res.orderDTO.orderAccountDTO.accountType localStorage.accountInformationRadio = res.orderDTO.orderAccountDTO.accountType
//投被保人关系 //投被保人关系
this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt
this.$utils.intLocalStorage(res) this.$utils.intLocalStorage(res)
//投保人信息 //投保人信息
// localStorage.saleInsuredInfo = JSON.stringify(res.orderDTO.appntDTO) // localStorage.saleInsuredInfo = JSON.stringify(res.orderDTO.appntDTO)
//被保人信息 //被保人信息
// localStorage.saleInsuredPersonInfo = JSON.stringify(res.orderDTO.insuredDTOs[0]) // localStorage.saleInsuredPersonInfo = JSON.stringify(res.orderDTO.insuredDTOs[0])
} else { } else {
this.$toast(res.resultMessage) this.$toast(res.resultMessage)
@@ -385,15 +385,15 @@ export default {
document.body.style.backgroundColor = '#fff' document.body.style.backgroundColor = '#fff'
} }
let that = this let that = this
// 投被保人是否同人 // 投被保人是否同人
if (localStorage.saleInsuredPersonInfo) { if (localStorage.saleInsuredPersonInfo) {
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
// 获取订单号 // 获取订单号
that.orderNo = window.localStorage.getItem('orderNo') that.orderNo = window.localStorage.getItem('orderNo')
// 获取是投保人还是被保人 // 获取是投保人还是被保
that.isAppant = window.localStorage.getItem('accountInformationRadio') that.isAppant = window.localStorage.getItem('accountInformationRadio')
// 数据字典获取 // 数据字典获取
that.idType = DataDictionary.idType that.idType = DataDictionary.idType
@@ -421,7 +421,7 @@ export default {
} else { } else {
that.fileListIdFront = [] that.fileListIdFront = []
} }
// 被保人身份证正面 // 被保人身份证正面
if (window.localStorage.getItem('imgfrontInsuredPath') != null) { if (window.localStorage.getItem('imgfrontInsuredPath') != null) {
let imgfront = { let imgfront = {
url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${window.localStorage.getItem('imgfrontInsuredPath')}` url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${window.localStorage.getItem('imgfrontInsuredPath')}`
@@ -457,7 +457,7 @@ export default {
} else { } else {
that.fileListIdBack = [] that.fileListIdBack = []
} }
// 被保人身份证背面 // 被保人身份证背面
if (window.localStorage.getItem('imgBackInsuredPath') != null) { if (window.localStorage.getItem('imgBackInsuredPath') != null) {
let imgback = { let imgback = {
url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${window.localStorage.getItem('imgBackInsuredPath')}` url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${window.localStorage.getItem('imgBackInsuredPath')}`
@@ -493,7 +493,7 @@ export default {
} else { } else {
that.fileListBank = [] that.fileListBank = []
} }
// 被保人银行卡 // 被保人银行卡
// if (window.localStorage.getItem('bankCardUrlInsuredPath') != null) { // if (window.localStorage.getItem('bankCardUrlInsuredPath') != null) {
// let bankCardUrlInsured = { // let bankCardUrlInsured = {
// url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${window.localStorage.getItem('bankCardUrlInsuredPath')}` // url: config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${window.localStorage.getItem('bankCardUrlInsuredPath')}`
@@ -769,7 +769,7 @@ export default {
that.type == 'fileLIstImgInsured' || that.type == 'fileLIstImgInsured' ||
that.type == 'saleInsuredPersonInfoOther' that.type == 'saleInsuredPersonInfoOther'
) { ) {
// 是被保人 // 是被保
// 证件类型 // 证件类型
let imageInfoType = '' let imageInfoType = ''
@@ -978,7 +978,7 @@ export default {
typebeneficiary() { typebeneficiary() {
// 1.趸交保费≥20万元或期交保费*总期数≥20万元时 // 1.趸交保费≥20万元或期交保费*总期数≥20万元时
// 2.指定受益人 // 2.指定受益人
// 3.受益人与被保人关系为其他 // 3.受益人与被保人关系为其他
if (!window.localStorage.getItem('trialList') == true || !window.localStorage.getItem('beneficiaryInfo') == true) { if (!window.localStorage.getItem('trialList') == true || !window.localStorage.getItem('beneficiaryInfo') == true) {
return false return false
} else { } else {

View File

@@ -31,9 +31,9 @@ export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境 let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
// 投保人还是被保人信息 // 投保人还是被保人信息
signVal: '', signVal: '',
// 被保人签名信息 // 被保人签名信息
insuredSign: {}, insuredSign: {},
// 投保人签名信息 // 投保人签名信息
appntSign: {}, appntSign: {},
@@ -57,7 +57,7 @@ export default {
base64: '', base64: '',
// 是否可以点击 // 是否可以点击
isDisabledComplite: true, isDisabledComplite: true,
// local带来的被保人信息 // local带来的被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// local带来的投保人信息 // local带来的投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -90,9 +90,9 @@ export default {
} }
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人 // 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
// that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) // that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
// if (this.detailJump != '1') { // if (this.detailJump != '1') {

View File

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

View File

@@ -25,7 +25,7 @@ export default {
src: require('@/assets/images/u6071.png'), src: require('@/assets/images/u6071.png'),
// 是否可以点击完成 // 是否可以点击完成
isDisabled: true, isDisabled: true,
// 是投保人还是被保人扫描 0是投保人 1是被保人 // 是投保人还是被保人扫描 0是投保人 1是被保
cardScanningType: '' cardScanningType: ''
} }
}, },

View File

@@ -20,9 +20,9 @@
</van-cell-group> </van-cell-group>
</van-collapse-item> </van-collapse-item>
<!-- 多被保人信息 --> <!-- 多被保人信息 -->
<div v-for="(item, index) in insuredDTOs" :key="index" class="pb10"> <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-group>
<van-cell title="是投保人的" :value="item.relationToAppnt" /> <van-cell title="是投保人的" :value="item.relationToAppnt" />
<van-cell title="姓名" :value="item.name" /> <van-cell title="姓名" :value="item.name" />
@@ -45,7 +45,7 @@
<div v-if="OrderInfoDTO.bnfFlag == '指定受益人'"> <div v-if="OrderInfoDTO.bnfFlag == '指定受益人'">
<van-cell title="姓名" :value="itm.name" /> <van-cell title="姓名" :value="itm.name" />
<van-cell title="性别" :value="itm.sex" /> <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.bnfLot}%`" v-if="itm.bnfLot != null" />
<van-cell title="证件类型" :value="itm.idType" /> <van-cell title="证件类型" :value="itm.idType" />
<van-cell title="证件号码" :value="itm.idNo" /> <van-cell title="证件号码" :value="itm.idNo" />
@@ -103,7 +103,7 @@ export default {
OrderInfoDTO: {}, OrderInfoDTO: {},
// 投保人信息 // 投保人信息
appntDTO: {}, appntDTO: {},
// 被保人信息 // 被保人信息
insuredDTOs: [], insuredDTOs: [],
// 保单号 // 保单号
contNo: '', contNo: '',
@@ -204,7 +204,7 @@ export default {
} }
}) })
}) })
// 被保人信息 // 被保人信息
res.orderDTO.insuredDTOs.map(item => { res.orderDTO.insuredDTOs.map(item => {
if (item.sex == '0') { if (item.sex == '0') {
item.sex = '男' item.sex = '男'

View File

@@ -31,9 +31,9 @@ export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境 let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
// 投保人还是被保人信息 // 投保人还是被保人信息
signVal: '', signVal: '',
// 被保人签名信息 // 被保人签名信息
insuredSign: {}, insuredSign: {},
// 投保人签名信息 // 投保人签名信息
appntSign: {}, appntSign: {},
@@ -57,7 +57,7 @@ export default {
base64: '', base64: '',
// 是否可以点击 // 是否可以点击
isDisabledComplite: true, isDisabledComplite: true,
// local带来的被保人信息 // local带来的被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// local带来的投保人信息 // local带来的投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -90,9 +90,9 @@ export default {
} }
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人 // 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
// that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) // that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
// if (this.detailJump != '1') { // if (this.detailJump != '1') {

View File

@@ -99,9 +99,9 @@ export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境 let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
// 投保人还是被保人信息 // 投保人还是被保人信息
signVal: '', signVal: '',
// 被保人签名信息 // 被保人签名信息
insuredSign: {}, insuredSign: {},
// 投保人签名信息 // 投保人签名信息
appntSign: {}, appntSign: {},

View File

@@ -31,9 +31,9 @@ export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境 let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
// 投保人还是被保人信息 // 投保人还是被保人信息
signVal: '', signVal: '',
// 被保人签名信息 // 被保人签名信息
insuredSign: {}, insuredSign: {},
// 投保人签名信息 // 投保人签名信息
appntSign: {}, appntSign: {},
@@ -57,7 +57,7 @@ export default {
base64: '', base64: '',
// 是否可以点击 // 是否可以点击
isDisabledComplite: true, isDisabledComplite: true,
// local带来的被保人信息 // local带来的被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// local带来的投保人信息 // local带来的投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -90,9 +90,9 @@ export default {
} }
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人 // 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
// that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) // that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
// if (this.detailJump != '1') { // if (this.detailJump != '1') {

View File

@@ -948,7 +948,7 @@ export default {
params.orderDTO.appntDTO = this.userInfo params.orderDTO.appntDTO = this.userInfo
let resultData = await saveOrUpdateOrderInfo(params) let resultData = await saveOrUpdateOrderInfo(params)
if (resultData.result == 0) { if (resultData.result == 0) {
//存储被保人信息 //存储被保人信息
// let age = utilsAge.getAge(this.userInfo.birthday, new Date()) // let age = utilsAge.getAge(this.userInfo.birthday, new Date())
// localStorage.saleInsuredInfo = JSON.stringify({ // localStorage.saleInsuredInfo = JSON.stringify({
// birthday: this.userInfo.birthday, // birthday: this.userInfo.birthday,

View File

@@ -682,7 +682,7 @@ export default {
this.userInfo.name = name this.userInfo.name = name
}, },
selectClick(index) { selectClick(index) {
// 投被保人不允许编辑 // 投被保人不允许编辑
if (this.isAppnt) { if (this.isAppnt) {
return return
} }
@@ -714,7 +714,7 @@ export default {
this.$jump({ this.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
title: '被保人信息', title: '被保人信息',
hiddenRight: '1' hiddenRight: '1'
} }
}) })
@@ -740,7 +740,7 @@ export default {
if (this.isAppnt && pickerType != '7') { if (this.isAppnt && pickerType != '7') {
return return
} }
//pickerType 1、国家地区 2、证件类型 3、文化程度 4、有无社保(弃用) 5、税收居民身份 6、婚姻状况 7、被保人关系 //pickerType 1、国家地区 2、证件类型 3、文化程度 4、有无社保(弃用) 5、税收居民身份 6、婚姻状况 7、被保人关系
;[this.popupShow, this.pickerType] = [true, pickerType] ;[this.popupShow, this.pickerType] = [true, pickerType]
if (valueKey) this.valueKey = valueKey if (valueKey) this.valueKey = valueKey
if (pickerType == '1') { if (pickerType == '1') {
@@ -1002,7 +1002,7 @@ export default {
this.$jump({ this.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
title: '被保人信息', title: '被保人信息',
hiddenRight: '1' hiddenRight: '1'
} }
}) })
@@ -1022,7 +1022,7 @@ export default {
this.$jump({ this.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {
title: '被保人信息', title: '被保人信息',
hiddenRight: '1' hiddenRight: '1'
} }
}) })
@@ -1102,17 +1102,17 @@ export default {
// 计算年龄 // 计算年龄
let age = utilsAge.getAge(this.userInfo.birthday, new Date()) let age = utilsAge.getAge(this.userInfo.birthday, new Date())
//投被保人关系是配偶 //投被保人关系是配偶
if (this.userInfo.relationToAppnt == '2') { if (this.userInfo.relationToAppnt == '2') {
//投保人或者被保人不是已婚 //投保人或者被保人不是已婚
if (this.appntMarriage != '1' || this.userInfo.marriage != '1') { if (this.appntMarriage != '1' || this.userInfo.marriage != '1') {
return this.$toast('投被保人婚姻状况有误') return this.$toast('投被保人婚姻状况有误')
} }
let insuredSex = this.userInfo.sex let insuredSex = this.userInfo.sex
let appntSex = JSON.parse(localStorage.saleInsuredInfo).sex let appntSex = JSON.parse(localStorage.saleInsuredInfo).sex
//投被保人性别相同 //投被保人性别相同
if (insuredSex == appntSex) { if (insuredSex == appntSex) {
return this.$toast('被保人性别有误') return this.$toast('被保人性别有误')
} }
} }
@@ -1194,7 +1194,7 @@ export default {
} }
//如果是身份证,且未成年,则与投保人关系必须是子女关系 //如果是身份证,且未成年,则与投保人关系必须是子女关系
// if(age < 18 && this.userInfo.relationToAppnt != '4'){ // if(age < 18 && this.userInfo.relationToAppnt != '4'){
// return this.$toast('被保人小于18周岁选择身份证时与投保人关系必须为子女') // return this.$toast('被保人小于18周岁选择身份证时与投保人关系必须为子女')
// } // }
//证件类型是户口本 //证件类型是户口本
@@ -1243,7 +1243,7 @@ export default {
//如果是已婚 //如果是已婚
if ((this.userInfo.sex == '0' && age < 22) || (this.userInfo.sex == '1' && age < 20)) { if ((this.userInfo.sex == '0' && age < 22) || (this.userInfo.sex == '1' && age < 20)) {
if (this.userInfo.marriage != '2') { if (this.userInfo.marriage != '2') {
return this.$toast('被保人不符合国家婚姻法定年龄') return this.$toast('被保人不符合国家婚姻法定年龄')
} }
} }
// this.save() // this.save()
@@ -1262,7 +1262,7 @@ export default {
if (chooseProductCodes && chooseProductCodes.length) { if (chooseProductCodes && chooseProductCodes.length) {
//获取险种列表 //获取险种列表
// let chooseProductCodes = JSON.parse(localStorage.chooseProductCodes) // let chooseProductCodes = JSON.parse(localStorage.chooseProductCodes)
//取出local中的被保人信息 //取出local中的被保人信息
let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo) let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果 性别, 出生日期, 有无社保, 职业 发生变化 //如果 性别, 出生日期, 有无社保, 职业 发生变化
console.log(this.userInfo, '这是userInfo') console.log(this.userInfo, '这是userInfo')
@@ -1312,8 +1312,8 @@ export default {
params.orderDTO.insuredDTOs = [this.userInfo] params.orderDTO.insuredDTOs = [this.userInfo]
let resultData = await saveOrUpdateOrderInfo(params) let resultData = await saveOrUpdateOrderInfo(params)
if (resultData.result == 0) { if (resultData.result == 0) {
//存储被保人信息 //存储被保人信息
//如果投被保人是同一个人, 更新投保人信息 //如果投被保人是同一个人, 更新投保人信息
// if (this.userInfo.relationToAppnt == '1') { // if (this.userInfo.relationToAppnt == '1') {
// localStorage.saleInsuredInfo = JSON.stringify(this.userInfo) // localStorage.saleInsuredInfo = JSON.stringify(this.userInfo)
// } // }

View File

@@ -368,10 +368,10 @@ export default {
case '43': //未签名待客户确认, 跳到签名确认页面 case '43': //未签名待客户确认, 跳到签名确认页面
url = '/sale/SignatureConfirmation?edit=1' url = '/sale/SignatureConfirmation?edit=1'
break break
case '35': //投保人保存成功, 跳到被保人页面-- case '35': //投保人保存成功, 跳到被保人页面--
url = '/sale/insuredPerson?edit=1' url = '/sale/insuredPerson?edit=1'
break break
case '36': //被保人保存成功, 跳到已选产品列表 case '36': //被保人保存成功, 跳到已选产品列表
url = '/common/selectedProduct?edit=1' url = '/common/selectedProduct?edit=1'
break break
case '37': //受益人保存成功, 跳到告知信息-- case '37': //受益人保存成功, 跳到告知信息--

View File

@@ -12,7 +12,7 @@
<van-collapse v-model="activeNames"> <van-collapse v-model="activeNames">
<van-collapse-item :name="indx + 1"> <van-collapse-item :name="indx + 1">
<div slot="title" class="flex align-items-c justify-content-s"> <div slot="title" class="flex align-items-c justify-content-s">
<!--投保人 0 2 4 6 8 10 被保人 1 3 5 7 9 11--> <!--投保人 0 2 4 6 8 10 被保 1 3 5 7 9 11-->
{{ {{
relationToAppnt == '1' relationToAppnt == '1'
? '投保人/被保险人' + ? '投保人/被保险人' +
@@ -80,7 +80,7 @@
</div> </div>
</div> </div>
<div class="mt10 pb2" :class="{ special: !showFlag || !isShow }" v-else> <div class="mt10 pb2" :class="{ special: !showFlag || !isShow }" v-else>
<!-- 被保人题目为2b --> <!-- 被保人题目为2b -->
<div v-if="im.impartType == 3 || im.impartType == 7 || im.impartType == 11"> <div v-if="im.impartType == 3 || im.impartType == 7 || im.impartType == 11">
<div class="mb20 ml20" v-if="item.impartCode == '2b' && showFlag && isShow"> <div class="mb20 ml20" v-if="item.impartCode == '2b' && showFlag && isShow">
<span>{{ item.impartCode + '.' + item.impartContent }}</span> <span>{{ item.impartCode + '.' + item.impartContent }}</span>
@@ -130,15 +130,15 @@ export default {
activeNames: [], activeNames: [],
// 投保人信息 // 投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
// 被保人信息 // 被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// 投被保人是否同人 1为同一个人 // 投被保人是否同人 1为同一个人
relationToAppnt: '', relationToAppnt: '',
// 产品编码 // 产品编码
productCodes: '', productCodes: '',
// 是否可以点击 // 是否可以点击
isDisabled: false, isDisabled: false,
// 默认显示被保人根据后台返回 // 默认显示被保人根据后台返回
noRisk: false, noRisk: false,
//是否存在附加险 //是否存在附加险
isExistAdditionalRisk: false, isExistAdditionalRisk: false,
@@ -152,16 +152,16 @@ export default {
impartTypeNumber: { impartTypeNumber: {
'0': '投保人健康告知', '0': '投保人健康告知',
'2': '投保人财务告知', '2': '投保人财务告知',
'1': '被保人健康告知', '1': '被保人健康告知',
'3': '被保人财务告知', '3': '被保人财务告知',
'4': '投保人健康告知', '4': '投保人健康告知',
'5': '被保人健康告知', '5': '被保人健康告知',
'6': '投保人财务告知', '6': '投保人财务告知',
'7': '被保人财务告知', '7': '被保人财务告知',
'8': '投保人健康告知', '8': '投保人健康告知',
'10': '投保人财务告知', '10': '投保人财务告知',
'9': '被保人健康告知', '9': '被保人健康告知',
'11': '被保人财务告知' '11': '被保人财务告知'
} }
} }
}, },
@@ -169,7 +169,7 @@ export default {
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => { getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => { // getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
if (res.result == 0) { if (res.result == 0) {
//投被保人关系 //投被保人关系
this.isExistAdditionalRisk = res.orderDTO.insuredDTOs[0].riskDTOLst.length > 1 ? true : false 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.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt
@@ -228,7 +228,7 @@ export default {
if (items.extra3) { if (items.extra3) {
let obj = JSON.parse(items.extra3) let obj = JSON.parse(items.extra3)
if (obj.age && obj.sex == '') { if (obj.age && obj.sex == '') {
//被保人年纪大于2岁不显示该题 //被保人年纪大于2岁不显示该题
if (that.saleInsuredPersonAge > obj.age) { if (that.saleInsuredPersonAge > obj.age) {
array.splice(index, 1, '') array.splice(index, 1, '')
} }
@@ -241,7 +241,7 @@ export default {
} }
}) })
} }
// 被保人财务告知添加判断 // 被保人财务告知添加判断
if (item.impartType == 3 || item.impartType == 7 || item.impartType == 11) { if (item.impartType == 3 || item.impartType == 7 || item.impartType == 11) {
item.impartItemDTOS.map((items, index, array) => { item.impartItemDTOS.map((items, index, array) => {
if (items.extra3) { if (items.extra3) {
@@ -365,7 +365,7 @@ export default {
} }
}) })
}) })
// 展示被保人项产品 noRis为true // 展示被保人项产品 noRis为true
if (this.noRisk) { if (this.noRisk) {
res.productImpartLstDTO.impartDTOS.map((item, index, array) => { res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
if (item.impartType == '0') { if (item.impartType == '0') {
@@ -377,7 +377,7 @@ export default {
}) })
} }
if (this.relationToAppnt == '1') { if (this.relationToAppnt == '1') {
// 展示被保人项产品 noRis为true // 展示被保人项产品 noRis为true
if (this.noRisk) { if (this.noRisk) {
res.productImpartLstDTO.impartDTOS.map((item, index, array) => { res.productImpartLstDTO.impartDTOS.map((item, index, array) => {
if (item.impartType == '0') { if (item.impartType == '0') {
@@ -442,7 +442,7 @@ export default {
financeImpartDTO = item financeImpartDTO = item
return financeImpartDTO return financeImpartDTO
} else if (item.impartType == '1' || item.impartType == '5' || item.impartType == '9') { } else if (item.impartType == '1' || item.impartType == '5' || item.impartType == '9') {
// 被保人健康 // 被保人健康
item.impartItemDTOS.map(i => { item.impartItemDTOS.map(i => {
delete i.isSelect delete i.isSelect
delete i.show delete i.show
@@ -455,7 +455,7 @@ export default {
objInsured = item objInsured = item
return objInsured return objInsured
} else if (item.impartType == '3' || item.impartType == '7' || item.impartType == '11') { } else if (item.impartType == '3' || item.impartType == '7' || item.impartType == '11') {
// 被保人财富 // 被保人财富
item.impartItemDTOS.map(i => { item.impartItemDTOS.map(i => {
delete i.isSelect delete i.isSelect
delete i.show delete i.show
@@ -478,7 +478,7 @@ export default {
appntDTO: { appntDTO: {
impartDTO: obj impartDTO: obj
}, },
// 被保人 // 被保
insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }] insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }]
} }
} }
@@ -512,7 +512,7 @@ export default {
impartDTO: obj, impartDTO: obj,
financeImpartDTO: financeImpartDTO financeImpartDTO: financeImpartDTO
}, },
// 被保人 // 被保
insuredDTOs: [{ impartDTO: objInsured }] insuredDTOs: [{ impartDTO: objInsured }]
} }
} }
@@ -546,7 +546,7 @@ export default {
impartDTO: obj, impartDTO: obj,
financeImpartDTO: financeImpartDTO financeImpartDTO: financeImpartDTO
}, },
// 被保人 // 被保
insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }] insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }]
} }
} }

View File

@@ -75,7 +75,7 @@
<van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index"> <van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index">
<van-collapse-item :name="index + 2"> <van-collapse-item :name="index + 2">
<div slot="title"> <div slot="title">
被保人 被保
<span class="ml20">{{ item.name }}</span> <span class="ml20">{{ item.name }}</span>
</div> </div>
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p> <p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
@@ -157,7 +157,7 @@
<van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index"> <van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index">
<van-collapse-item :name="index + 2"> <van-collapse-item :name="index + 2">
<div slot="title"> <div slot="title">
被保人 被保
<span class="ml20">{{ item.name }}</span> <span class="ml20">{{ item.name }}</span>
</div> </div>
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p> <p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
@@ -240,17 +240,17 @@ export default {
orderInfo: {}, orderInfo: {},
// 投保人信息 // 投保人信息
appnt: {}, appnt: {},
// 被保人信息 // 被保人信息
insured: [], insured: [],
// 投保人签名阅读信息 // 投保人签名阅读信息
appntSign: [], appntSign: [],
// 被保人签名阅读信息 // 被保人签名阅读信息
insuredSign: [], insuredSign: [],
// 折叠面板 // 折叠面板
activeNames: ['1', '2'], activeNames: ['1', '2'],
// 图片路径 // 图片路径
src: this.$assetsUrl + 'images/u6490.png', src: this.$assetsUrl + 'images/u6490.png',
// 被保人信息 // 被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// 投保人信息 // 投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -260,13 +260,13 @@ export default {
isShow: true, isShow: true,
// 调微信人脸的token // 调微信人脸的token
tokenInweixin: '', tokenInweixin: '',
// 投保人被保人是否同一个人 // 投保人被保人是否同一个人
relationToAppnt: '', relationToAppnt: '',
// 微信分享校验值 // 微信分享校验值
signInvalid: '', signInvalid: '',
// 微信分享链接是否失效 false 为未失效 true为已失效 // 微信分享链接是否失效 false 为未失效 true为已失效
isInvalid: false, isInvalid: false,
// 是谁分享的微信链接 1为被保人 0或2为投保人 // 是谁分享的微信链接 1为被保人 0或2为投保人
shareCode: '', shareCode: '',
// 是否从空签成功跳转过来 1为是 其他为不是 // 是否从空签成功跳转过来 1为是 其他为不是
airSign: '', airSign: '',
@@ -278,7 +278,7 @@ export default {
idcardNumber: '' idcardNumber: ''
}, },
appntSignStatus: '', //投保人电子签名状态 appntSignStatus: '', //投保人电子签名状态
insuredSignStatus: '', //被保人电子签名状态 insuredSignStatus: '', //被保人电子签名状态
changeCard: localStorage.changeCard changeCard: localStorage.changeCard
} }
}, },
@@ -336,7 +336,7 @@ export default {
} }
}) })
if (sessionStorage.shareCode == '1') { if (sessionStorage.shareCode == '1') {
console.log('进来被保人') console.log('进来被保人')
this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name
} else { } else {
console.log('进来投保人') console.log('进来投保人')
@@ -363,7 +363,7 @@ export default {
}, },
// 人脸识别 // 人脸识别
start_ocr(val) { start_ocr(val) {
// val 0投保人 1被保人 2本人 // val 0投保人 1被保人 2本人
let that = this let that = this
if (this.isWeixin) { if (this.isWeixin) {
window.localStorage.setItem('sign-val', val) window.localStorage.setItem('sign-val', val)
@@ -503,7 +503,7 @@ export default {
share(code) { share(code) {
let shareName = '' let shareName = ''
if (code == '1') { if (code == '1') {
shareName = '被保人' shareName = '被保人'
} else { } else {
shareName = '投保人' shareName = '投保人'
} }
@@ -734,11 +734,11 @@ export default {
this.$toast.clear() this.$toast.clear()
this.$utils.intLocalStorage(res) this.$utils.intLocalStorage(res)
// 获取被保人信息recmd // 获取被保人信息recmd
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
// 获取投保人信息 // 获取投保人信息
this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo')) this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo'))
this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保人关系赋值给页面 this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保人关系赋值给页面
this.riskName = res.orderDTO.insuredDTOs[0].riskDTOLst[0].riskName this.riskName = res.orderDTO.insuredDTOs[0].riskDTOLst[0].riskName
localStorage.riskName = this.riskName localStorage.riskName = this.riskName
that.recmd = res.orderDTO.recmdDTO that.recmd = res.orderDTO.recmdDTO
@@ -776,7 +776,7 @@ export default {
that.appntSign.sort(function(a, b) { that.appntSign.sort(function(a, b) {
return a.key - b.key return a.key - b.key
}) })
//获取投保和被保人电子投保单签字状态 //获取投保和被保人电子投保单签字状态
that.appntSign.map(item => { that.appntSign.map(item => {
// 判断是否双录 // 判断是否双录
if (item.documentCode == '6') { if (item.documentCode == '6') {
@@ -869,7 +869,7 @@ export default {
if (e) { if (e) {
// this.$toast.clear() // this.$toast.clear()
// this.$toast('人脸检测成功') // this.$toast('人脸检测成功')
// 1 为被保人 // 1 为被保
if (window.sessionStorage.shareCode == '1') { if (window.sessionStorage.shareCode == '1') {
this.insuredUrl() this.insuredUrl()
} else { } else {
@@ -895,11 +895,11 @@ export default {
message: '当前投保单件需进行双录,请手动切换至双录系统,进行双录操作,完成后进行后续操作', message: '当前投保单件需进行双录,请手动切换至双录系统,进行双录操作,完成后进行后续操作',
showCancelButton: false showCancelButton: false
}).then(() => { }).then(() => {
// 获取投被保人是否同一个人 // 获取投被保人是否同一个人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
}) })
} else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') { } else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') {
// 获取投被保人是否同一个人 // 获取投被保人是否同一个人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
} }
}, },

View File

@@ -71,7 +71,7 @@
<van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index"> <van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index">
<van-collapse-item :name="index + 2"> <van-collapse-item :name="index + 2">
<div slot="title"> <div slot="title">
被保人 被保
<span class="ml20">{{ item.name }}</span> <span class="ml20">{{ item.name }}</span>
</div> </div>
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p> <p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
@@ -174,7 +174,7 @@
<van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index"> <van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index">
<van-collapse-item :name="index + 2"> <van-collapse-item :name="index + 2">
<div slot="title"> <div slot="title">
被保人 被保
<span class="ml20">{{ item.name }}</span> <span class="ml20">{{ item.name }}</span>
</div> </div>
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p> <p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
@@ -264,17 +264,17 @@ export default {
orderInfo: {}, orderInfo: {},
// 投保人信息 // 投保人信息
appnt: {}, appnt: {},
// 被保人信息 // 被保人信息
insured: [], insured: [],
// 投保人签名阅读信息 // 投保人签名阅读信息
appntSign: {}, appntSign: {},
// 被保人签名阅读信息 // 被保人签名阅读信息
insuredSign: {}, insuredSign: {},
// 折叠面板 // 折叠面板
activeNames: ['1', '2'], activeNames: ['1', '2'],
// 图片路径 // 图片路径
src: this.$assetsUrl + 'images/u6490.png', src: this.$assetsUrl + 'images/u6490.png',
// 被保人信息 // 被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// 投保人信息 // 投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -284,13 +284,13 @@ export default {
isShow: true, isShow: true,
// 调微信人脸的token // 调微信人脸的token
tokenInweixin: '', tokenInweixin: '',
// 投保人被保人是否同一个人 // 投保人被保人是否同一个人
relationToAppnt: '', relationToAppnt: '',
// 微信分享校验值 // 微信分享校验值
signInvalid: '', signInvalid: '',
// 微信分享链接是否失效 false 为未失效 true为已失效 // 微信分享链接是否失效 false 为未失效 true为已失效
isInvalid: false, isInvalid: false,
// 是谁分享的微信链接 1为被保人 0或2为投保人 // 是谁分享的微信链接 1为被保人 0或2为投保人
shareCode: '', shareCode: '',
// 是否从空签成功跳转过来 1为是 其他为不是 // 是否从空签成功跳转过来 1为是 其他为不是
airSign: '', airSign: '',
@@ -588,7 +588,7 @@ export default {
share(code) { share(code) {
let shareName = '' let shareName = ''
if (code == '1') { if (code == '1') {
shareName = '被保人' shareName = '被保人'
} else { } else {
shareName = '投保人' shareName = '投保人'
} }
@@ -751,11 +751,11 @@ export default {
if (res.result == '0') { if (res.result == '0') {
this.$toast.clear() this.$toast.clear()
this.$utils.intLocalStorage(res) this.$utils.intLocalStorage(res)
// 获取被保人信息recmd // 获取被保人信息recmd
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
// 获取投保人信息 // 获取投保人信息
this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo')) this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo'))
this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保人关系赋值给页面 this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保人关系赋值给页面
that.recmd = res.orderDTO.recmdDTO that.recmd = res.orderDTO.recmdDTO
that.orderInfo = res.orderDTO.orderInfoDTO that.orderInfo = res.orderDTO.orderInfoDTO
that.insured = res.orderDTO.insuredDTOs that.insured = res.orderDTO.insuredDTOs
@@ -874,11 +874,11 @@ export default {
message: '当前投保单件需进行双录,请手动切换至双录系统,进行双录操作,完成后进行后续操作', message: '当前投保单件需进行双录,请手动切换至双录系统,进行双录操作,完成后进行后续操作',
showCancelButton: false showCancelButton: false
}).then(() => { }).then(() => {
// 获取投被保人是否同一个人 // 获取投被保人是否同一个人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
}) })
} else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') { } else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') {
// 获取投被保人是否同一个人 // 获取投被保人是否同一个人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
} }
}, },

View File

@@ -65,7 +65,7 @@
</div> </div>
</div> </div>
<div class="pt25 pl30 flex align-items-c" v-if="relationToAppnt != '1'"> <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'"> <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">{{ <van-button type="danger" size="small" :disabled="signVal == '1' ? isDisableInsured : true" @click="sign('1')" v-no-more-click="1000">{{
insuredSign.documentStatus == '2' ? '未签名' : '已签名' insuredSign.documentStatus == '2' ? '未签名' : '已签名'
@@ -115,13 +115,13 @@ export default {
Time: true, Time: true,
// 按钮是否可以点击 // 按钮是否可以点击
isDisable: true, isDisable: true,
// 被保人是否可以点击 // 被保人是否可以点击
isDisableInsured: true, isDisableInsured: true,
// 投保人签名阅读信息 // 投保人签名阅读信息
appntSign: {}, appntSign: {},
// 被保人签名阅读信息 // 被保人签名阅读信息
insuredSign: {}, insuredSign: {},
// 是投保人还是被保人 0 投保人 1被保人 2 投被同人 // 是投保人还是被保人 0 投保人 1被保人 2 投被同人
signVal: '', signVal: '',
// CA签字位置 // CA签字位置
caOffset: '-150', // 投保人签名位置 caOffset: '-150', // 投保人签名位置
@@ -131,11 +131,11 @@ export default {
base64: '', base64: '',
// 是否可以点击 // 是否可以点击
isDisabledComplite: true, isDisabledComplite: true,
// local带来的被保人信息 // local带来的被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// local带来的投保人信息 // local带来的投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
// 投被保人是否同人 1为投被同人其他为不是 // 投被保人是否同人 1为投被同人其他为不是
relationToAppnt: '', relationToAppnt: '',
// 是否在微信 // 是否在微信
isWeixin, isWeixin,
@@ -565,12 +565,12 @@ export default {
} }
} }
} else { } else {
// 在微信被保人 // 在微信被保
if (this.isWeixin) { if (this.isWeixin) {
this.toAirSign('1', '法定监护人', '10', '4') this.toAirSign('1', '法定监护人', '10', '4')
} else { } else {
// 不在微信被保人 // 不在微信被保
console.log('被保人签名') console.log('被保人签名')
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码 //身份证号码
number: that.saleInsuredPersonInfo.idNo, number: that.saleInsuredPersonInfo.idNo,
@@ -838,9 +838,9 @@ export default {
// 不在微信且不是回执签收 // 不在微信且不是回执签收
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人 // 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
this.timeOut() this.timeOut()
this.getOrderDetail() this.getOrderDetail()

View File

@@ -70,13 +70,13 @@ export default {
Time: true, Time: true,
// 按钮是否可以点击 // 按钮是否可以点击
isDisable: true, isDisable: true,
// 被保人是否可以点击 // 被保人是否可以点击
isDisableInsured: true, isDisableInsured: true,
// 投保人签名阅读信息 // 投保人签名阅读信息
appntSign: {}, appntSign: {},
// 被保人签名阅读信息 // 被保人签名阅读信息
insuredSign: {}, insuredSign: {},
// 是投保人还是被保人 0 投保人 1被保人 2 投被同人 // 是投保人还是被保人 0 投保人 1被保人 2 投被同人
signVal: '', signVal: '',
// 图片路径 // 图片路径
url: '', url: '',
@@ -84,11 +84,11 @@ export default {
base64: '', base64: '',
// 是否可以点击 // 是否可以点击
isDisabledComplite: true, isDisabledComplite: true,
// local带来的被保人信息 // local带来的被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// local带来的投保人信息 // local带来的投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
// 投被保人是否同人 1为投被同人其他为不是 // 投被保人是否同人 1为投被同人其他为不是
relationToAppnt: '', relationToAppnt: '',
// 是否在微信 // 是否在微信
isWeixin, isWeixin,
@@ -531,9 +531,9 @@ export default {
} }
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人 // 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
}, },

View File

@@ -59,7 +59,7 @@ export default {
imgFront: this.$assetsUrl + 'images/idCardFront.png', imgFront: this.$assetsUrl + 'images/idCardFront.png',
// 身份证背面 // 身份证背面
imgBack: this.$assetsUrl + 'images/idCardBack.png', imgBack: this.$assetsUrl + 'images/idCardBack.png',
// 是否是投保人还是被保人扫描 // 是否是投保人还是被保人扫描
scanFromInsured: '', scanFromInsured: '',
// 上传结果 // 上传结果
state: '', state: '',

View File

@@ -11,7 +11,7 @@ export function selectComp(that, index, type = '') {
//投保人 //投保人
localStorage.scanFromInsured = 'true' localStorage.scanFromInsured = 'true'
} else if (type == '2') { } else if (type == '2') {
//被保人 //被保
localStorage.scanFromInsured = 'false' localStorage.scanFromInsured = 'false'
} }
;[that.isScan, title] = [true, '身份证扫描'] ;[that.isScan, title] = [true, '身份证扫描']
@@ -49,7 +49,7 @@ function closeBtn(that) {
* *
* @param {*} that 上下文 * @param {*} that 上下文
* @param {*} data 扫描数据 * @param {*} data 扫描数据
* @param {*} type 1 投保人 2 被保人 * @param {*} type 1 投保人 2 被保
*/ */
export function getIdentityInfo(that, data, type) { export function getIdentityInfo(that, data, type) {
console.log(data) console.log(data)
@@ -84,7 +84,7 @@ export function getIdentityInfo(that, data, type) {
} }
} }
that.isScan = false that.isScan = false
let title = type == '1' ? '投保人信息' : '被保人信息' let title = type == '1' ? '投保人信息' : '被保人信息'
that.$jump({ that.$jump({
flag: 'navigation', flag: 'navigation',
extra: { extra: {

View File

@@ -30,7 +30,7 @@ export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境 let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
// 投保人还是被保人信息 // 投保人还是被保人信息
signVal: '', signVal: '',
// 投保人签名信息 // 投保人签名信息
appntSign: {}, appntSign: {},
@@ -54,7 +54,7 @@ export default {
base64: '', base64: '',
// 是否可以点击 // 是否可以点击
isDisabledComplite: true, isDisabledComplite: true,
// local带来的被保人信息 // local带来的被保人信息
saleInsuredPersonInfo: {}, saleInsuredPersonInfo: {},
// local带来的投保人信息 // local带来的投保人信息
saleInsuredInfo: {}, saleInsuredInfo: {},
@@ -89,9 +89,9 @@ export default {
} }
if (this.detailJump != '1') { if (this.detailJump != '1') {
// 投被保人是否同人 // 投被保人是否同人
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保人信息 // 获取被保人信息
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
} }
// if (this.detailJump != '1') { // if (this.detailJump != '1') {

View File

@@ -43,7 +43,7 @@ export default {
OrderInfoDTO: {}, OrderInfoDTO: {},
// 投保人信息 // 投保人信息
appntDTO: {}, appntDTO: {},
// 被保人信息 // 被保人信息
insuredDTOs: [], insuredDTOs: [],
// 保单号 // 保单号
contNo: '', contNo: '',
@@ -123,7 +123,7 @@ export default {
this.filterData(dataDictionary.sex, 'sex', appntDTO) this.filterData(dataDictionary.sex, 'sex', appntDTO)
this.filterData(dataDictionary.idType, 'idType', appntDTO) this.filterData(dataDictionary.idType, 'idType', appntDTO)
that.appntDTO = appntDTO that.appntDTO = appntDTO
// 被保人信息 // 被保人信息
res.content.insuredDTOs.map(insured => { res.content.insuredDTOs.map(insured => {
insured.riskDTOLst.map(risk => { insured.riskDTOLst.map(risk => {
Number(risk.payIntv) Number(risk.payIntv)

View File

@@ -23,9 +23,9 @@
</van-cell-group> </van-cell-group>
</van-collapse-item> </van-collapse-item>
<!-- 多被保人信息 --> <!-- 多被保人信息 -->
<div v-for="(item, index) in insuredDTOs" :key="index" class="pb10"> <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-group>
<!-- <van-cell title="是投保人的" :value="item.relationToAppnt" /> --> <!-- <van-cell title="是投保人的" :value="item.relationToAppnt" /> -->
<van-cell title="姓名" :value="item.name" /> <van-cell title="姓名" :value="item.name" />
@@ -43,7 +43,7 @@
<div v-if="itm.bnfType == '1'"> <div v-if="itm.bnfType == '1'">
<van-cell title="姓名" :value="itm.name" /> <van-cell title="姓名" :value="itm.name" />
<van-cell title="性别" :value="itm.sexText" /> <van-cell title="性别" :value="itm.sexText" />
<!-- <van-cell title="是被保人的" :value="itm.relationText" /> --> <!-- <van-cell title="是被保人的" :value="itm.relationText" /> -->
<van-cell title="受益比例" :value="`${itm.bnfLot * 100}%`" v-if="itm.bnfLot != null" /> <van-cell title="受益比例" :value="`${itm.bnfLot * 100}%`" v-if="itm.bnfLot != null" />
<van-cell title="证件类型" :value="itm.idTypeText" /> <van-cell title="证件类型" :value="itm.idTypeText" />
<van-cell title="证件号码" :value="itm.idNo" /> <van-cell title="证件号码" :value="itm.idNo" />
@@ -99,7 +99,7 @@ export default {
OrderInfoDTO: {}, OrderInfoDTO: {},
// 投保人信息 // 投保人信息
appntDTO: {}, appntDTO: {},
// 被保人信息 // 被保人信息
insuredDTOs: [], insuredDTOs: [],
// 保单号 // 保单号
contNo: '', contNo: '',
@@ -157,7 +157,7 @@ export default {
this.filterData(dataDictionary.idType, 'idType', appntDTO) this.filterData(dataDictionary.idType, 'idType', appntDTO)
that.appntDTO = appntDTO that.appntDTO = appntDTO
window.localStorage.setItem('saleInsuredInfo', JSON.stringify(appntDTO)) window.localStorage.setItem('saleInsuredInfo', JSON.stringify(appntDTO))
// 被保人信息 // 被保人信息
res.content.insuredDTOs.map(insured => { res.content.insuredDTOs.map(insured => {
insured.riskDTOLst.map(risk => { insured.riskDTOLst.map(risk => {
Number(risk.payIntv) Number(risk.payIntv)

View File

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