From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 17:34:30 +0800
Subject: [PATCH] fix: bug
---
apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue | 78 +++++++++++++++++++-------------------
1 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue
index d68eec5..00859ee 100644
--- a/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/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"
@@ -135,17 +135,17 @@
type="number"
/>
</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 } from '../hooks';
+// import { useAuthenticationFlow } from '../hooks';
import {
UserCertificationModeEnumV2,
VerificationCodeBusinessType,
@@ -154,7 +154,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';
@@ -162,43 +162,43 @@
name: 'InnerPage',
});
-const { form, rules, formRef, handleSubmit, loading } = useAuthenticationFlow({
- certificationMode: UserCertificationModeEnumV2.LegalPersonPhoneCertification,
- certificationElement: UserCertificationElementEnum.Identity4,
-});
+// const { form, rules, formRef, handleSubmit, loading } = useAuthenticationFlow({
+// certificationMode: UserCertificationModeEnumV2.LegalPersonPhoneCertification,
+// certificationElement: UserCertificationElementEnum.Identity4,
+// });
-async function onGetCaptcha(phoneNumber: string) {
- await commonServices.sendPhoneCertificationVerificationCode(
- {
- name: form.legalPersonName,
- identity: form.legalPersonIdNumber,
- mobile: form.legalPersonContactPhone,
- businessType: VerificationCodeBusinessType.UserCertificationPhoneCertification,
- },
- { showLoading: false }
- );
-}
+// async function onGetCaptcha(phoneNumber: string) {
+// await commonServices.sendPhoneCertificationVerificationCode(
+// {
+// name: form.legalPersonName,
+// identity: form.legalPersonIdNumber,
+// mobile: form.legalPersonContactPhone,
+// 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.legalPersonName = res.realName;
- if (res.idcardNum) form.legalPersonIdNumber = res.idcardNum;
- },
- });
+ // userCredentialVerifyOcrIDCard(response, {
+ // onSuccess(res) {
+ // if (res.realName) form.legalPersonName = res.realName;
+ // if (res.idcardNum) form.legalPersonIdNumber = res.idcardNum;
+ // },
+ // });
}
</script>
--
Gitblit v1.9.1