mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 05:16:44 +08:00
添加受益人增加四要素校验接口
This commit is contained in:
@@ -363,3 +363,12 @@ export function getDoubleRecordProductLst(data) {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 指定受益人身份四要素
|
||||||
|
export function checkAppointBnf(data) {
|
||||||
|
return request({
|
||||||
|
url: getUrl('/sale/bnfCheck/checkAppointBnf ', 1),
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ import idNoCheck from '@/assets/js/utils/idNoCheck'
|
|||||||
import { idToData } from './js/verification'
|
import { idToData } from './js/verification'
|
||||||
import { selectComp } from './js/methods'
|
import { selectComp } from './js/methods'
|
||||||
import getAreaName from '@/assets/js/utils/getAreaNameForSale'
|
import getAreaName from '@/assets/js/utils/getAreaNameForSale'
|
||||||
import { getOrderDetail } from '@/api/ebiz/sale/sale'
|
import { getOrderDetail, checkAppointBnf } from '@/api/ebiz/sale/sale'
|
||||||
|
|
||||||
let relationToInsured = [
|
let relationToInsured = [
|
||||||
{ id: 2, text: '配偶' },
|
{ id: 2, text: '配偶' },
|
||||||
@@ -1121,6 +1121,32 @@ export default {
|
|||||||
if (this.userInfo.asAppntAddress == true) {
|
if (this.userInfo.asAppntAddress == true) {
|
||||||
localStorage.applicant = '1'
|
localStorage.applicant = '1'
|
||||||
}
|
}
|
||||||
|
let thisbnfDTOs = []
|
||||||
|
thisbnfDTOs.push(this.userInfo)
|
||||||
|
let params = {
|
||||||
|
orderType: 'BNF_ORDER',
|
||||||
|
orderDTO: {
|
||||||
|
productDTO: null,
|
||||||
|
orderInfoDTO: {
|
||||||
|
bnfFlag: this.bnfFlag,
|
||||||
|
orderNo: this.$route.query.orderNo
|
||||||
|
},
|
||||||
|
appntDTO: {},
|
||||||
|
insuredDTOs: [
|
||||||
|
{
|
||||||
|
insuredId: JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).insuredId,
|
||||||
|
bnfDTOs: thisbnfDTOs
|
||||||
|
}
|
||||||
|
],
|
||||||
|
paymentDTO: {},
|
||||||
|
orderAccountDTO: {},
|
||||||
|
channelDTO: null,
|
||||||
|
orderExpandDTO: null,
|
||||||
|
thirdOrderDTO: null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
checkAppointBnf(params).then(res=>{
|
||||||
|
if(res.result == '0'){
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
@@ -1131,6 +1157,10 @@ export default {
|
|||||||
path: '/sale/beneficiary?orderNo=' + this.$route.query.orderNo
|
path: '/sale/beneficiary?orderNo=' + this.$route.query.orderNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
this.$toast(res.resultMessage)
|
||||||
|
}
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$toast(this.$validator.errors.all()[0])
|
this.$toast(this.$validator.errors.all()[0])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user