From 12446d3fedd1efb701c06413019bff9a21ed4eb6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 13 八月 2025 13:28:25 +0800 Subject: [PATCH] fix: 灵工管理 --- apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue | 14 +++--- apps/cMiniApp/src/subpackages/wallet/unboundBankCard/InnerPage.vue | 1 apps/bMiniApp/src/hooks/user.ts | 1 apps/cMiniApp/src/subpackages/user/complaint/complaint.vue | 1 apps/bMiniApp/src/hooks/authentication.ts | 1 apps/bMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue | 14 +++--- apps/cMiniApp/src/subpackages/authentication/hooks/index.ts | 1 apps/bMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue | 14 +++--- apps/bMiniApp/src/subpackages/authentication/hooks/index.ts | 2 - packages/hooks/identify.ts | 1 packages/hooks/setting.ts | 1 apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue | 14 +++--- 12 files changed, 28 insertions(+), 37 deletions(-) diff --git a/apps/bMiniApp/src/hooks/authentication.ts b/apps/bMiniApp/src/hooks/authentication.ts index 115a143..f70ffe8 100644 --- a/apps/bMiniApp/src/hooks/authentication.ts +++ b/apps/bMiniApp/src/hooks/authentication.ts @@ -1,4 +1,3 @@ -// import * as userServices from '@12333/services/api/User'; import { useQuery, useQueryClient } from '@tanstack/vue-query'; import { getUserCertificationFrontStatusAdapter } from '@12333/utils'; import { UserCertificationFrontStatus } from '@12333/constants'; diff --git a/apps/bMiniApp/src/hooks/user.ts b/apps/bMiniApp/src/hooks/user.ts index 0e00d5b..6488550 100644 --- a/apps/bMiniApp/src/hooks/user.ts +++ b/apps/bMiniApp/src/hooks/user.ts @@ -2,7 +2,6 @@ import Taro from '@tarojs/taro'; import { object2query, LocationUtils } from '@12333/utils'; import { ParkOrHRStatus, UserCertificationFrontStatus } from '@12333/constants'; -// import * as userServices from '@12333/services/api/User'; import { useQuery } from '@tanstack/vue-query'; import { MaybeRef } from 'vue'; import { useRefeshDidShow } from '@12333/hooks/infiniteLoading'; diff --git a/apps/bMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue b/apps/bMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue index d68eec5..ff306d0 100644 --- a/apps/bMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue +++ b/apps/bMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue @@ -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'; @@ -193,12 +193,12 @@ }; 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> diff --git a/apps/bMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue b/apps/bMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue index 932009e..a086598 100644 --- a/apps/bMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue +++ b/apps/bMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue @@ -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'; @@ -221,12 +221,12 @@ }; 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> diff --git a/apps/bMiniApp/src/subpackages/authentication/hooks/index.ts b/apps/bMiniApp/src/subpackages/authentication/hooks/index.ts index 8fddc35..6cae857 100644 --- a/apps/bMiniApp/src/subpackages/authentication/hooks/index.ts +++ b/apps/bMiniApp/src/subpackages/authentication/hooks/index.ts @@ -9,8 +9,6 @@ UserCertificationChannelEnum, UserCertificationPayType, } from '@12333/constants'; -import * as commonServices from '@12333/services/api/Common'; -// import * as userServices from '@12333/services/api/User'; import { FormValidator, Message } from '@12333/utils'; // import { useUserCertificationSetting } from '@12333/hooks'; import Taro from '@tarojs/taro'; diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue index d68eec5..ff306d0 100644 --- a/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/authentication/authenticationFaRen/InnerPage.vue @@ -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'; @@ -193,12 +193,12 @@ }; 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> diff --git a/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue b/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue index 932009e..a086598 100644 --- a/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/authentication/authenticationJBR/InnerPage.vue @@ -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'; @@ -221,12 +221,12 @@ }; 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> diff --git a/apps/cMiniApp/src/subpackages/authentication/hooks/index.ts b/apps/cMiniApp/src/subpackages/authentication/hooks/index.ts index 47afee2..ff0217d 100644 --- a/apps/cMiniApp/src/subpackages/authentication/hooks/index.ts +++ b/apps/cMiniApp/src/subpackages/authentication/hooks/index.ts @@ -9,7 +9,6 @@ UserCertificationChannelEnum, UserCertificationPayType, } from '@12333/constants'; -import * as commonServices from '@12333/services/api/Common'; import * as userServices from '@12333/services/api/User'; import { FormValidator, Message } from '@12333/utils'; import { useUserCertificationSetting } from '@12333/hooks'; diff --git a/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue b/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue index 445dd60..d0a1435 100644 --- a/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue +++ b/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue @@ -52,7 +52,6 @@ <script setup lang="ts"> import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; -// import * as cooperationApplyServices from '@12333/services/api/CooperationApply'; import { CooperateTypeText, CooperateApplyTypeEnum } from '@12333/constants'; import { FormValidator, Message } from '@12333/utils'; import Taro from '@tarojs/taro'; diff --git a/apps/cMiniApp/src/subpackages/wallet/unboundBankCard/InnerPage.vue b/apps/cMiniApp/src/subpackages/wallet/unboundBankCard/InnerPage.vue index 05389a4..fd5fbd0 100644 --- a/apps/cMiniApp/src/subpackages/wallet/unboundBankCard/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/wallet/unboundBankCard/InnerPage.vue @@ -50,7 +50,6 @@ import { Message } from '@12333/utils'; import { VerificationCodeBusinessType } from '@12333/constants'; import * as commonServices from '@12333/services/api/Common'; -// import * as userResumeServices from '@12333/services/api/userResume'; import Taro from '@tarojs/taro'; import { useQuery } from '@tanstack/vue-query'; diff --git a/packages/hooks/identify.ts b/packages/hooks/identify.ts index 8981b94..a96f9d4 100644 --- a/packages/hooks/identify.ts +++ b/packages/hooks/identify.ts @@ -1,5 +1,4 @@ import * as accountServices from '@12333/services/api/Account'; -import * as commonServices from '@12333/services/api/Common'; import { FileItem } from '@nutui/nutui-taro/dist/types/__VUE/uploader/type'; import _ from 'lodash'; diff --git a/packages/hooks/setting.ts b/packages/hooks/setting.ts index a47f58d..1ec28eb 100644 --- a/packages/hooks/setting.ts +++ b/packages/hooks/setting.ts @@ -1,4 +1,3 @@ -// import * as settingServices from '@12333/services/api/Setting'; import { useQuery } from '@tanstack/vue-query'; import { MaybeRef, Ref, unref } from 'vue'; import { BusinessSettingType, TempFolderPath } from '@12333/constants'; -- Gitblit v1.9.1