story#7189,回程车小程序司机端-迁移认证

This commit is contained in:
2025-09-09 16:39:28 +08:00
parent ceff5e008c
commit 7f8c482df1
5 changed files with 95 additions and 62 deletions

View File

@ -87,13 +87,13 @@
esignFlag: false,
}
},
async onLoad(options) {
if(options?.show) {
this.show = options.show
async mounted() {
// if(options?.show) {
this.show = true
if( this.show ) {
await this.getDetail()
}
}
// }
},
async onShow() {
this.esignFlag = localStorage.getItem('esignFlag');
@ -142,8 +142,6 @@
} else {
this.form.idCardValidEndTime = endDate.replace(/\./g, '/') + ' 00:00:00';
}
// console.log('this.form.idCardValidStartTime', this.form.idCardValidStartTime);
// console.log('this.form.idCardValidEndTime', this.form.idCardValidEndTime);
},
async idOrcHandler(url) {
await this.initForm()
@ -177,8 +175,9 @@
})
let info = res?.data
console.log('info', info)
/* let env = version=='release' ? 'prod' : 'sml'
uni.navigateToMiniProgram({
window.open(info?.shortLink)
/* let env = version=='release' ? 'prod' : 'sml'
wx.navigateToMiniProgram({
appId: 'wx1cf2708c2de46337', // 上链公证签小程序APPID
path: '/pages/index/index', // 上链公证签页面地址
extraData: {