| | |
| | | } from '@bole-core/components'; |
| | | import { useAccess, useGlobalEventContext } from '@/hooks'; |
| | | import CPersonDetailDialog from './components/CPersonDetailDialog.vue'; |
| | | import { convertApi2FormUrlOnlyOne, format } from '@/utils'; |
| | | import { convertApi2FormUrlOnlyOne, format, hiddenIDNumberForEnd4 } from '@/utils'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import * as userServices from '@/services/api/user'; |
| | | |
| | |
| | | return row.enterprises ? row.enterprises.map((x) => x).join(',') : ''; |
| | | }, |
| | | }, |
| | | identity: { |
| | | formatter: (row: API.GetPersonalUserInfosQueryResultItem) => { |
| | | return hiddenIDNumberForEnd4(row.identity); |
| | | }, |
| | | }, |
| | | }, |
| | | } |
| | | ); |
| | |
| | | age: row.age ?? ('' as any as number), |
| | | identityImg: row.identityImg ? convertApi2FormUrlOnlyOne(row.identityImg) : [], |
| | | identityBackImg: row.identityBackImg ? convertApi2FormUrlOnlyOne(row.identityBackImg) : [], |
| | | userRealTime: row.realTime ?? '', |
| | | |
| | | gender: row.gender, |
| | | tabType: 'user', |
| | |
| | | gender: '' as any as EnumUserGender, |
| | | identityImg: [] as UploadUserFile[], |
| | | identityBackImg: [] as UploadUserFile[], |
| | | userRealTime: '', |
| | | |
| | | tabType: '', |
| | | }, |