diff --git a/src/api/index.js b/src/api/index.js index baff9bb..c13720b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -184,7 +184,10 @@ export const certificationApi = { headers: { 'Content-Type': 'multipart/form-data' } - }) + }), + + // 管理员代用户完成认证(暂不关联合同) + adminCompleteWithoutContract: (data) => request.post('/certifications/admin/complete-without-contract', data) } // API相关接口 diff --git a/src/pages/admin/users/index.vue b/src/pages/admin/users/index.vue index 9c57036..9b3d63c 100644 --- a/src/pages/admin/users/index.vue +++ b/src/pages/admin/users/index.vue @@ -469,42 +469,46 @@ - -
+ +

企业信息

企业名称: - {{ selectedUser.enterprise_info.company_name }} + {{ selectedUser.enterprise_info?.company_name || '-' }}
统一社会信用代码: - {{ selectedUser.enterprise_info.unified_social_code }} + {{ selectedUser.enterprise_info?.unified_social_code || '-' }}
法定代表人: - {{ selectedUser.enterprise_info.legal_person_name }} + {{ selectedUser.enterprise_info?.legal_person_name || '-' }}
法定代表人手机: - {{ formatPhone(selectedUser.enterprise_info.legal_person_phone) }} + {{ selectedUser.enterprise_info?.legal_person_phone ? + formatPhone(selectedUser.enterprise_info.legal_person_phone) : '-' }}
企业地址: - {{ selectedUser.enterprise_info.enterprise_address }} + {{ selectedUser.enterprise_info?.enterprise_address || '-' }}
企业邮箱: - {{ selectedUser.enterprise_info.enterprise_email || '-' }} + {{ selectedUser.enterprise_info?.enterprise_email || '-' }}
认证时间: - {{ formatDate(selectedUser.enterprise_info.created_at) }} + {{ selectedUser.enterprise_info?.created_at ? + formatDate(selectedUser.enterprise_info.created_at) : '-' }}
-
+

合同信息

该用户尚未完成企业认证
完成企业认证后可查看详细信息
+
+ + 代用户完成认证 + +
@@ -641,12 +650,61 @@
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +