diff --git a/src/views/rvDriverAuthentication/bankInfo.vue b/src/views/rvDriverAuthentication/bankInfo.vue index 1e21c685..58ac9a3f 100644 --- a/src/views/rvDriverAuthentication/bankInfo.vue +++ b/src/views/rvDriverAuthentication/bankInfo.vue @@ -41,7 +41,7 @@ import fixedButton from "./component/fixedButton"; import photoItem from "./component/photoItem"; import tipBar from "./component/tipBar"; - import { ocrRecognize, driverInfoVerify, driverInfoVerifyDetail } from '@/api/authentication.js' + import {ocrRecognize, driverInfoVerify, driverInfoVerifyDetail, infoVerifyProgress} from '@/api/authentication.js' import { leftCopy } from '@/utils/common.js' import { myMixins } from '@/utils/myMixins.js' export default { @@ -98,6 +98,13 @@ this.$toast('银行卡信息识别错误') } }, + async getRegisterInfo(data) { + let res = await infoVerifyProgress( data) + localStorage.setItem('infoVerify', res?.data?.infoVerify?.code) + localStorage.setItem('failReason', res?.data?.verifyRemark) + localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess) + localStorage.setItem('name', res?.data?.name) + }, async bankHandler(data) { this.form.bankName = '' this.form.cardNumber = '' diff --git a/src/views/rvDriverAuthentication/carAudit.vue b/src/views/rvDriverAuthentication/carAudit.vue index d78297a2..0cc7f980 100644 --- a/src/views/rvDriverAuthentication/carAudit.vue +++ b/src/views/rvDriverAuthentication/carAudit.vue @@ -70,7 +70,7 @@ import fixedButton from "./component/fixedButton"; import photoItem from "./component/photoItem"; import tipBar from "./component/tipBar"; - import { ocrRecognize, driverInfoVerify, driverInfoVerifyDetail } from '@/api/authentication.js' + import {ocrRecognize, driverInfoVerify, driverInfoVerifyDetail, infoVerifyProgress} from '@/api/authentication.js' import { leftCopy } from '@/utils/common.js' import { myMixins } from '@/utils/myMixins.js' export default { @@ -179,7 +179,14 @@ setTimeout(() => { this.h5GoBack() }, 100) - } + }, async getRegisterInfo(data) { + let res = await infoVerifyProgress( data) + localStorage.setItem('infoVerify', res?.data?.infoVerify?.code) + localStorage.setItem('failReason', res?.data?.verifyRemark) + localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess) + localStorage.setItem('name', res?.data?.name) + }, + } } diff --git a/src/views/rvDriverAuthentication/carInfoAudit.vue b/src/views/rvDriverAuthentication/carInfoAudit.vue index d25d6286..40ce7146 100644 --- a/src/views/rvDriverAuthentication/carInfoAudit.vue +++ b/src/views/rvDriverAuthentication/carInfoAudit.vue @@ -141,7 +141,7 @@ import fixedButton from "./component/fixedButton"; import photoItem from "./component/photoItem"; import tipBar from "./component/tipBar"; - import { ocrRecognize, driverInfoVerify, driverInfoVerifyDetail } from '@/api/authentication.js' + import {ocrRecognize, driverInfoVerify, driverInfoVerifyDetail, infoVerifyProgress} from '@/api/authentication.js' import { leftCopy } from '@/utils/common.js' import { myMixins } from '@/utils/myMixins.js' import {areaList} from "@vant/area-data"; @@ -294,6 +294,13 @@ this.h5GoBack() }, 100) }, + async getRegisterInfo(data) { + let res = await infoVerifyProgress( data) + localStorage.setItem('infoVerify', res?.data?.infoVerify?.code) + localStorage.setItem('failReason', res?.data?.verifyRemark) + localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess) + localStorage.setItem('name', res?.data?.name) + }, carrierHandler(data) { // 承运人责任险照片 console.log("data",data) this.form.carrierLiabilityInsurancePhoto = data