4 Commits

Author SHA1 Message Date
2e9f2a6fa1 VConsole调试删除 2025-09-15 09:23:33 +08:00
93aaaacd06 实名认证链接decode测试 2025-09-15 09:23:32 +08:00
4fd27cfa0e 实名认证调整 2025-09-15 09:23:03 +08:00
f4a2c6d6fa 认证页的返回都调转列表页 2025-09-15 09:22:09 +08:00
5 changed files with 33 additions and 26 deletions

View File

@ -31,10 +31,10 @@
}
</script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script>
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
<script>
// VConsole 默认会挂载到 `window.VConsole` 上
let vConsole = new window.VConsole();
// let vConsole = new window.VConsole();
(function (doc, win) {
// console.log("==window.location.pathname===",window.location.pathname)
let docEl = doc.documentElement

View File

@ -8,7 +8,7 @@
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="h5GoBack"
@click-left="goListPage"
/>
</div>
<tip-bar :title="'温馨提示:服务完成后,平台代收的运费需要提现到您的银行卡账户中,请确保您上传的银行卡信息真实可用。'"></tip-bar>
@ -101,7 +101,7 @@
verifyType: 4
})
setTimeout(() => {
this.h5GoBack()
this.goListPage()
}, 100)
console.log('注册', res)
} else {
@ -115,6 +115,11 @@
localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess)
localStorage.setItem('name', res?.data?.name)
},
goListPage(){
this.goPage('auditList',{
token:localStorage.getItem('token')
})
},
async bankHandler(data) {
this.form.bankName = ''
this.form.cardNumber = ''

View File

@ -8,7 +8,7 @@
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="h5GoBack"
@click-left="goListPage"
/>
</div>
<tip-bar :title="'应国家政策要求:从事货运行业的司机用户,身份证照片、驾驶证信息、行驶证信息、人车合影及承运资质信息必须进行实名认证。'"></tip-bar>
@ -187,7 +187,7 @@
verifyType: 2
})
setTimeout(() => {
this.h5GoBack()
this.goListPage()
}, 100)
}, async getRegisterInfo(data) {
let res = await infoVerifyProgress( data)
@ -196,7 +196,11 @@
localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess)
localStorage.setItem('name', res?.data?.name)
},
goListPage(){
this.goPage('auditList',{
token:localStorage.getItem('token')
})
},
}
}
</script>

View File

@ -8,7 +8,7 @@
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="h5GoBack"
@click-left="goListPage"
/>
</div>
<tip-bar :title="'应国家政策要求:从事货运行业的司机用户,身份证照片、驾驶证信息、行驶证信息、人车合影及承运资质信息必须进行实名认证。'"></tip-bar>
@ -301,7 +301,7 @@
verifyType: 3
})
setTimeout(() => {
this.h5GoBack()
this.goListPage()
}, 100)
},
async getRegisterInfo(data) {
@ -375,6 +375,11 @@
});
return res;
},
goListPage(){
this.goPage('auditList',{
token:localStorage.getItem('token')
})
},
},
computed: {
regionText() {

View File

@ -106,29 +106,22 @@
if( this.show ) {
await this.getDetail()
}
let flag=this.getUrlParam('esignFlag')
console.log("flag",flag)
const urlParams = new URLSearchParams(window.location.search);
console.log("urlParams",urlParams)
console.log("window---",window.location)
console.log("11111---",urlParams.get('token'))
console.log("2222---",urlParams.get('esignFlag'))
// let aaa = urlParams.get('esignFlag');
// console.log("aaa",aaa)
// console.log('urlParams.get(\'esignFlag\')',urlParams.get('esignFlag'))
// console.log('localStorage.getItem("esignFlag")',localStorage.getItem("esignFlag"))
console.log('window.location',window.location)
// console.log("urlParams",urlParams)
// console.log("decodeURIComponent( window.location.href)",decodeURIComponent( window.location.href))
this.esignFlag = urlParams.get('esignFlag') || localStorage.getItem("esignFlag")
if(window.location.search){
console.log('有参数')
this.esignFlag = localStorage.getItem("esignFlag") || urlParams.get('esignFlag')
}else {
console.log('无参数,说明认证成功')
this.esignFlag =true
}
localStorage.setItem("esignFlag",this.esignFlag )
console.log("this.esignFlag ",this.esignFlag )
},
methods: {
getUrlParam(name){
let reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
let r = window.location.search.substr(1).match(reg);
if (r!=null) return unescape(r[2]); return null;
},
async getDetail() {
let res = await driverInfoVerifyDetail( {
verifyType: 1