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