mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-06 16:36:44 +08:00
GFRS-2223 【重新投保】-保额展示及待支付订单取消人脸识别---提交人:白金岩
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<InfoCell v-else label="">{{ item2.dutyName }}</InfoCell>
|
||||
</div>
|
||||
</div>
|
||||
<InfoCell label="保额(万元)">{{ item.amt }}</InfoCell>
|
||||
<InfoCell label="保额(元)">{{ item.amt | moneyFormat }}</InfoCell>
|
||||
<InfoCell>
|
||||
<template #cellLabel>
|
||||
<span style="font-weight: bold">保费(元)</span>
|
||||
|
||||
@@ -292,38 +292,44 @@ export default {
|
||||
}, 100)
|
||||
getReAppntPolicy({ policyNo: order.policyNo }).then(async (res) => {
|
||||
if (res.result == 0) {
|
||||
this.orderInfo.sex = res.orderDTO.appntDTO.sex
|
||||
if (res.orderDTO.appntDTO.idType == '1') {
|
||||
// 白名单校验
|
||||
const resData = await getWhitelist({
|
||||
idNo: res.orderDTO.appntDTO.idNo,
|
||||
name: res.orderDTO.appntDTO.name,
|
||||
whiteType: 'reOrder_face_show'
|
||||
})
|
||||
if (resData.result === '0') {
|
||||
// 在白名单内
|
||||
if (resData.content && resData.content.length) {
|
||||
this.goUrl(res, order)
|
||||
return
|
||||
// 待支付订单 不需再次人脸识别
|
||||
if (order.newOrderStatus == '02') {
|
||||
this.goUrl(res, order)
|
||||
return
|
||||
}else {
|
||||
this.orderInfo.sex = res.orderDTO.appntDTO.sex
|
||||
if (res.orderDTO.appntDTO.idType == '1') {
|
||||
// 白名单校验
|
||||
const resData = await getWhitelist({
|
||||
idNo: res.orderDTO.appntDTO.idNo,
|
||||
name: res.orderDTO.appntDTO.name,
|
||||
whiteType: 'reOrder_face_show'
|
||||
})
|
||||
if (resData.result === '0') {
|
||||
// 在白名单内
|
||||
if (resData.content && resData.content.length) {
|
||||
this.goUrl(res, order)
|
||||
return
|
||||
} else {
|
||||
// 人脸识别
|
||||
window.EWebBridge.webCallAppInJs('face_auth', {
|
||||
businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
number: res.orderDTO.appntDTO.idNo, //身份证号码
|
||||
name: res.orderDTO.appntDTO.name //姓名
|
||||
}).then((data) => {
|
||||
if (JSON.parse(data).state == '1') {
|
||||
this.goUrl(res, order)
|
||||
} else {
|
||||
return this.$toast('人脸识别,验证失败!')
|
||||
}
|
||||
})
|
||||
}
|
||||
} else {
|
||||
// 人脸识别
|
||||
window.EWebBridge.webCallAppInJs('face_auth', {
|
||||
businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
number: res.orderDTO.appntDTO.idNo, //身份证号码
|
||||
name: res.orderDTO.appntDTO.name //姓名
|
||||
}).then((data) => {
|
||||
if (JSON.parse(data).state == '1') {
|
||||
this.goUrl(res, order)
|
||||
} else {
|
||||
return this.$toast('人脸识别,验证失败!')
|
||||
}
|
||||
})
|
||||
this.$toast(resData.resultMessage)
|
||||
}
|
||||
} else {
|
||||
this.$toast(resData.resultMessage)
|
||||
return this.$toast('人脸识别,证件类型不为身份证!')
|
||||
}
|
||||
} else {
|
||||
return this.$toast('人脸识别,证件类型不为身份证!')
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
|
||||
Reference in New Issue
Block a user