GFRS-2215【待完成】重新投保--根据订单状态判断是否进入下一步流程

This commit is contained in:
bai.jinyan
2021-04-12 18:36:42 +08:00
parent b89536be74
commit d63e8e2b2c

View File

@@ -269,7 +269,7 @@ export default {
if (resData.result === '0') { if (resData.result === '0') {
// 在白名单内 // 在白名单内
if (resData.content && resData.content.length) { if (resData.content && resData.content.length) {
this.goUrl(res) this.goUrl(res,order)
return return
} else { } else {
window.EWebBridge.webCallAppInJs('face_auth', { window.EWebBridge.webCallAppInJs('face_auth', {
@@ -278,7 +278,7 @@ export default {
name: res.orderDTO.appntDTO.name //姓名 name: res.orderDTO.appntDTO.name //姓名
}).then((data) => { }).then((data) => {
if (JSON.parse(data).state == '1') { if (JSON.parse(data).state == '1') {
this.goUrl(res) this.goUrl(res,order)
} else { } else {
return this.$toast('人脸识别,验证失败!') return this.$toast('人脸识别,验证失败!')
} }
@@ -288,13 +288,14 @@ export default {
this.$toast(resData.resultMessage) this.$toast(resData.resultMessage)
} }
} else { } else {
return this.$toast('人脸识别,证件类型不为身份证!')
} }
} else { } else {
this.$toast(res.resultMessage) this.$toast(res.resultMessage)
} }
}) })
}, },
goUrl(res) { goUrl(res,order) {
let url let url
//投保人信息返显 //投保人信息返显
CacheUtils.setLocItem('orderDetailData', JSON.stringify(res)) CacheUtils.setLocItem('orderDetailData', JSON.stringify(res))