From 0d4707520940affeb4ac1697bbce9cebf5da60f8 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 23 九月 2025 10:37:02 +0800 Subject: [PATCH] feat: 页面 --- apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue | 66 ++++++++++++++++---------------- 1 files changed, 33 insertions(+), 33 deletions(-) diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue index a086598..be2f9bb 100644 --- a/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue @@ -1,6 +1,6 @@ <template> <ContentScrollView :paddingH="false"> - <nut-form :model-value="form" ref="formRef" :rules="rules"> + <!-- <nut-form :model-value="form" ref="formRef" :rules="rules"> <nut-form-item label="钀ヤ笟鎵х収:" class="bole-form-item alignTop" prop="licenseUrl" required> <Uploader v-model:file-list="form.licenseUrl" @@ -161,17 +161,17 @@ <span class="primary" @click="downloadPowerAttorneyTemplate">鎺堟潈涔︽ā鏉夸笅杞�</span> </div> </nut-form-item> - </nut-form> + </nut-form> --> </ContentScrollView> <PageFooter :isOnlyAction="false"> - <PageFooterBtn type="primary" @click="handleSubmit()" :loading="loading" + <!-- <PageFooterBtn type="primary" @click="handleSubmit()" :loading="loading" >鎻愪氦璁よ瘉</PageFooterBtn - > + > --> </PageFooter> </template> <script setup lang="ts"> -import { useAuthenticationFlow, useDownloadPowerAttorneyTemplate } from '../hooks'; +// import { useAuthenticationFlow, useDownloadPowerAttorneyTemplate } from '../hooks'; import { UserCertificationModeEnumV2, VerificationCodeBusinessType, @@ -188,37 +188,37 @@ name: 'InnerPage', }); -const { form, rules, formRef, handleSubmit, loading } = useAuthenticationFlow({ - certificationMode: UserCertificationModeEnumV2.ProxyPersonPhoneCertification, - certificationElement: UserCertificationElementEnum.Identity3, -}); +// const { form, rules, formRef, handleSubmit, loading } = useAuthenticationFlow({ +// certificationMode: UserCertificationModeEnumV2.ProxyPersonPhoneCertification, +// certificationElement: UserCertificationElementEnum.Identity3, +// }); -const { downloadPowerAttorneyTemplate } = useDownloadPowerAttorneyTemplate(); +// const { downloadPowerAttorneyTemplate } = useDownloadPowerAttorneyTemplate(); -async function onGetCaptcha(phoneNumber: string) { - await commonServices.sendPhoneCertificationVerificationCode( - { - name: form.proxyPersonName, - identity: form.proxyPersonIdNumber, - mobile: form.proxyPersonContactPhone, - businessType: VerificationCodeBusinessType.UserCertificationPhoneCertification, - }, - { showLoading: false } - ); -} +// async function onGetCaptcha(phoneNumber: string) { +// await commonServices.sendPhoneCertificationVerificationCode( +// { +// name: form.proxyPersonName, +// identity: form.proxyPersonIdNumber, +// mobile: form.proxyPersonContactPhone, +// businessType: VerificationCodeBusinessType.UserCertificationPhoneCertification, +// }, +// { showLoading: false } +// ); +// } -const handleLicenseUrlChange = (response: FileItem) => { - vatLicense(response, { - onSuccess(res) { - let tips: string[] = []; - res?.name ? (form.enterpriseName = res.name) : tips.push('浼佷笟鍚嶇О'); - res?.societyCode ? (form.societyCreditCode = res.societyCode) : tips.push('缁熶竴绀句細淇$敤浠g爜'); - if (tips.length > 0) { - Message.error(`鏈兘璇嗗埆鍒版偍涓婁紶鐨勫浘鐗囷紝璇烽噸鏂颁笂浼犳竻鏅扮殑鍥剧墖鎴栨墜鍔ㄨ緭鍏�${tips.join('鍜�')}`); - } - }, - }); -}; +// const handleLicenseUrlChange = (response: FileItem) => { +// vatLicense(response, { +// onSuccess(res) { +// let tips: string[] = []; +// res?.name ? (form.enterpriseName = res.name) : tips.push('浼佷笟鍚嶇О'); +// res?.societyCode ? (form.societyCreditCode = res.societyCode) : tips.push('缁熶竴绀句細淇$敤浠g爜'); +// if (tips.length > 0) { +// Message.error(`鏈兘璇嗗埆鍒版偍涓婁紶鐨勫浘鐗囷紝璇烽噸鏂颁笂浼犳竻鏅扮殑鍥剧墖鎴栨墜鍔ㄨ緭鍏�${tips.join('鍜�')}`); +// } +// }, +// }); +// }; function handleFrontImgUrlChange(response: FileItem) { // userCredentialVerifyOcrIDCard(response, { -- Gitblit v1.9.1