|
@@ -6,7 +6,8 @@
|
|
|
<div class="g-form__container" v-if="userInfo">
|
|
<div class="g-form__container" v-if="userInfo">
|
|
|
<CellGroup inset>
|
|
<CellGroup inset>
|
|
|
<Cell :title="$t('user.authentication.customername')" :value="userInfo.customername" />
|
|
<Cell :title="$t('user.authentication.customername')" :value="userInfo.customername" />
|
|
|
- <Cell :title="$t('user.authentication.cardtype')" :value="getCertificateTypeCodeName(userInfo.cardtypeid)" />
|
|
|
|
|
|
|
+ <Cell :title="$t('user.authentication.cardtype')"
|
|
|
|
|
+ :value="getCertificateTypeCodeName(userInfo.cardtypeid)" />
|
|
|
<Cell :title="$t('user.authentication.cardnum')" :value="userInfo.cardnum" />
|
|
<Cell :title="$t('user.authentication.cardnum')" :value="userInfo.cardnum" />
|
|
|
<Cell :title="$t('user.authentication.cardfrontphoto')">
|
|
<Cell :title="$t('user.authentication.cardfrontphoto')">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.cardfrontphotourl)" width="100" height="100" />
|
|
<Image fit="contain" :src="getFileUrl(userInfo.cardfrontphotourl)" width="100" height="100" />
|
|
@@ -17,7 +18,8 @@
|
|
|
<Cell :title="halfBodyPhotoTitle" v-if="showHalfBodyPhoto === '1'">
|
|
<Cell :title="halfBodyPhotoTitle" v-if="showHalfBodyPhoto === '1'">
|
|
|
<Image fit="contain" :src="getFileUrl(userInfo.halfbodyphotourl)" width="100" height="100" />
|
|
<Image fit="contain" :src="getFileUrl(userInfo.halfbodyphotourl)" width="100" height="100" />
|
|
|
</Cell>
|
|
</Cell>
|
|
|
- <Cell :title="$t('user.authentication.authstatus')" :value="getAuthStatusName(userStore.userAccount.hasauth)" />
|
|
|
|
|
|
|
+ <Cell :title="$t('user.authentication.authstatus')"
|
|
|
|
|
+ :value="getAuthStatusName(userStore.userAccount.hasauth)" />
|
|
|
</CellGroup>
|
|
</CellGroup>
|
|
|
</div>
|
|
</div>
|
|
|
<Empty :description="$t('common.nodatas')" v-else />
|
|
<Empty :description="$t('common.nodatas')" v-else />
|
|
@@ -32,8 +34,9 @@ import { queryWrDraftUserInfo } from '@/services/api/account'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { getCertificateTypeCodeName } from '@/constants/account'
|
|
import { getCertificateTypeCodeName } from '@/constants/account'
|
|
|
import { getFileUrl } from '@/filters'
|
|
import { getFileUrl } from '@/filters'
|
|
|
|
|
+import { decryptAES } from '@/services/websocket/package/crypto'
|
|
|
import { getWskhOpenAccountConfigs } from '@/services/api/account'
|
|
import { getWskhOpenAccountConfigs } from '@/services/api/account'
|
|
|
-import { i18n ,useUserStore} from "@/stores"
|
|
|
|
|
|
|
+import { i18n, useUserStore } from "@/stores"
|
|
|
|
|
|
|
|
const { t } = i18n.global
|
|
const { t } = i18n.global
|
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|
|
@@ -46,7 +49,10 @@ const halfBodyPhotoTitle = shallowRef(t('user.authentication.halfbodyphoto'))
|
|
|
useRequest(queryWrDraftUserInfo, {
|
|
useRequest(queryWrDraftUserInfo, {
|
|
|
onSuccess: (res) => {
|
|
onSuccess: (res) => {
|
|
|
/// 签约状态
|
|
/// 签约状态
|
|
|
- userInfo.value = res.data[0]
|
|
|
|
|
|
|
+ userInfo.value = res.data[0] ?? {
|
|
|
|
|
+ ...userStore.userInfo,
|
|
|
|
|
+ cardnum: decryptAES(userStore.userInfo.cardnum)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|