From edfae1d731f9962fcf23a35632ce45521fd73018 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 23 九月 2025 17:18:52 +0800 Subject: [PATCH] fix: bug --- apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue | 80 ++++++++++++++++++++-------------------- 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue index 932009e..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, @@ -180,7 +180,7 @@ import { ProFormCaptcha, ProFormItemCell } from 'senin-mini/components'; import * as commonServices from '@12333/services/api/Common'; import { FileItem } from '@nutui/nutui-taro/dist/types/__VUE/uploader/type'; -import { vatLicense, userCredentialVerifyOcrIDCard } from '@12333/hooks'; +import { vatLicense } from '@12333/hooks'; import { Message } from '@12333/utils'; import { Photograph } from '@nutui/icons-vue-taro'; @@ -188,45 +188,45 @@ 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, { - onSuccess(res) { - if (res.realName) form.proxyPersonName = res.realName; - if (res.idcardNum) form.proxyPersonIdNumber = res.idcardNum; - }, - }); + // userCredentialVerifyOcrIDCard(response, { + // onSuccess(res) { + // if (res.realName) form.proxyPersonName = res.realName; + // if (res.idcardNum) form.proxyPersonIdNumber = res.idcardNum; + // }, + // }); } </script> -- Gitblit v1.9.1