|
|
@@ -14,7 +14,7 @@
|
|
|
<Cell :title="$t('user.authentication.cardbackphoto')" v-if="showCardBackPhoto === '1'">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.cardbackphotourl)" width="100" height="100" />
|
|
|
</Cell>
|
|
|
- <Cell :title="$t('user.authentication.halfbodyphoto')" v-if="showHalfBodyPhoto === '1'">
|
|
|
+ <Cell :title="halfBodyPhotoTitle" v-if="showHalfBodyPhoto === '1'">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.halfbodyphotourl)" width="100" height="100" />
|
|
|
</Cell>
|
|
|
<Cell :title="$t('user.authentication.authstatus')" :value="getAuthStatusName(2)" />
|
|
|
@@ -33,10 +33,14 @@ import { useRequest } from '@/hooks/request'
|
|
|
import { getCertificateTypeCodeName } from '@/constants/account'
|
|
|
import { getFileUrl } from '@/filters'
|
|
|
import { getWskhOpenAccountConfigs } from '@/services/api/account'
|
|
|
+import { i18n } from "@/stores";
|
|
|
+
|
|
|
+const { t } = i18n.global
|
|
|
|
|
|
const userInfo = shallowRef<Model.UserInfo>()
|
|
|
const showHalfBodyPhoto = shallowRef('0')
|
|
|
const showCardBackPhoto = shallowRef('0')
|
|
|
+const halfBodyPhotoTitle = shallowRef(t('user.authentication.halfbodyphoto'))
|
|
|
|
|
|
/// 查询托管银行信息
|
|
|
useRequest(queryWrDraftUserInfo, {
|
|
|
@@ -49,12 +53,13 @@ useRequest(queryWrDraftUserInfo, {
|
|
|
// 获取网上开户配置
|
|
|
useRequest(getWskhOpenAccountConfigs, {
|
|
|
params: {
|
|
|
- configs: '53,54'
|
|
|
+ configs: '53,54,78'
|
|
|
},
|
|
|
onSuccess: (res) => {
|
|
|
/// 是否显示半身照和 证件背面照
|
|
|
showHalfBodyPhoto.value = res.data.filter(e => { e.configid === 54})[0].configvalue ?? '0'
|
|
|
showCardBackPhoto.value = res.data.filter(e => { e.configid === 53})[0].configvalue ?? '0'
|
|
|
+ halfBodyPhotoTitle.value = res.data.filter(e => { e.configid === 78})[0].configvalue ?? t('user.authentication.halfbodyphoto')
|
|
|
}
|
|
|
})
|
|
|
|