|
|
@@ -10,18 +10,6 @@
|
|
|
{{ newData.userAccountDetailVo.accountName }}
|
|
|
</p>
|
|
|
</template>
|
|
|
- <!-- 是否实名 -->
|
|
|
- <template #isAuth="{ value }">
|
|
|
- {{ hasauthEnum.getEnumTypeName(value) }}
|
|
|
- </template>
|
|
|
- <!-- 状态 -->
|
|
|
- <template #accountStatus="{ value }">
|
|
|
- {{ areastatusEnum.getEnumTypeName(value) }}
|
|
|
- </template>
|
|
|
- <!-- 变更状态 -->
|
|
|
- <template #modifyStatus="{ value }">
|
|
|
- {{ modifystatusEnum.getEnumTypeName(value) }}
|
|
|
- </template>
|
|
|
<!-- 开户方式 -->
|
|
|
<template #openMode>
|
|
|
{{ oldData?.userinfoDetailVo.openMode }}
|
|
|
@@ -34,10 +22,6 @@
|
|
|
</app-table-details>
|
|
|
<app-table-details title="个人资料" :data="oldData?.userinfoDetailVo" :label-width="160" :cell-props="detailProps2"
|
|
|
:column="2" v-if="oldData?.userinfoDetailVo.userinfoType === 1">
|
|
|
- <!-- 证件类型 -->
|
|
|
- <template #cardTypeId="{ value }">
|
|
|
- {{ certypepersonEnum.getEnumTypeName(value) }}
|
|
|
- </template>
|
|
|
<!-- 证件照正面 -->
|
|
|
<template #cardFrontPhotoUrl="{ value }">
|
|
|
<el-image :src="value" fit="cover" lazy style="width: 128px; height: 72px" />
|
|
|
@@ -53,14 +37,6 @@
|
|
|
</app-table-details>
|
|
|
<app-table-details title="企业资料" :data="oldData?.userinfoDetailVo" :label-width="160" :cell-props="detailProps3"
|
|
|
:column="2" v-else>
|
|
|
- <!-- 企业性质 -->
|
|
|
- <template #biznature="{ value }">
|
|
|
- {{ biznatureEnum.getEnumTypeName(value) }}
|
|
|
- </template>
|
|
|
- <!-- 证件类型 -->
|
|
|
- <template #cardtype="{ value }">
|
|
|
- {{ certypecompanyEnum.getEnumTypeName(value) }}
|
|
|
- </template>
|
|
|
<!-- 营业执照 -->
|
|
|
<template #cardfrontphotourl="{ value }">
|
|
|
<el-image :src="value" fit="cover" lazy style="width: 128px; height: 72px" />
|
|
|
@@ -86,7 +62,7 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import { ref, PropType } from 'vue'
|
|
|
-import { handleNoneValue } from '@/filters'
|
|
|
+import { handleNoneValue, formatDate } from '@/filters'
|
|
|
import { decryptAES } from '@/services/crypto'
|
|
|
import { useEnum } from '@/hooks/enum'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
|
@@ -175,20 +151,20 @@ const detailProps1: CellProp[] = [
|
|
|
{ prop: 'memberUserName', label: '所属会员:' },
|
|
|
{ prop: 'parentUserName', label: '所属机构:' },
|
|
|
{ prop: 'openMode', label: '开户方式:' },
|
|
|
- { prop: 'createTime', label: '开户时间:' },
|
|
|
+ { prop: 'createTime', label: '开户时间:', formatValue: (val) => formatDate(val) },
|
|
|
{ prop: 'createName', formatLabel: () => oldData.value?.userinfoDetailVo.openMode === 1 ? '开户人' : '申请人' },
|
|
|
- { prop: 'accountStatus', label: '机构状态:', show: !hideField },
|
|
|
- { prop: 'modifyStatus', label: '变更状态:' },
|
|
|
- { prop: 'isAuth', label: '是否认证:' },
|
|
|
- { prop: 'modifyTime', label: '修改时间:' },
|
|
|
+ { prop: 'accountStatus', label: '机构状态:', formatValue: (val) => areastatusEnum.getEnumTypeName(val), show: !hideField },
|
|
|
+ { prop: 'modifyStatus', label: '变更状态:', formatValue: (val) => modifystatusEnum.getEnumTypeName(val) },
|
|
|
+ { prop: 'isAuth', label: '是否认证:', formatValue: (val) => hasauthEnum.getEnumTypeName(val) },
|
|
|
+ { prop: 'modifyTime', label: '修改时间:', formatValue: (val) => formatDate(val) },
|
|
|
{ prop: 'modifyName', label: '修改人:' },
|
|
|
- { prop: 'auditTime', label: '审核时间:', show: !hideField },
|
|
|
+ { prop: 'auditTime', label: '审核时间:', formatValue: (val) => formatDate(val), show: !hideField },
|
|
|
{ prop: 'auditAccountName', label: '审核人:', show: !hideField },
|
|
|
{ prop: 'modifyRemark', label: '变更审核备注:', show: hideField },
|
|
|
]
|
|
|
|
|
|
const detailProps2: CellProp[] = [
|
|
|
- { prop: 'cardTypeId', label: '证件类型:' },
|
|
|
+ { prop: 'cardTypeId', label: '证件类型:', formatValue: (val) => certypepersonEnum.getEnumTypeName(val) },
|
|
|
{ prop: 'cardNum', label: '证件号码:' },
|
|
|
{ prop: 'company', label: '所属公司:' },
|
|
|
{ prop: 'sex', label: '性别:' },
|
|
|
@@ -203,12 +179,12 @@ const detailProps2: CellProp[] = [
|
|
|
{ prop: 'remark', label: '备注:' },
|
|
|
]
|
|
|
|
|
|
-const detailProps3 = [
|
|
|
+const detailProps3: CellProp[] = [
|
|
|
{ prop: 'needInvoice', label: '是否需要发票:' },
|
|
|
- { prop: 'cardTypeId', label: '证件类型:' },
|
|
|
+ { prop: 'cardTypeId', label: '证件类型:', formatValue: (val) => certypecompanyEnum.getEnumTypeName(val) },
|
|
|
{ prop: 'cardNum', label: '证件号码:' },
|
|
|
{ prop: 'customerName', label: '企业名称:' },
|
|
|
- { prop: 'bizNature', label: '企业性质:' },
|
|
|
+ { prop: 'bizNature', label: '企业性质:', formatValue: (val) => biznatureEnum.getEnumTypeName(val) },
|
|
|
{ prop: 'legalPersonName', label: '法人姓名:' },
|
|
|
{ prop: 'contactName', label: '联系人:' },
|
|
|
{ prop: 'sex', label: '性别:' },
|