Merge branch 'feature/GFRS-1291【0529】银行卡鉴权-理赔银行卡鉴权' into dev

# Conflicts:
#	src/api/ebiz/sale/sale.js
This commit is contained in:
tian.guangyuan
2020-05-29 10:53:21 +08:00

View File

@@ -424,7 +424,7 @@ import idNoCheck from '@/assets/js/utils/idNoCheck'
import { apply, history, customerInfo, query } from '@/api/ebiz/claims/claims'
import { idToData } from '@/views/ebiz/customer/js/verification'
import BankCardScan from '@/components/ebiz/sale/BankCardScan'
import { getBankList } from '@/api/ebiz/sale/sale'
import { getBankList, checkCard } from '@/api/ebiz/sale/sale'
import { getIdentityInfo, onDateConfirm, effectiveDataTypeChange } from '../sale/js/methods'
import occupationList from '@/components/ebiz/occipation/data/occupation'
import getAreaName from '@/assets/js/utils/get-area-name'
@@ -1021,8 +1021,7 @@ export default {
}
})
},
save() {
console.log(this.userInfo)
async save() {
let that = this
// switch (this.isPettyCase) {
// case '0':
@@ -1038,6 +1037,23 @@ export default {
loadingType: 'spinner',
message: '加载中……'
})
let checkCarData = {
account: this.userInfo.applyerBankAccountNo,
idNo: this.userInfo.applyerCertiCode,
idType: this.userInfo.applyerCertiType,
mobile: this.userInfo.applyerMobile,
name: this.userInfo.applyerName
}
console.log(this.userInfo)
let res = await checkCard(checkCarData)
if (res.result != '0') {
return this.$toast(res.resultMessage)
}
let data = {
slaveStatus: this.slaveStatus,
claimApplyInfoReqDTO: this.userInfo