认证页下一步添加接口
This commit is contained in:
@ -41,7 +41,7 @@
|
|||||||
import fixedButton from "./component/fixedButton";
|
import fixedButton from "./component/fixedButton";
|
||||||
import photoItem from "./component/photoItem";
|
import photoItem from "./component/photoItem";
|
||||||
import tipBar from "./component/tipBar";
|
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 { leftCopy } from '@/utils/common.js'
|
||||||
import { myMixins } from '@/utils/myMixins.js'
|
import { myMixins } from '@/utils/myMixins.js'
|
||||||
export default {
|
export default {
|
||||||
@ -98,6 +98,13 @@
|
|||||||
this.$toast('银行卡信息识别错误')
|
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) {
|
async bankHandler(data) {
|
||||||
this.form.bankName = ''
|
this.form.bankName = ''
|
||||||
this.form.cardNumber = ''
|
this.form.cardNumber = ''
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
import fixedButton from "./component/fixedButton";
|
import fixedButton from "./component/fixedButton";
|
||||||
import photoItem from "./component/photoItem";
|
import photoItem from "./component/photoItem";
|
||||||
import tipBar from "./component/tipBar";
|
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 { leftCopy } from '@/utils/common.js'
|
||||||
import { myMixins } from '@/utils/myMixins.js'
|
import { myMixins } from '@/utils/myMixins.js'
|
||||||
export default {
|
export default {
|
||||||
@ -179,7 +179,14 @@
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.h5GoBack()
|
this.h5GoBack()
|
||||||
}, 100)
|
}, 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)
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -141,7 +141,7 @@
|
|||||||
import fixedButton from "./component/fixedButton";
|
import fixedButton from "./component/fixedButton";
|
||||||
import photoItem from "./component/photoItem";
|
import photoItem from "./component/photoItem";
|
||||||
import tipBar from "./component/tipBar";
|
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 { leftCopy } from '@/utils/common.js'
|
||||||
import { myMixins } from '@/utils/myMixins.js'
|
import { myMixins } from '@/utils/myMixins.js'
|
||||||
import {areaList} from "@vant/area-data";
|
import {areaList} from "@vant/area-data";
|
||||||
@ -294,6 +294,13 @@
|
|||||||
this.h5GoBack()
|
this.h5GoBack()
|
||||||
}, 100)
|
}, 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) { // 承运人责任险照片
|
carrierHandler(data) { // 承运人责任险照片
|
||||||
console.log("data",data)
|
console.log("data",data)
|
||||||
this.form.carrierLiabilityInsurancePhoto = data
|
this.form.carrierLiabilityInsurancePhoto = data
|
||||||
|
|||||||
Reference in New Issue
Block a user