You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.1 KiB
58 lines
1.1 KiB
12 months ago
|
<template>
|
||
|
<view>
|
||
|
<view class="block">
|
||
|
<view class="form-list">
|
||
|
<view class="line">
|
||
|
<view class="name">真实姓名</view>
|
||
|
<view class="val">{{ info.realName }}</view>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<view class="name">证件类型</view>
|
||
|
<view class="val">身份证</view>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<view class="name">身份证号码</view>
|
||
|
<view class="val">{{ info.idCardNo }}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="btn-wrap">
|
||
|
<view class="btn" @click="toAuth">重新认证</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { authenticationOrNot } from '@/apis/modules/user.js'
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
info: {
|
||
|
realName: '',
|
||
|
idCardNo: '',
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
onShow() {
|
||
|
this.getInfo()
|
||
|
},
|
||
|
methods: {
|
||
|
async getInfo() {
|
||
|
const res = await authenticationOrNot()
|
||
|
if (res.authenticationInformation) {
|
||
|
this.info = res.authenticationInformation
|
||
|
}
|
||
|
},
|
||
|
// 重新认证
|
||
|
toAuth() {
|
||
|
this.$util.to('/team/personAuth/personAuth')
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
|
||
|
</style>
|