[FIX]【保全】退保相关

This commit is contained in:
yuweiqi
2020-06-09 10:14:14 +08:00
parent 3a4be42227
commit 8fe0e9024c
17 changed files with 701 additions and 1321 deletions

View File

@@ -14,7 +14,7 @@
<script>
export default {
name: 'handleResult',
name: 'HandleResult',
data() {
return {
path: '', //页面跳转路径
@@ -41,8 +41,11 @@ export default {
case 'PC':
this.path = '/preserve/pc/renewalConfirmation?entry=PC'
break
case 'bonus':
this.path = '3'
case 'CT':
this.path = '/preserve/ct/surrenderConfirmation?entry=CT'
break
case 'WT':
this.path = ''
break
default:
this.path = ''
@@ -50,22 +53,26 @@ export default {
}
},
mounted() {
// document.body.style.backgroundColor = '#fff'
document.getElementsByTagName('body')[0].classList.add('bg-white')
},
destroyed() {
document.getElementsByTagName('body')[0].classList.remove('bg-white')
},
methods: {
nextStep() {
if (this.entry != 'BC') {
// 如果 保全项不是 受益人变更、则 在证件类型为身份证时 直接接入人脸识别
// if (this.customerInfo.idType != '1') {
// 如果证件类型不是身份证
// 直接跳过人脸识别
this.jumpNextPage(this.path)
// } else {
// this.toFace({
// number: this.customerInfo.idNo, //身份证号码
// name: this.customerInfo.name //姓名
// })
// }
if (this.customerInfo.idType != '1') {
// 如果证件类型不是身份证
// 直接跳过人脸识别
this.jumpNextPage(this.path)
} else {
this.toFace({
number: this.customerInfo.idNo, //身份证号码
name: this.customerInfo.name, //姓名
businessSource: '4' //业务来源:1-电投2-入司3-理赔4-保全
})
}
} else if (this.entry == 'BC') {
// 如果 保全项是 受益人变更、则进行特殊判断
// 若被保险人≥18周岁人脸识别录入被保人本人