Compare commits
6 Commits
5592ad773e
...
prod-25-09
| Author | SHA1 | Date | |
|---|---|---|---|
| beb97a0762 | |||
| 425c4c2043 | |||
| 2e9f2a6fa1 | |||
| 93aaaacd06 | |||
| 4fd27cfa0e | |||
| f4a2c6d6fa |
@ -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
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
<div class="reciceOrderIWrap" v-if="indexData">
|
||||
<circle-char ref="Doughnut1" :data="indexData && indexData.complainOrderRate" :title-text="'投诉率'" :bg-color="Number(indexData?.complainOrderRate || 0) <= 0.1 ? 'green' : 'red'"
|
||||
:is-store="false" @clickComplain="clickJumpHandle(7)"></circle-char>
|
||||
<circle-char ref="Doughnut2" :data="indexData && indexData.pinganFavorableRate" :title-text="'平安好评率'" :is-store="false"
|
||||
<circle-char v-if="false" ref="Doughnut2" :data="indexData && indexData.pinganFavorableRate" :title-text="'平安好评率'" :is-store="false"
|
||||
:bg-color="Number(indexData?.pinganFavorableRate || 0) >= 99.4 ? 'green' : 'red'"></circle-char>
|
||||
<circle-char ref="Doughnut3" :data="indexData && indexData.urgeRate" :title-text="'催促率'"
|
||||
:bg-color="Number(indexData?.urgeRate || 0) >= 3 ? 'red' : 'green'"></circle-char>
|
||||
@ -88,8 +88,8 @@
|
||||
<div class="num" :class="{'numRed': Number(indexData?.receiving) > 5, 'numGreen': Number(indexData?.receiving) <= 5 }">{{ indexData && indexData.receiving }}</div>
|
||||
<div class="itemTitle">接单时效(分)</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="center common">
|
||||
<div class="line" v-if="false"></div>
|
||||
<div class="center common" v-if="false">
|
||||
<div class="num" :class="{'numRed': Number(indexData?.pinganJuheSuccessArriving) > 22, 'numGreen': Number(indexData?.pinganJuheSuccessArriving) <= 22 }">{{ indexData && indexData.pinganJuheSuccessArriving }}</div>
|
||||
<div class="itemTitle">平安聚合成功到达时效(分)</div>
|
||||
</div>
|
||||
|
||||
@ -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 = ''
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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() {
|
||||
|
||||
@ -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
|
||||
@ -209,7 +202,8 @@
|
||||
phone: this.form.phone,
|
||||
name: this.form.name,
|
||||
idNo: this.form.identityCardNumber,
|
||||
token:token
|
||||
token:token,
|
||||
jump:1
|
||||
})
|
||||
let info = res?.data
|
||||
console.log('info', info)
|
||||
|
||||
Reference in New Issue
Block a user