Compare commits
4 Commits
5592ad773e
...
2e9f2a6fa1
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e9f2a6fa1 | |||
| 93aaaacd06 | |||
| 4fd27cfa0e | |||
| f4a2c6d6fa |
@ -31,10 +31,10 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</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 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>
|
<script>
|
||||||
// VConsole 默认会挂载到 `window.VConsole` 上
|
// VConsole 默认会挂载到 `window.VConsole` 上
|
||||||
let vConsole = new window.VConsole();
|
// let vConsole = new window.VConsole();
|
||||||
(function (doc, win) {
|
(function (doc, win) {
|
||||||
// console.log("==window.location.pathname===",window.location.pathname)
|
// console.log("==window.location.pathname===",window.location.pathname)
|
||||||
let docEl = doc.documentElement
|
let docEl = doc.documentElement
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
:border="false"
|
:border="false"
|
||||||
:fixed="true"
|
:fixed="true"
|
||||||
:safe-area-inset-top="true"
|
:safe-area-inset-top="true"
|
||||||
@click-left="h5GoBack"
|
@click-left="goListPage"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<tip-bar :title="'温馨提示:服务完成后,平台代收的运费需要提现到您的银行卡账户中,请确保您上传的银行卡信息真实可用。'"></tip-bar>
|
<tip-bar :title="'温馨提示:服务完成后,平台代收的运费需要提现到您的银行卡账户中,请确保您上传的银行卡信息真实可用。'"></tip-bar>
|
||||||
@ -101,7 +101,7 @@
|
|||||||
verifyType: 4
|
verifyType: 4
|
||||||
})
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.h5GoBack()
|
this.goListPage()
|
||||||
}, 100)
|
}, 100)
|
||||||
console.log('注册', res)
|
console.log('注册', res)
|
||||||
} else {
|
} else {
|
||||||
@ -115,6 +115,11 @@
|
|||||||
localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess)
|
localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess)
|
||||||
localStorage.setItem('name', res?.data?.name)
|
localStorage.setItem('name', res?.data?.name)
|
||||||
},
|
},
|
||||||
|
goListPage(){
|
||||||
|
this.goPage('auditList',{
|
||||||
|
token:localStorage.getItem('token')
|
||||||
|
})
|
||||||
|
},
|
||||||
async bankHandler(data) {
|
async bankHandler(data) {
|
||||||
this.form.bankName = ''
|
this.form.bankName = ''
|
||||||
this.form.cardNumber = ''
|
this.form.cardNumber = ''
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
:border="false"
|
:border="false"
|
||||||
:fixed="true"
|
:fixed="true"
|
||||||
:safe-area-inset-top="true"
|
:safe-area-inset-top="true"
|
||||||
@click-left="h5GoBack"
|
@click-left="goListPage"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<tip-bar :title="'应国家政策要求:从事货运行业的司机用户,身份证照片、驾驶证信息、行驶证信息、人车合影及承运资质信息必须进行实名认证。'"></tip-bar>
|
<tip-bar :title="'应国家政策要求:从事货运行业的司机用户,身份证照片、驾驶证信息、行驶证信息、人车合影及承运资质信息必须进行实名认证。'"></tip-bar>
|
||||||
@ -187,7 +187,7 @@
|
|||||||
verifyType: 2
|
verifyType: 2
|
||||||
})
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.h5GoBack()
|
this.goListPage()
|
||||||
}, 100)
|
}, 100)
|
||||||
}, async getRegisterInfo(data) {
|
}, async getRegisterInfo(data) {
|
||||||
let res = await infoVerifyProgress( data)
|
let res = await infoVerifyProgress( data)
|
||||||
@ -196,7 +196,11 @@
|
|||||||
localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess)
|
localStorage.setItem('authIsSuccess', res?.data?.authIsSuccess)
|
||||||
localStorage.setItem('name', res?.data?.name)
|
localStorage.setItem('name', res?.data?.name)
|
||||||
},
|
},
|
||||||
|
goListPage(){
|
||||||
|
this.goPage('auditList',{
|
||||||
|
token:localStorage.getItem('token')
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
:border="false"
|
:border="false"
|
||||||
:fixed="true"
|
:fixed="true"
|
||||||
:safe-area-inset-top="true"
|
:safe-area-inset-top="true"
|
||||||
@click-left="h5GoBack"
|
@click-left="goListPage"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<tip-bar :title="'应国家政策要求:从事货运行业的司机用户,身份证照片、驾驶证信息、行驶证信息、人车合影及承运资质信息必须进行实名认证。'"></tip-bar>
|
<tip-bar :title="'应国家政策要求:从事货运行业的司机用户,身份证照片、驾驶证信息、行驶证信息、人车合影及承运资质信息必须进行实名认证。'"></tip-bar>
|
||||||
@ -301,7 +301,7 @@
|
|||||||
verifyType: 3
|
verifyType: 3
|
||||||
})
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.h5GoBack()
|
this.goListPage()
|
||||||
}, 100)
|
}, 100)
|
||||||
},
|
},
|
||||||
async getRegisterInfo(data) {
|
async getRegisterInfo(data) {
|
||||||
@ -375,6 +375,11 @@
|
|||||||
});
|
});
|
||||||
return res;
|
return res;
|
||||||
},
|
},
|
||||||
|
goListPage(){
|
||||||
|
this.goPage('auditList',{
|
||||||
|
token:localStorage.getItem('token')
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
regionText() {
|
regionText() {
|
||||||
|
|||||||
@ -106,29 +106,22 @@
|
|||||||
if( this.show ) {
|
if( this.show ) {
|
||||||
await this.getDetail()
|
await this.getDetail()
|
||||||
}
|
}
|
||||||
let flag=this.getUrlParam('esignFlag')
|
|
||||||
console.log("flag",flag)
|
|
||||||
|
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
console.log("urlParams",urlParams)
|
console.log('window.location',window.location)
|
||||||
console.log("window---",window.location)
|
// console.log("urlParams",urlParams)
|
||||||
console.log("11111---",urlParams.get('token'))
|
// console.log("decodeURIComponent( window.location.href)",decodeURIComponent( window.location.href))
|
||||||
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"))
|
|
||||||
this.esignFlag = urlParams.get('esignFlag') || localStorage.getItem("esignFlag")
|
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 )
|
localStorage.setItem("esignFlag",this.esignFlag )
|
||||||
console.log("this.esignFlag ",this.esignFlag )
|
console.log("this.esignFlag ",this.esignFlag )
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
async getDetail() {
|
||||||
let res = await driverInfoVerifyDetail( {
|
let res = await driverInfoVerifyDetail( {
|
||||||
verifyType: 1
|
verifyType: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user