mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 13:42:52 +08:00
feature/GFRS-2215【待完成】重新投保--页面优化--提交人庞兴月
This commit is contained in:
@@ -86,8 +86,7 @@
|
||||
</template>
|
||||
<InfoCell label="账户名称">{{accountPersonInfo.accountName}}</InfoCell>
|
||||
<InfoCell label="开户银行">{{accountPersonInfo.bankName}}</InfoCell>
|
||||
<InfoCell label="银行账号">{{accountPersonInfo.cardBookCode}}</InfoCell>
|
||||
<van-field lable="签名" name="签名" value="签名" @click="signTo" />
|
||||
<InfoCell label="银行账号">{{accountPersonInfo.cardBookCode}}</InfoCell>
|
||||
</DropdownBox>
|
||||
<van-field
|
||||
:value="userInfo.idType | idToText('insuredIdType')"
|
||||
@@ -193,17 +192,7 @@ export default {
|
||||
}, 100)
|
||||
window.appCallBack = this.appCallBack
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* @description: 签名
|
||||
* @param {*}
|
||||
* @return {*}
|
||||
*/
|
||||
async signTo() {
|
||||
const res = await EWebBridge.webCallAppInJs('ca_sign', signParam)
|
||||
let signRes = JSON.parse(res)
|
||||
console.log(signRes, '======================signRes=======================')
|
||||
},
|
||||
methods: {
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'left_button_click') {
|
||||
this.$jump({
|
||||
@@ -263,13 +252,7 @@ export default {
|
||||
if (item.id == this.accountPersonInfo.bankName) {
|
||||
this.accountPersonInfo.bankName = item.text
|
||||
}
|
||||
})
|
||||
//todo start
|
||||
// this.userInfo.medical = '1'
|
||||
// this.insuredPersonInfo.medical = '0'
|
||||
//todo end
|
||||
|
||||
|
||||
})
|
||||
this.insuredPersonInfo.homeAddress = '汉字汉字汉字汉字123123'
|
||||
}
|
||||
})
|
||||
@@ -292,7 +275,6 @@ export default {
|
||||
* @param {*} bnfIndex 受益人索引
|
||||
* @return {*}
|
||||
*/
|
||||
|
||||
toSelect(pickerType, valueKey, userType, bnfIndex) {
|
||||
bnfIndex ? (this.bnfIndex = bnfIndex) : (this.bnfIndex = 0)
|
||||
;[this.popupShow, this.pickerType] = [true, pickerType]
|
||||
@@ -480,19 +462,7 @@ export default {
|
||||
specialRead(payload) {
|
||||
this.isSpecialRead = payload
|
||||
},
|
||||
async nextStep(page) {
|
||||
// const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
// businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
// number: this.userInfo.idNo, //身份证号码
|
||||
// name: this.userInfo.name //姓名
|
||||
// })
|
||||
// if (JSON.parse(authRes).state !== '1') {
|
||||
// this.$toast('人脸识别失败!')
|
||||
// return false;
|
||||
// }
|
||||
// 验证
|
||||
// console.log(this.userInfo, '=====================================this.userInfo')
|
||||
// console.log(this.insuredPersonInfo, '=====================================this.insuredPersonInfo')
|
||||
async nextStep(page) {
|
||||
let valid = await this.$validator.validate()
|
||||
if (true === valid) {
|
||||
for (let status of DataDictionary.marriage) {
|
||||
@@ -568,7 +538,6 @@ export default {
|
||||
this.occupationName = this.bnfPersonInfo[this.bnfIndex]['occupationName'];
|
||||
this.occupationCode = this.bnfPersonInfo[this.bnfIndex]['occupationCode'];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -415,11 +415,5 @@ export default {
|
||||
}
|
||||
.btns {
|
||||
width: 100vw;
|
||||
// display: flex;
|
||||
// position: fixed;
|
||||
// bottom: 0;
|
||||
// /deep/ .van-button {
|
||||
// flex: 1;
|
||||
// }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -64,26 +64,6 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- <DropdownBox>
|
||||
<template #boxTitle>
|
||||
<span style="font-weight: bold;">附加险</span>
|
||||
<span class="ml30">国富人寿附加综合意外伤害保险</span>
|
||||
</template>
|
||||
<InfoCell label="保险责任" />
|
||||
<InfoCell label="意外身故/伤残保险金" />
|
||||
<InfoCell label="轨道列车意外身故保险金/轨道列车意外伤残保险金" />
|
||||
<InfoCell label="客运汽车意外身故保险金/客运汽车意外伤残保险金" />
|
||||
<InfoCell label="免赔额" />
|
||||
<InfoCell label="赔付比例" />
|
||||
<InfoCell>
|
||||
<template #cellLabel>
|
||||
<span style="font-weight: bold;">保费(元)</span>
|
||||
</template>
|
||||
</InfoCell>
|
||||
|
||||
</DropdownBox> -->
|
||||
|
||||
<van-popup v-model="show" position="right" :style="style">
|
||||
<ReadingAgreement :needTime="false">
|
||||
<h3 class="p10">特别约定提示</h3>
|
||||
|
||||
@@ -1155,29 +1155,13 @@ export default {
|
||||
!!res.orderDTO.productDTO.special.content &&
|
||||
res.orderDTO.productDTO.special.content !== ''
|
||||
) {
|
||||
// const message = res.orderDTO.productDTO.special.content
|
||||
// Dialog({ message })
|
||||
|
||||
let content = res.orderDTO.productDTO.special.content
|
||||
// {
|
||||
// title: '标题',
|
||||
// message: '内容',
|
||||
// confirmButtonText: '确认',
|
||||
// messageAlign: 'left'
|
||||
// }
|
||||
// title 需要标题则配置,不需要则不要配置
|
||||
// message 内容,\n换行
|
||||
// confirmButtonText:确认按钮的文字
|
||||
// messageAlign: 对齐方式,固定左对齐,为'left'
|
||||
|
||||
try {
|
||||
const config = JSON.parse(content)
|
||||
config.message = '  ' + config.message
|
||||
config.message = config.message.split('\\n').join('\n  ')
|
||||
// {
|
||||
// title: '', //需要标题则配置,不需要则不要配置
|
||||
// message: '提示的主体文本',
|
||||
// confirmButtonText: '确认按钮的问题',
|
||||
// messageAlign: 'left' //对齐方式,左对齐
|
||||
// }
|
||||
Dialog(config)
|
||||
} catch (error) {
|
||||
const message = '  ' + content
|
||||
@@ -1186,35 +1170,8 @@ export default {
|
||||
confirmButtonText: '本人已阅读并同意上述特别约定内容',
|
||||
messageAlign: 'left'
|
||||
})
|
||||
}
|
||||
// const message = '  ' + res.orderDTO.productDTO.special.content
|
||||
// Dialog({
|
||||
// message: message.split('\\n').join('\n  '),
|
||||
// confirmButtonText: '本人已阅读并同意上述特别约定内容',
|
||||
// messageAlign: 'left'
|
||||
// })
|
||||
}
|
||||
/* if (isShowDialog) {
|
||||
//记录每次弹框的订单号。再次进入页面,订单号改变才会弹窗。
|
||||
let lastOrderNo = localStorage.lastOrderNo
|
||||
if (lastOrderNo !== data.orderNo) {
|
||||
const message = isMedical
|
||||
? '您以社保身份投保,理赔时:通过社会基本医疗保险或者公费医疗就诊并结算,意外伤害医疗保险金赔付比例80%,免赔额0元;未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为60%,免赔额为100元。'
|
||||
: '您以无社保身份投保,理赔时,若未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例和免赔额分别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)
|
||||
localStorage.setItem('AppntidType', res.orderDTO.appntDTO.idType)
|
||||
this.$toast.clear()
|
||||
@@ -1503,8 +1460,7 @@ export default {
|
||||
let that = this
|
||||
document.title = this.changeCard ? '修改银行卡号确认' : '签名确认'
|
||||
// 初始化
|
||||
that.init()
|
||||
// localStorage.orderNo = '19090510425500178912'
|
||||
that.init()
|
||||
if (window.localStorage.getItem('jumpFromSign') != '1' && window.localStorage.getItem('attachmentShow') == '0') {
|
||||
Dialog.confirm({
|
||||
title: '提示',
|
||||
|
||||
Reference in New Issue
Block a user