| | |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <ProFormItemV2 label="身份证正面:" prop="identityImg"> |
| | | <ProFormImageUpload v-model:file-url="detail.identityImg"> </ProFormImageUpload> |
| | | <ProFormImageUpload v-model:file-url="detail.identityImg" imgBlur> </ProFormImageUpload> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="身份证反面:" prop="identityBackImg"> |
| | | <ProFormImageUpload v-model:file-url="detail.identityBackImg"> </ProFormImageUpload> |
| | | <ProFormImageUpload v-model:file-url="detail.identityBackImg" imgBlur> </ProFormImageUpload> |
| | | </ProFormItemV2> |
| | | </ProForm> |
| | | </template> |
| | |
| | | ProFormRadio, |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | import { convertApi2FormUrlOnlyOne, format } from '@/utils'; |
| | | import { convertApi2FormUrlOnlyOne, format, hiddenIDNumberForEnd4 } from '@/utils'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { EnumUserGender, EnumUserGenderTextForPerson } from '@/constants'; |
| | | import * as enterpriseEmployeeServices from '@/services/api/enterpriseEmployee'; |
| | |
| | | }, |
| | | onSuccess(data) { |
| | | detail.name = data.name; |
| | | detail.identity = data.identity; |
| | | detail.identity = hiddenIDNumberForEnd4(data.identity); |
| | | detail.contactPhoneNumber = data.contactPhoneNumber; |
| | | detail.gender = data.gender; |
| | | detail.age = data.age ?? 0; |