diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js
index 05e91fa1f..e57115c4d 100644
--- a/src/assets/js/utils/data-dictionary.js
+++ b/src/assets/js/utils/data-dictionary.js
@@ -165,19 +165,19 @@ export default {
id: 6,
text: '台湾居民来往大陆通行证'
},
- {
+ /* {
id: 7,
text: '其他',
disabled: true
+ }*/
+ {
+ id: 8,
+ text: '外国人永久居留身份证'
+ },
+ {
+ id: 9,
+ text: '港澳台居民居住证'
}
- // {
- // id: 8,
- // text: '外国人永久居留身份证'
- // },
- // {
- // id: 9,
- // text: '港澳台居民居住证'
- // }
],
//投保人证件类型
insuredIdType: [
@@ -207,19 +207,19 @@ export default {
id: 6,
text: '台湾居民来往大陆通行证'
},
- {
+ /* {
id: 7,
text: '其他',
disabled: true
+ }*/
+ {
+ id: 8,
+ text: '外国人永久居留身份证'
+ },
+ {
+ id: 9,
+ text: '港澳台居民居住证'
}
- // {
- // id: 8,
- // text: '外国人永久居留身份证'
- // },
- // {
- // id: 9,
- // text: '港澳台居民居住证'
- // }
],
//出生证明
birthType: [
@@ -253,7 +253,7 @@ export default {
text: '其他'
}
],
- //投保人/被保人关系
+ //投保人/被保险人关系
relationToAppnt: [
{
id: 1,
@@ -276,7 +276,7 @@ export default {
text: '其他'
}
],
- //理赔报案投保人/被保人关系
+ //理赔报案投保人/被保险人关系
relationToAppnts: [
{
id: '00',
@@ -751,7 +751,7 @@ export default {
},
{
id: '36',
- text: '被保人保存成功'
+ text: '被保险人保存成功'
},
{
id: '37',
@@ -911,6 +911,21 @@ export default {
shortName: '万能险',
name: '国富人寿鑫管家终身寿险(万能型)',
code: 'GFRS_M0017'
+ },
+ {
+ shortName: '医疗险',
+ name: '国富人寿附加住院医疗保险(医疗型)',
+ code: 'GFRS_A0004'
+ },
+ {
+ shortName: '意外险',
+ name: '国富人寿附加综合意外伤害保险(意外型)',
+ code: 'GFRS_A0005'
+ },
+ {
+ shortName: '重疾险',
+ name: '国富人寿国富民安重大疾病保险(重疾型)',
+ code: 'GFRS_M0018'
}
],
// 职级
diff --git a/src/assets/js/utils/validator.js b/src/assets/js/utils/validator.js
index e8da7f9ba..c449e3937 100644
--- a/src/assets/js/utils/validator.js
+++ b/src/assets/js/utils/validator.js
@@ -60,7 +60,7 @@ Validator.extend('age', {
return value > 17 && /^\d{1,3}$/.test(value)
}
})
-//被保人年龄(不得小于18周岁)
+//被保险人年龄(不得小于18周岁)
Validator.extend('appntAge', {
getMessage: () => '年龄不得小于18周岁',
validate: value => {
diff --git a/src/components/ebiz/sale/BankCardScan.vue b/src/components/ebiz/sale/BankCardScan.vue
index 638ce1eed..2bf5c8115 100644
--- a/src/components/ebiz/sale/BankCardScan.vue
+++ b/src/components/ebiz/sale/BankCardScan.vue
@@ -46,7 +46,7 @@ export default {
// imgfront: this.$assetsUrl + 'images/u6071.png',
// 是否可以点击完成
isDisabled: true,
- // 是投保人还是被保人扫描 0是投保人 1是被保人
+ // 是投保人还是被保险人扫描 0是投保人 1是被保险人
// cardScanningType: '',
// 是否成功扫描
state: ''
diff --git a/src/components/ebiz/sale/IdentityCardScan.vue b/src/components/ebiz/sale/IdentityCardScan.vue
index 204b72d1e..683201616 100644
--- a/src/components/ebiz/sale/IdentityCardScan.vue
+++ b/src/components/ebiz/sale/IdentityCardScan.vue
@@ -74,7 +74,7 @@ export default {
imgBack: this.$assetsUrl + 'images/idCardBack.png',
// 相机图片
srcCamera: this.$assetsUrl + 'images/camera_copy.png',
- // 是否是投保人还是被保人扫描
+ // 是否是投保人还是被保险人扫描
scanFromInsured: '',
state: '',
stateBack: '',
diff --git a/src/router/ebiz/proposal.js b/src/router/ebiz/proposal.js
index 444331f1f..5377f7790 100644
--- a/src/router/ebiz/proposal.js
+++ b/src/router/ebiz/proposal.js
@@ -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
}
},
diff --git a/src/router/ebiz/sale.js b/src/router/ebiz/sale.js
index f914be21c..0ef64aaea 100644
--- a/src/router/ebiz/sale.js
+++ b/src/router/ebiz/sale.js
@@ -59,7 +59,7 @@ export default [
name: 'insuredPerson',
component: insuredPerson,
meta: {
- title: '被保人信息',
+ title: '被保险人信息',
index: 1
}
},
diff --git a/src/store/index.js b/src/store/index.js
index ece04feb3..63cb1d212 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -10,13 +10,13 @@ export default new Vuex.Store({
app
},
state: {
- pageFlag: '', //理赔申请-区分被保人/申请人页面flag
+ pageFlag: '', //理赔申请-区分被保险人/申请人页面flag
agentEnterApplyMobil: '', //自助入司-新的被增员人填好的基础信息里的电话号码
agentEnterApplyIdNo: '', //自助入司-新的被增员人填好的基础信息里的证件号码
refusalCause: '' //自助入司-查看审批流程-审批拒绝的原因
},
mutations: {
- //更新 理赔申请-区分被保人/申请人页面flag
+ //更新 理赔申请-区分被保险人/申请人页面flag
updatePageFlag(state, val) {
state.pageFlag = val
},
diff --git a/src/views/ebiz/agentEenter/js/methods.js b/src/views/ebiz/agentEenter/js/methods.js
index a067b331b..c31c2a20e 100644
--- a/src/views/ebiz/agentEenter/js/methods.js
+++ b/src/views/ebiz/agentEenter/js/methods.js
@@ -42,7 +42,7 @@ export function selectComp(that, index, type = '') {
//投保人
localStorage.scanFromInsured = 'true'
} else if (type == '2') {
- //被保人
+ //被保险人
localStorage.scanFromInsured = 'false'
};
[that.isScan, title] = [true, '身份证扫描']
@@ -83,7 +83,7 @@ function closeBtn(that) {
/**
*
* @param {*} that 上下文
- * @param {String} type 1 投保人; 2 被保人; 3 受益人
+ * @param {String} type 1 投保人; 2 被保险人; 3 受益人
*/
export function appCallBack(that, type) {
return function () {
@@ -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 = '指定受益人信息'
@@ -151,7 +151,7 @@ export function chooseOccupation(that, type) {
* @param {*} that 上下文
* @param {*} pickerType 弹框类型
* @param {*} valueKey 弹框编号
- * @param {*} type 1 投保人; 2 被保人; 3 受益人
+ * @param {*} type 1 投保人; 2 被保险人; 3 受益人
*/
export function toSelect(that, pickerType, valueKey, type) {
//pickerType 1、民族 2、证件类型 3、文化程度 4、有无社保(弃用) 5、税收居民身份 6、婚姻状况 7、在职情况
@@ -204,7 +204,7 @@ export function toSelect(that, pickerType, valueKey, type) {
*
* @param {*} that 上下文
* @param {*} value 值
- * @param {*} type 1 投保人 2 被保人 3 受益人
+ * @param {*} type 1 投保人 2 被保险人 3 受益人
*/
export function onConfirm(that, value, type) {
that.popupShow = false
@@ -324,7 +324,7 @@ export function onConfirm(that, value, type) {
}
break
case '3': {
- //如果受益人是被保人本人
+ //如果受益人是被保险人本人
if (value.id == 1) {
//获取投保人数据
getOrderDetail({
@@ -332,7 +332,7 @@ export function onConfirm(that, value, type) {
}).then(res => {
if (res.result == 0) {
that.isInsured = true
- //获取被保人信息
+ //获取被保险人信息
let insuredInfo = res.orderDTO.insuredDTOs[0]
for (let key in that.userInfo) {
that.userInfo[key] = insuredInfo[key]
@@ -505,7 +505,7 @@ export function onDateConfirm(that, val, type) {
*
* @param {*} that 上下文
* @param {*} data 客户列表数据
- * @param {*} type 1 投保人; 2 被保人; 3 受益人
+ * @param {*} type 1 投保人; 2 被保险人; 3 受益人
*/
export function chooseCustomer(that, data, type) {
let title
@@ -514,7 +514,7 @@ export function chooseCustomer(that, data, type) {
title = '投保人信息'
break
case '2':
- title = '被保人信息'
+ title = '被保险人信息'
break
case '3':
title = '指定受益人信息'
@@ -615,7 +615,7 @@ export function chooseCustomer(that, data, type) {
/**
*
* @param {*} that 上下文
- * @param {*} type 1 投保人; 2 被保人; 3 受益人
+ * @param {*} type 1 投保人; 2 被保险人; 3 受益人
*/
export function nextStep(that, type) {
//表单校验, 成功跳转
@@ -657,7 +657,7 @@ export function infoUpdate(that, type) {
let flag
switch (type) {
case '1': {
- //取出local中的投被保人信息
+ //取出local中的投被保险人信息
let saleInsuredInfo = JSON.parse(localStorage.saleInsuredInfo)
//如果 性别, 出生日期, 有无社保, 职业 发生变化
if (that.userInfo.sex != saleInsuredInfo.sex || that.userInfo.birthday != saleInsuredInfo.birthday) {
@@ -666,7 +666,7 @@ export function infoUpdate(that, type) {
}
break
case '2': {
- //取出local中的被保人信息
+ //取出local中的被保险人信息
let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果 性别, 出生日期, 有无社保, 职业 发生变化
if (
@@ -707,11 +707,11 @@ export function infoUpdate(that, type) {
/**
*
* @param {*} that 上下文
- * @param {*} type 1 投保人 2 被保人
+ * @param {*} type 1 投保人 2 被保险人
*/
export function save(that, type, str) {
let params = {
- // 投被保人入参不同
+ // 投被保险人入参不同
orderType: type == '1' ? 'APPNT_ORDER' : 'INSURED_ORDER',
orderDTO: {
orderInfoDTO: {
@@ -727,7 +727,7 @@ export function save(that, type, str) {
if (type == '2' && that.userInfo.mediaDTOS == '') {
delete that.userInfo.mediaDTOS
}
- // 投被保人入参不同
+ // 投被保险人入参不同
type == '1' ? (params.orderDTO.appntDTO = that.userInfo) : (params.orderDTO.insuredDTOs = [that.userInfo])
saveOrUpdateOrderInfo(params).then(res => {
if (res.result == 0) {
@@ -738,7 +738,7 @@ export function save(that, type, str) {
that.countDown = 60
that.codeDisabled = false
// let url
- // 投被保人跳转路径不同
+ // 投被保险人跳转路径不同
if (type == '1') {
that.$jump({
flag: 'h5',
@@ -815,7 +815,7 @@ export function sureArea(that, area, type, flag = false) {
*
* @param {*} that 上下文
* @param {*} data 扫描数据
- * @param {*} type 1 投保人 2 被保人
+ * @param {*} type 1 投保人 2 被保险人
*/
export function getIdentityInfo(that, data, type) {
if (data.name && data.name != '待识别') {
@@ -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: {
@@ -882,7 +882,7 @@ export function getRelatedData(that, val) {
/**
*
* @param {*} that 上下文
- * @param {*} type 1 投保人 2 被保人
+ * @param {*} type 1 投保人 2 被保险人
*/
export function getCode(that, type) {
if (that.userInfo.mobile == '') {
diff --git a/src/views/ebiz/common/AddRiskList.vue b/src/views/ebiz/common/AddRiskList.vue
index 60204a53a..7b3ead2a9 100644
--- a/src/views/ebiz/common/AddRiskList.vue
+++ b/src/views/ebiz/common/AddRiskList.vue
@@ -110,7 +110,7 @@ export default {
return
}
} else {
- //校验主合同的被保人寿险职业等级
+ //校验主合同的被保险人寿险职业等级
if (riskRules.lifeGradeLimit(resultData, this)) {
return
}
@@ -122,6 +122,7 @@ export default {
let currentProductInfo = {
calFactorLst,
isMainRisk: 1,
+ hint: resultData.hint,
riskType: resultData.riskType,
riskName: this.result.riskName,
productCode: this.result.productCode,
@@ -191,7 +192,7 @@ export default {
},
//豁免险影响
remitLimit(resultData) {
- //isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人 relationToAppnt 投被关系
+ //isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保险人 relationToAppnt 投被关系
let isRemit = resultData.productTrialInfoDTO.isRemit
if (isRemit == 1) return false
let remitType = resultData.productTrialInfoDTO.remitType
diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue
index ebb3783aa..e2c9ebeaf 100644
--- a/src/views/ebiz/common/CalculatePremium.vue
+++ b/src/views/ebiz/common/CalculatePremium.vue
@@ -1284,6 +1284,7 @@ export default {
return this.$toast('关联保单的格式不正确')
}
}
+
//组装险种提交数据
let [mainRiskCode, riskDTOLst] = ['', []]
let rollInResult = '' //校验预计转入保费结果
diff --git a/src/views/ebiz/common/MainRiskList.vue b/src/views/ebiz/common/MainRiskList.vue
index 971d0890b..a26021366 100644
--- a/src/views/ebiz/common/MainRiskList.vue
+++ b/src/views/ebiz/common/MainRiskList.vue
@@ -134,7 +134,7 @@ export default {
return
}
} else {
- //校验主合同被保人寿险职业等级
+ //校验主合同被保险人寿险职业等级
if (riskRules.lifeGradeLimit(resultData, this)) {
return
}
@@ -156,6 +156,7 @@ export default {
calFactorLst,
hasAddtionRisk,
isMainRisk: 0,
+ hint: resultData.hint,
riskType: resultData.riskType,
riskName: this.result.riskName,
productCode: this.result.riskProductCode,
@@ -171,6 +172,7 @@ export default {
calFactorLst,
hasAddtionRisk,
isMainRisk: 0,
+ hint: resultData.hint,
riskType: resultData.riskType,
riskName: this.result.riskName,
productCode: this.result.riskProductCode,
diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue
index c8fdd1bac..8c7f34cc2 100644
--- a/src/views/ebiz/common/SelectedProduct.vue
+++ b/src/views/ebiz/common/SelectedProduct.vue
@@ -179,7 +179,7 @@ export default {
this.isShow = true
})
.catch(() => {
- this.$toast('删除失败!')
+ /*this.$toast('删除失败!')*/
})
},
async delProduct(index) {
diff --git a/src/views/ebiz/common/risk-rules.js b/src/views/ebiz/common/risk-rules.js
index d0b68a99b..a7c71d399 100644
--- a/src/views/ebiz/common/risk-rules.js
+++ b/src/views/ebiz/common/risk-rules.js
@@ -1,5 +1,5 @@
export default {
- //投、被保人年龄对险种的限制
+ //投、被保险人年龄对险种的限制
ageLimit(resultData, vm, isApplicant) {
let age, tips
if (isApplicant) {
@@ -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
@@ -62,7 +62,7 @@ export default {
}
return false
},
- //获取被保人信息
+ //获取被保险人信息
getSaleInsuredPersonInfo() {
return localStorage.saleInsuredPersonInfo && JSON.parse(localStorage.saleInsuredPersonInfo)
},
diff --git a/src/views/ebiz/proposal/Appnt.vue b/src/views/ebiz/proposal/Appnt.vue
index f9d5d0152..3ec1d8bc7 100644
--- a/src/views/ebiz/proposal/Appnt.vue
+++ b/src/views/ebiz/proposal/Appnt.vue
@@ -184,7 +184,7 @@ export default {
hiddenRight: '1'
}
})
- let { customerName, customerSex, birthday, customerPhone, age, occupationName, occupationCode, lifeGrade, healthGrade } = data
+ let { customerName, customerSex, birthday, customerPhone, age, occupationName, occupationCode, lifeGrade, healthGrade, socialSecurity } = data
this.appntDTO = {
mobile: customerPhone,
birthday,
@@ -194,7 +194,8 @@ export default {
age: age ? age : '',
occupationCode,
lifeGrade,
- healthGrade
+ healthGrade,
+ socialSecurity
}
},
@@ -214,6 +215,7 @@ export default {
saveProposal(params).then(res => {
if (res.result == '0') {
localStorage.orderNo = res.content.orderNo
+ localStorage.orderNoSocialSecurity = this.appntDTO.socialSecurity
this.$jump({
flag: 'h5',
extra: {
diff --git a/src/views/ebiz/proposal/ChooseInsuredPerson.vue b/src/views/ebiz/proposal/ChooseInsuredPerson.vue
index f7e594cf9..38715452c 100644
--- a/src/views/ebiz/proposal/ChooseInsuredPerson.vue
+++ b/src/views/ebiz/proposal/ChooseInsuredPerson.vue
@@ -133,7 +133,7 @@ export default {
}
})
if (v.insuredId) {
- //判断是否已经添加被保人及险种
+ //判断是否已经添加被保险人及险种
v.hasRisk = true
}
this.persons.forEach(p => {
@@ -183,7 +183,7 @@ export default {
}
})
if (result) {
- return Toast.fail('请填写被保人信息')
+ return Toast.fail('请填写被保险人信息')
}
if (!hasRisk) {
return Toast.fail('请选择保险产品信息')
@@ -215,7 +215,7 @@ export default {
})
},
- //从页头选择被保人
+ //从页头选择被保险人
handleChoose(item) {
console.log(item)
if (!item.check) {
@@ -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'
})
@@ -324,7 +324,7 @@ export default {
relationToAppnt: person.relation,
relationName: person.relationName
}
- localStorage.saleInsuredPersonInfo = JSON.stringify(saleInsuredPersonInfo) //存储被保人信息
+ localStorage.saleInsuredPersonInfo = JSON.stringify(saleInsuredPersonInfo) //存储被保险人信息
localStorage.chooseProductCodes = '' //置空所选险种
this.$jump({
@@ -341,7 +341,7 @@ export default {
edit(item) {
item.birthday = item.birthdayLabel
item.age = item.insuredAge
- localStorage.saleInsuredPersonInfo = JSON.stringify(item) //存储被保人信息
+ localStorage.saleInsuredPersonInfo = JSON.stringify(item) //存储被保险人信息
localStorage.isFrom = 'proposal'
this.$jump({
flag: 'h5',
@@ -353,7 +353,7 @@ export default {
}
})
},
- //添加被保险人 添加一个没有险种的被保人
+ //添加被保险人 添加一个没有险种的被保险人
addPerson(item) {
let code = item.code
let persons = this.persons
diff --git a/src/views/ebiz/proposal/Exhibition.vue b/src/views/ebiz/proposal/Exhibition.vue
index 30c254111..62c9fa65c 100644
--- a/src/views/ebiz/proposal/Exhibition.vue
+++ b/src/views/ebiz/proposal/Exhibition.vue
@@ -204,7 +204,7 @@ export default {
// 折叠面板
activeNames: [],
appntDTO: {}, //投保人信息
- insuredDTOs: [{}], //被保人信息
+ insuredDTOs: [{}], //被保险人信息
isWeixin,
agent: {
//代理人信息
@@ -223,18 +223,22 @@ export default {
mounted() {
localStorage.setItem('pdfShareCode', '')
document.body.style.backgroundColor = '#fff'
- setTimeout(() => {
- // 右上角的显示
- window.EWebBridge.webCallAppInJs('webview_right_button', {
- btns: [
- {
- img: this.$assetsUrl + 'images/share@3x.png'
- }
- ]
- })
- }, 1000)
- window['appCallBack'] = this.appCallBack
- this.init()
+ if (this.isWeixin) {
+ this.init()
+ }else {
+ setTimeout(() => {
+ // 右上角的显示
+ window.EWebBridge.webCallAppInJs('webview_right_button', {
+ btns: [
+ {
+ img: this.$assetsUrl + 'images/share@3x.png'
+ }
+ ]
+ })
+ }, 1000)
+ window['appCallBack'] = this.appCallBack
+ this.init()
+ }
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
@@ -298,6 +302,7 @@ export default {
},
//app回调
appCallBack(data) {
+ let that = this
if (data.trigger == 'right_button_click') {
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
@@ -311,7 +316,7 @@ export default {
'&token=' +
encodeURI(localStorage.token) +
'&mainRiskCodes=' +
- encodeURI(JSON.stringify(localStorage.mainRiskCodes)),
+ encodeURI(JSON.stringify(that.mainRiskCodes)),
// url: 'http://47.96.143.111/#/proposal/exhibition?proposalNo=' + localStorage.orderNo + '&token=' + localStorage.token,
img: this.$assetsUrl + 'images/logo.png'
}
diff --git a/src/views/ebiz/proposal/InsuredPerson.vue b/src/views/ebiz/proposal/InsuredPerson.vue
index 371cdf4f8..d67441c26 100644
--- a/src/views/ebiz/proposal/InsuredPerson.vue
+++ b/src/views/ebiz/proposal/InsuredPerson.vue
@@ -9,7 +9,7 @@
@nameChange="nameChange"
@on-choose="chooseCustomer"
v-validate="'required'"
- name="被保人"
+ name="被保险人"
required
:readonly="disabled"
label="姓名"
@@ -48,15 +48,23 @@
label="职业"
name="职业"
v-validate="'required'"
- placeholder="被保人职业"
+ placeholder="被保险人职业"
/>
- 是被保人的 + 是被保险人的 {{ item.relationToInsured | idToText('relationToAppnt') }}
diff --git a/src/views/ebiz/sale/CardScan.vue b/src/views/ebiz/sale/CardScan.vue index c1710d6fe..1c61cc611 100644 --- a/src/views/ebiz/sale/CardScan.vue +++ b/src/views/ebiz/sale/CardScan.vue @@ -25,7 +25,7 @@ export default { src: require('@/assets/images/u6071.png'), // 是否可以点击完成 isDisabled: true, - // 是投保人还是被保人扫描 0是投保人 1是被保人 + // 是投保人还是被保险人扫描 0是投保人 1是被保险人 cardScanningType: '' } }, diff --git a/src/views/ebiz/sale/Detail.vue b/src/views/ebiz/sale/Detail.vue index 024f41697..a0920faec 100644 --- a/src/views/ebiz/sale/Detail.vue +++ b/src/views/ebiz/sale/Detail.vue @@ -20,9 +20,9 @@ - +
以下内容需要您按照顺序阅读并签字确认:
@@ -157,7 +157,7 @@以下内容需要您按照顺序阅读并签字确认:
@@ -274,17 +274,17 @@ export default { orderInfo: {}, // 投保人信息 appnt: {}, - // 被保人信息 + // 被保险人信息 insured: [], // 投保人签名阅读信息 appntSign: [], - // 被保人签名阅读信息 + // 被保险人签名阅读信息 insuredSign: [], // 折叠面板 activeNames: ['1', '2'], // 图片路径 src: this.$assetsUrl + 'images/u6490.png', - // 被保人信息 + // 被保险人信息 saleInsuredPersonInfo: {}, // 投保人信息 saleInsuredInfo: {}, @@ -294,13 +294,13 @@ export default { isShow: true, // 调微信人脸的token tokenInweixin: '', - // 投保人被保人是否同一个人 + // 投保人被保险人是否同一个人 relationToAppnt: '', // 微信分享校验值 signInvalid: '', // 微信分享链接是否失效 false 为未失效 true为已失效 isInvalid: false, - // 是谁分享的微信链接 1为被保人 0或2为投保人 + // 是谁分享的微信链接 1为被保险人 0或2为投保人 shareCode: '', // 是否从空签成功跳转过来 1为是 其他为不是 airSign: '', @@ -312,7 +312,7 @@ export default { idcardNumber: '' }, appntSignStatus: '', //投保人电子签名状态 - insuredSignStatus: '', //被保人电子签名状态 + insuredSignStatus: '', //被保险人电子签名状态 changeCard: localStorage.changeCard } }, @@ -370,7 +370,7 @@ export default { } }) if (sessionStorage.shareCode == '1') { - console.log('进来被保人') + console.log('进来被保险人') this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name } else { console.log('进来投保人') @@ -510,7 +510,7 @@ export default { }, // 人脸识别 start_ocr(val) { - // val 0投保人 1被保人 2本人 + // val 0投保人 1被保险人 2本人 let that = this if (this.isWeixin) { window.localStorage.setItem('sign-val', val) @@ -625,7 +625,7 @@ export default { } } } - /* if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017') { + /* if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017') { if (that.appntSign[0].documentStatus == 0) { path = 'insuranceInformation' } else if (that.appntSign[1].documentStatus == 2) { @@ -678,7 +678,7 @@ export default { share(code) { let shareName = '' if (code == '1') { - shareName = '被保人' + shareName = '被保险人' } else { shareName = '投保人' } @@ -895,7 +895,16 @@ export default { const mainRiskCode = res.orderDTO.insuredDTOs[0].riskDTOLst[0].mainRiskCode // const isShowDialog = mainRiskCode === 'GFRS_M0005' || mainRiskCode === 'GFRS_M0016' const isShowDialog = mainRiskCode === 'GFRS_M0016' - if (isShowDialog) { + 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 }) + } + /* if (isShowDialog) { //记录每次弹框的订单号。再次进入页面,订单号改变才会弹窗。 let lastOrderNo = localStorage.lastOrderNo if (lastOrderNo !== data.orderNo) { @@ -904,16 +913,27 @@ 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) this.$toast.clear() this.$utils.intLocalStorage(res) - // 获取被保人信息recmd + // 获取被保险人信息recmd this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) // 获取投保人信息 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 localStorage.riskName = this.riskName that.recmd = res.orderDTO.recmdDTO @@ -951,7 +971,7 @@ export default { that.appntSign.sort(function(a, b) { return a.key - b.key }) - //获取投保和被保人电子投保单签字状态 + //获取投保和被保险人电子投保单签字状态 that.appntSign.map(item => { // 判断是否双录 if (item.documentCode == '6') { @@ -1044,7 +1064,7 @@ export default { if (e) { // this.$toast.clear() // this.$toast('人脸检测成功') - // 1 为被保人 + // 1 为被保险人 if (window.sessionStorage.shareCode == '1') { this.insuredUrl() } else { @@ -1080,11 +1100,11 @@ export default { message: '当前投保单件需进行双录,请手动切换至双录系统,进行双录操作,完成后进行后续操作', showCancelButton: false }).then(() => { - // 获取投被保人是否同一个人 + // 获取投被保险人是否同一个人 that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt }) } else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') { - // 获取投被保人是否同一个人 + // 获取投被保险人是否同一个人 that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt } }, diff --git a/src/views/ebiz/sale/SignatureConfirmationOld.vue b/src/views/ebiz/sale/SignatureConfirmationOld.vue index 2c332886a..243f4cbd2 100644 --- a/src/views/ebiz/sale/SignatureConfirmationOld.vue +++ b/src/views/ebiz/sale/SignatureConfirmationOld.vue @@ -71,7 +71,7 @@以下内容需要您按照顺序阅读并签字确认:
@@ -174,7 +174,7 @@以下内容需要您按照顺序阅读并签字确认:
@@ -264,17 +264,17 @@ export default { orderInfo: {}, // 投保人信息 appnt: {}, - // 被保人信息 + // 被保险人信息 insured: [], // 投保人签名阅读信息 appntSign: {}, - // 被保人签名阅读信息 + // 被保险人签名阅读信息 insuredSign: {}, // 折叠面板 activeNames: ['1', '2'], // 图片路径 src: this.$assetsUrl + 'images/u6490.png', - // 被保人信息 + // 被保险人信息 saleInsuredPersonInfo: {}, // 投保人信息 saleInsuredInfo: {}, @@ -284,13 +284,13 @@ export default { isShow: true, // 调微信人脸的token tokenInweixin: '', - // 投保人被保人是否同一个人 + // 投保人被保险人是否同一个人 relationToAppnt: '', // 微信分享校验值 signInvalid: '', // 微信分享链接是否失效 false 为未失效 true为已失效 isInvalid: false, - // 是谁分享的微信链接 1为被保人 0或2为投保人 + // 是谁分享的微信链接 1为被保险人 0或2为投保人 shareCode: '', // 是否从空签成功跳转过来 1为是 其他为不是 airSign: '', @@ -588,7 +588,7 @@ export default { share(code) { let shareName = '' if (code == '1') { - shareName = '被保人' + shareName = '被保险人' } else { shareName = '投保人' } @@ -751,11 +751,11 @@ export default { if (res.result == '0') { this.$toast.clear() this.$utils.intLocalStorage(res) - // 获取被保人信息recmd + // 获取被保险人信息recmd this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')) // 获取投保人信息 this.saleInsuredInfo = JSON.parse(window.localStorage.getItem('saleInsuredInfo')) - this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保人关系赋值给页面 + this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保险人关系赋值给页面 that.recmd = res.orderDTO.recmdDTO that.orderInfo = res.orderDTO.orderInfoDTO that.insured = res.orderDTO.insuredDTOs @@ -874,11 +874,11 @@ export default { message: '当前投保单件需进行双录,请手动切换至双录系统,进行双录操作,完成后进行后续操作', showCancelButton: false }).then(() => { - // 获取投被保人是否同一个人 + // 获取投被保险人是否同一个人 that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt }) } else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') { - // 获取投被保人是否同一个人 + // 获取投被保险人是否同一个人 that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt } }, diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue index 769671df3..d8704a8ca 100644 --- a/src/views/ebiz/sale/SignatureOfElectronic.vue +++ b/src/views/ebiz/sale/SignatureOfElectronic.vue @@ -65,7 +65,7 @@