|
|
@@ -12,17 +12,16 @@
|
|
|
<Cell :title="t('banksign.mobilephone')" :value="userInfo.mobile2" v-if="userInfo.mobile2" />
|
|
|
<Cell :title="t('banksign.bankname1')" :value="userInfo.bankbankname" v-if="userInfo.bankbankname" />
|
|
|
<Cell :title="t('banksign.bankno')" :value="userInfo.bankaccount" v-if="userInfo.bankaccount" />
|
|
|
- <Cell v-if="userInfo.userinfotype === 1" :title="t('user.authentication.cardfrontphoto')">
|
|
|
- <Image fit="contain" :src="getFileUrl(userInfo.cardfrontphotourl)" width="100" height="100" />
|
|
|
- </Cell>
|
|
|
- <Cell v-if="userInfo.userinfotype === 2" :title="t('user.authentication.cardfrontphoto1')">
|
|
|
+ <Cell v-if="userInfo.cardfrontphotourl"
|
|
|
+ :title="t(userInfo.userinfotype === 1 ? 'user.authentication.cardfrontphoto' : 'user.authentication.cardfrontphoto1')">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.cardfrontphotourl)" width="100" height="100" />
|
|
|
</Cell>
|
|
|
<Cell :title="t('user.authentication.cardbackphoto')"
|
|
|
- v-if="showCardBackPhoto && userInfo.userinfotype === 1">
|
|
|
+ v-if="showCardBackPhoto && userInfo.cardbackphotourl && userInfo.userinfotype === 1">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.cardbackphotourl)" width="100" height="100" />
|
|
|
</Cell>
|
|
|
- <Cell :title="halfBodyPhotoTitle" v-if="showHalfBodyPhoto && userInfo.userinfotype === 1">
|
|
|
+ <Cell :title="halfBodyPhotoTitle"
|
|
|
+ v-if="showHalfBodyPhoto && userInfo.halfbodyphotourl && userInfo.userinfotype === 1">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.halfbodyphotourl)" width="100" height="100" />
|
|
|
</Cell>
|
|
|
<Cell :title="t('user.authentication.authstatus')"
|
|
|
@@ -67,7 +66,9 @@ const { data, loading, run } = useRequest(queryWrDraftUserInfo, {
|
|
|
data.value = res.data[0]
|
|
|
},
|
|
|
onFinally: () => {
|
|
|
- toast.close()
|
|
|
+ userStore.getUserData().finally(() => {
|
|
|
+ toast.close()
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
|