From 63df6a1a37539f3ab7aa0b176b2a782107a1dffa Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 20 八月 2025 15:28:49 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp --- apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue index 98a0bb6..f1c3fe3 100644 --- a/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/authentication/authenticationRealName/InnerPage.vue @@ -159,6 +159,7 @@ } function handleSubmit() { + console.log('type: ', type); if (!formRef.value) return; formRef.value.validate().then(({ valid, errors }: any) => { if (valid) { @@ -176,7 +177,7 @@ } } -async function personalUserFaceReal() { +async function personalUserIdentity3Real() { try { let params: API.PersonalUserIdentity3RealCommand = { name: form.name, @@ -188,10 +189,26 @@ }; let res = await electronSignServices.personalUserIdentity3Real(params); if (res) { + Taro.navigateTo({ url: `${RouterPath.authenticationResult}` }); } } catch (error) {} } -async function personalUserIdentity3Real() {} + +async function personalUserFaceReal() { + try { + let params: API.PersonalUserFaceRealCommand = { + name: form.name, + identity: form.identity, + identityImg: form.identityImg?.[0]?.path ?? '', + identityBackImg: form.identityBackImg?.[0]?.path ?? '', + }; + let res = await electronSignServices.personalUserFaceReal(params); + if (res) { + const encodedUrl = encodeURIComponent(res); + Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` }); + } + } catch (error) {} +} </script> <style lang="scss"> -- Gitblit v1.9.1