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 data
}) })
} }
// 获取产品允许投保人单位列表
export function getCompany(data) { export function getCompany(data) {
return request({ return request({
url: getUrl('/sale/product/company', 1), 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 { apply, history, customerInfo, query } from '@/api/ebiz/claims/claims'
import { idToData } from '@/views/ebiz/customer/js/verification' import { idToData } from '@/views/ebiz/customer/js/verification'
import BankCardScan from '@/components/ebiz/sale/BankCardScan' 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 { getIdentityInfo, onDateConfirm, effectiveDataTypeChange } from '../sale/js/methods'
import occupationList from '@/components/ebiz/occipation/data/occupation' import occupationList from '@/components/ebiz/occipation/data/occupation'
import getAreaName from '@/assets/js/utils/get-area-name' import getAreaName from '@/assets/js/utils/get-area-name'
@@ -1021,8 +1021,7 @@ export default {
} }
}) })
}, },
save() { async save() {
console.log(this.userInfo)
let that = this let that = this
// switch (this.isPettyCase) { // switch (this.isPettyCase) {
// case '0': // case '0':
@@ -1038,6 +1037,23 @@ export default {
loadingType: 'spinner', loadingType: 'spinner',
message: '加载中……' 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 = { let data = {
slaveStatus: this.slaveStatus, slaveStatus: this.slaveStatus,
claimApplyInfoReqDTO: this.userInfo claimApplyInfoReqDTO: this.userInfo

View File

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