[FIX]【保全】受益人确认页显示;受益人变更提交接口字段修改;辅助测试—临时关闭人脸识别功能

This commit is contained in:
yuweiqi
2020-06-12 15:27:58 +08:00
parent ae7358293e
commit f1dbe5c709
4 changed files with 21 additions and 23 deletions

View File

@@ -28,7 +28,7 @@
</div> </div>
<p class="mt20"> <p class="mt20">
<span class="c-gray-dark">是被保险人的</span> <span class="c-gray-dark">是被保险人的</span>
<span class="ml20">{{ item.relationToInsured | idToText('relationToAppnt') }}</span> <span class="ml20">{{ item.relationToInsured | idToText('edorRelationToAppnt') }}</span>
</p> </p>
<p class="mt10"> <p class="mt10">
<span class="c-gray-dark">受益份额</span> <span class="c-gray-dark">受益份额</span>
@@ -69,9 +69,6 @@ export default {
[Icon.name]: Icon, [Icon.name]: Icon,
[Dialog.name]: Dialog [Dialog.name]: Dialog
}, },
filters: {
mask: filters.mask
},
data() { data() {
// let feachData = { // let feachData = {
// surrenderDTOList: [ // surrenderDTOList: [
@@ -218,6 +215,10 @@ export default {
} }
}) })
} }
},
filters: {
idToText: filters.idToText,
mask: filters.mask
} }
} }
</script> </script>

View File

@@ -161,6 +161,9 @@ export default {
} }
let beneficiaries = [...this.beneficiariesOld, ...this.beneficiariesNew] let beneficiaries = [...this.beneficiariesOld, ...this.beneficiariesNew]
beneficiaries = businessCommon.unrepeatObj(beneficiaries, 'idNo') beneficiaries = businessCommon.unrepeatObj(beneficiaries, 'idNo')
beneficiaries.forEach(i => {
i.contNo = this.policy.contNo
})
let feachData = { let feachData = {
platformType: 'app', platformType: 'app',
edorType: 'BC', edorType: 'BC',

View File

@@ -123,26 +123,21 @@ export default {
toFace(config) { toFace(config) {
console.log('----------', config) console.log('----------', config)
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('face_auth', config) // EWebBridge.webCallAppInJs('face_auth', config)
// 跳过人脸识别 // 跳过人脸识别
// new Promise(resolve => { new Promise(resolve => {
// console.log('--跳过人脸识别--返回识别成功') console.log('--跳过人脸识别--返回识别成功')
// resolve(JSON.stringify({ state: '1' })) resolve(JSON.stringify({ state: '1' }))
// }) }).then(data => {
.then(data => { if (JSON.parse(data).state == '1') {
if (JSON.parse(data).state == '1') { this.jumpNextPage(this.path)
this.jumpNextPage(this.path) } else {
} else { // eslint-disable-next-line no-undef
// eslint-disable-next-line no-undef EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败')
EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败') }
} })
})
} }
} }
// beforeRouteLeave(to, from, next) {
// // document.body.style.backgroundColor = ''
// next()
// }
} }
</script> </script>

View File

@@ -238,7 +238,6 @@ export default {
} }
}) })
this.ctBonusDTO = Object.assign({}, this.ctBonusDTO, this.ctTrialDTO, this.ctAccountDTO) this.ctBonusDTO = Object.assign({}, this.ctBonusDTO, this.ctTrialDTO, this.ctAccountDTO)
this.ctTrialDTO.surrenderRate = res.content.feeRate == '0' ? res.content.feeRate : res.content.feeRate + '%'
resolve() resolve()
} else { } else {
reject(this.$toast(res.resultMessage)) reject(this.$toast(res.resultMessage))