Merge branch 'feature/GFRS-1373【待确定】理赔银行卡鉴权' into release/0803

# Conflicts:
#	src/api/ebiz/sale/sale.js
This commit is contained in:
mengxiaolong
2020-08-03 11:04:58 +08:00
3 changed files with 21 additions and 5 deletions

View File

@@ -222,7 +222,7 @@ export function revokeOrder(data) {
data
})
}
// 获取产品允许投保人单位列表
export function getCompany(data) {
return request({
url: getUrl('/sale/product/company', 1),

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

View File

@@ -269,7 +269,7 @@ export default {
} else {
//不在微信
localStorage.setItem('sign-val', val)
if ((val = 3)) {
if (val == 3) {
if (that.list.applyerCertiType != '1') {
this.showRead()
} else {