6 Commits

Author SHA1 Message Date
beb97a0762 kpi总览界面,隐藏两个平安的指标 2025-09-17 15:33:11 +08:00
425c4c2043 实名认证接口加参数ump:1 2025-09-15 13:18:53 +08:00
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
6 changed files with 38 additions and 30 deletions

View File

@ -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

View File

@ -65,7 +65,7 @@
<div class="reciceOrderIWrap" v-if="indexData"> <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'" <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> :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> :bg-color="Number(indexData?.pinganFavorableRate || 0) >= 99.4 ? 'green' : 'red'"></circle-char>
<circle-char ref="Doughnut3" :data="indexData && indexData.urgeRate" :title-text="'催促率'" <circle-char ref="Doughnut3" :data="indexData && indexData.urgeRate" :title-text="'催促率'"
:bg-color="Number(indexData?.urgeRate || 0) >= 3 ? 'red' : 'green'"></circle-char> :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="num" :class="{'numRed': Number(indexData?.receiving) > 5, 'numGreen': Number(indexData?.receiving) <= 5 }">{{ indexData && indexData.receiving }}</div>
<div class="itemTitle">接单时效(分)</div> <div class="itemTitle">接单时效(分)</div>
</div> </div>
<div class="line"></div> <div class="line" v-if="false"></div>
<div class="center common"> <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="num" :class="{'numRed': Number(indexData?.pinganJuheSuccessArriving) > 22, 'numGreen': Number(indexData?.pinganJuheSuccessArriving) <= 22 }">{{ indexData && indexData.pinganJuheSuccessArriving }}</div>
<div class="itemTitle">平安聚合成功到达时效(分)</div> <div class="itemTitle">平安聚合成功到达时效(分)</div>
</div> </div>

View File

@ -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 = ''

View File

@ -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>

View File

@ -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() {

View File

@ -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
@ -209,7 +202,8 @@
phone: this.form.phone, phone: this.form.phone,
name: this.form.name, name: this.form.name,
idNo: this.form.identityCardNumber, idNo: this.form.identityCardNumber,
token:token token:token,
jump:1
}) })
let info = res?.data let info = res?.data
console.log('info', info) console.log('info', info)