|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
<template> |
|
|
|
|
<view> |
|
|
|
|
<view class="" v-if="auth_status=='0'||auth_status=='3'"> |
|
|
|
|
<view class="" v-if="auth_status=='0'||zaitijiao"> |
|
|
|
|
<view class="box" > |
|
|
|
|
<uni-forms ref="form" :modelValue="formData" :rules="rules" label-width="200rpx"> |
|
|
|
|
<uni-forms-item label="姓名" name="name"> |
|
|
|
@ -54,9 +54,9 @@ |
|
|
|
|
拒绝原因 |
|
|
|
|
</view> |
|
|
|
|
<view class="jjyy"> |
|
|
|
|
身份证上传的不对 |
|
|
|
|
{{Info.reason}} |
|
|
|
|
</view> |
|
|
|
|
<button class="wtgsubbtn">重新认证</button> |
|
|
|
|
<button class="wtgsubbtn" @click="renzheng">重新认证</button> |
|
|
|
|
</view> |
|
|
|
|
<view class="cgbox" v-if="auth_status=='2'"> |
|
|
|
|
<image src="@/static/认证成功.png" mode="" class="shzimg"></image> |
|
|
|
@ -83,14 +83,42 @@ |
|
|
|
|
formData: { |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
auth_status:'' |
|
|
|
|
auth_status:'', |
|
|
|
|
Info:{}, |
|
|
|
|
zaitijiao:false |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad(e) { |
|
|
|
|
console.log('this.auth_status',e); |
|
|
|
|
this.auth_status=e.auth_status |
|
|
|
|
}, |
|
|
|
|
onShow() { |
|
|
|
|
this.authInfo() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
renzheng(){ |
|
|
|
|
this.zaitijiao=true |
|
|
|
|
this.formDataxs.sfzzm=this.Info.card_zm_img_url |
|
|
|
|
this.formDataxs.sfzfm=this.Info.card_fm_img_url |
|
|
|
|
this.formDataxs.jszzm=this.Info.driving_zm_img_url |
|
|
|
|
this.formDataxs.jszfm=this.Info.driving_fm_url |
|
|
|
|
this.formDataxs.xszzm=this.Info.drive_zm_url |
|
|
|
|
this.formDataxs.xszfm=this.Info.drive_fm_img_url |
|
|
|
|
// id |
|
|
|
|
this.formData.card_zm_img=this.Info.card_zm_img |
|
|
|
|
this.formData.card_fm_img=this.Info.card_fm_img |
|
|
|
|
this.formData.driving_zm_img=this.Info.driving_zm_img |
|
|
|
|
this.formData.driving_fm_img=this.Info.driving_fm_img |
|
|
|
|
this.formData.drive_zm_img=this.Info.drive_zm_img |
|
|
|
|
this.formData.drive_fm_img=this.Info.drive_fm_img |
|
|
|
|
this.formData.name=this.Info.name |
|
|
|
|
this.formData.card=this.Info.card |
|
|
|
|
}, |
|
|
|
|
authInfo(){ |
|
|
|
|
this.$api.authInfo().then(res=>{ |
|
|
|
|
this.Info=res.data |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
auth(){ |
|
|
|
|
this.$api.auth(this.formData).then(res=>{ |
|
|
|
|
uni.showToast({ |
|
|
|
|