From a5e34f46123b7169dc38a0c6657ab4f1ac479558 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 15 十月 2025 10:39:49 +0800 Subject: [PATCH] Merge branch 'master' into dev-1.1.2 --- src/services/api/index.ts | 2 src/utils/LoggerRecord/index.ts | 58 +++++++++++++++++++ src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue | 2 src/services/api/typings.d.ts | 11 +++ package.json | 3 src/views/ServiceChargeManage/ServiceChargeManage.vue | 2 src/constants/apiEnum.ts | 12 ++++ pnpm-lock.yaml | 43 +++++++------ src/utils/request/index.ts | 32 ++++++++++ 9 files changed, 142 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index af27534..de015a3 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@bole-12333/chat-kit": "latest", "@bole-12333/customer-chat": "latest", "@bole-core/components": "^1.3.17", - "@bole-core/core": "^1.0.7", + "@bole-core/core": "^1.0.8", "@bole-core/pretty-layout": "latest", "@bole-core/sass-utils": "latest", "@bole-core/theme": "latest", @@ -62,6 +62,7 @@ "semver": "^7.6.3", "senin-help": "latest", "senin-vue": "latest", + "senior-request": "1.0.10", "sortablejs": "1.15.0", "tim-js-sdk": "^2.27.5", "trtc-js-sdk": "^4.15.19", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8117bbb..173a762 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,19 +15,19 @@ dependencies: '@bole-12333/chat-kit': specifier: latest - version: 1.0.1(@tencentcloud/chat-uikit-engine@2.5.5)(lodash@4.17.21)(vue@3.5.11) + version: 1.0.1(@tencentcloud/chat-uikit-engine@2.5.6)(lodash@4.17.21)(vue@3.5.11) '@bole-12333/customer-chat': specifier: latest version: 1.0.3(@bole-12333/chat-kit@1.0.1)(@tiptap/core@2.1.13)(@tiptap/extension-document@2.1.13)(@tiptap/extension-image@2.1.13)(@tiptap/extension-mention@2.1.13)(@tiptap/extension-paragraph@2.1.13)(@tiptap/extension-placeholder@2.1.13)(@tiptap/extension-text@2.1.13)(@tiptap/pm@2.1.13)(@tiptap/suggestion@2.1.13)(dayjs@1.11.6)(vue@3.5.11) '@bole-core/components': specifier: ^1.3.17 - version: 1.3.17(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.11.2)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11) + version: 1.3.17(@bole-core/core@1.0.8)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.11.2)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11) '@bole-core/core': - specifier: ^1.0.7 - version: 1.0.7(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.1)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) + specifier: ^1.0.8 + version: 1.0.8(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.10)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/pretty-layout': specifier: latest - version: 1.2.0(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.11.2)(fuse.js@6.6.2)(lottie-web@5.10.2)(path-browserify@1.0.1)(path-to-regexp@6.2.1)(pinia@2.2.4)(vue-router@4.4.5)(vue@3.5.11) + version: 1.2.0(@bole-core/core@1.0.8)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.11.2)(fuse.js@6.6.2)(lottie-web@5.10.2)(path-browserify@1.0.1)(path-to-regexp@6.2.1)(pinia@2.2.4)(vue-router@4.4.5)(vue@3.5.11) '@bole-core/sass-utils': specifier: latest version: 0.0.1(element-plus@2.11.2) @@ -148,6 +148,9 @@ senin-vue: specifier: latest version: 1.0.4(@tanstack/vue-query@4.37.1)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(lodash@4.17.21)(mitt@3.0.0)(semver@7.6.3)(senin-help@1.0.5)(vue@3.5.11) + senior-request: + specifier: 1.0.10 + version: 1.0.10(axios@1.7.7) sortablejs: specifier: 1.15.0 version: 1.15.0 @@ -1847,14 +1850,14 @@ '@babel/helper-validator-identifier': 7.25.9 dev: false - /@bole-12333/chat-kit@1.0.1(@tencentcloud/chat-uikit-engine@2.5.5)(lodash@4.17.21)(vue@3.5.11): + /@bole-12333/chat-kit@1.0.1(@tencentcloud/chat-uikit-engine@2.5.6)(lodash@4.17.21)(vue@3.5.11): resolution: {integrity: sha512-yeSh4XLagaM+uNZRdcG49mhDJO3UbYEpIYZS4Lk303ROnTwxuZyuh5jkoflnCFwWN3Ib3AolfQy999oOqF012A==} peerDependencies: '@tencentcloud/chat-uikit-engine': '*' lodash: '*' vue: 3.5.11 dependencies: - '@tencentcloud/chat-uikit-engine': 2.5.5 + '@tencentcloud/chat-uikit-engine': 2.5.6 lodash: 4.17.21 vue: 3.5.11(typescript@4.8.4) dev: false @@ -1875,7 +1878,7 @@ dayjs: '*' vue: 3.5.11 dependencies: - '@bole-12333/chat-kit': 1.0.1(@tencentcloud/chat-uikit-engine@2.5.5)(lodash@4.17.21)(vue@3.5.11) + '@bole-12333/chat-kit': 1.0.1(@tencentcloud/chat-uikit-engine@2.5.6)(lodash@4.17.21)(vue@3.5.11) '@tiptap/core': 2.1.13(@tiptap/pm@2.1.13) '@tiptap/extension-document': 2.1.13(@tiptap/core@2.1.13) '@tiptap/extension-image': 2.1.13(@tiptap/core@2.1.13) @@ -1889,7 +1892,7 @@ vue: 3.5.11(typescript@4.8.4) dev: false - /@bole-core/components@1.3.17(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.11.2)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11): + /@bole-core/components@1.3.17(@bole-core/core@1.0.8)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@11.1.0)(dayjs@1.11.6)(element-plus@2.11.2)(lodash@4.17.21)(mitt@3.0.0)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.20.3)(vue-component-type-helpers@2.1.6)(vue@3.5.11): resolution: {integrity: sha512-LNA8MDqa0hE6y4GG2YEn/F9Aj6kG2NfbE33/QJKrD+KhJULtt6v5bdsSTu10nUQFCqFwZtngYkMAcmDvU98bqw==} peerDependencies: '@bole-core/core': '*' @@ -1909,7 +1912,7 @@ vue: 3.5.11 vue-component-type-helpers: ^2.1.6 dependencies: - '@bole-core/core': 1.0.7(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.1)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) + '@bole-core/core': 1.0.8(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.10)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/sass-utils': 0.0.1(element-plus@2.11.2) '@element-plus/icons-vue': 2.3.1(vue@3.5.11) '@tanstack/vue-query': 4.37.1(vue@3.5.11) @@ -1927,8 +1930,8 @@ vue-component-type-helpers: 2.1.6 dev: false - /@bole-core/core@1.0.7(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.1)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5): - resolution: {integrity: sha512-VICs9m+qAaMvORNcaKSP1Gkr4thhxvwooh2hd7fBmkIYqDitOYmcssBsPno7jjp+5fuZYQ3LwHQ9Vl/whbTpCw==} + /@bole-core/core@1.0.8(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.10)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5): + resolution: {integrity: sha512-Hq/+GU2ck1PUIDdSpu1onIPRrzNhuhMSnxZeT/LSg0V9WVJ0SHEiMtHLWqbLFJPZYmFcgWuJNC4JamRMSTESVA==} peerDependencies: '@ywwlmm/openapi': '*' ali-oss: '*' @@ -1952,14 +1955,14 @@ file-saver: 2.0.5 jszip: 3.10.1 lodash: 4.17.21 - senior-request: 1.0.1(axios@1.7.7) + senior-request: 1.0.10(axios@1.7.7) vue: 3.5.11(typescript@4.8.4) vue-router: 4.4.5(vue@3.5.11) xlsx: 0.18.5 xlsx-style: 0.8.13(patch_hash=6ixwdxwh5a3amidwu6vee22jpi) dev: false - /@bole-core/pretty-layout@1.2.0(@bole-core/core@1.0.7)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.11.2)(fuse.js@6.6.2)(lottie-web@5.10.2)(path-browserify@1.0.1)(path-to-regexp@6.2.1)(pinia@2.2.4)(vue-router@4.4.5)(vue@3.5.11): + /@bole-core/pretty-layout@1.2.0(@bole-core/core@1.0.8)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.11.2)(fuse.js@6.6.2)(lottie-web@5.10.2)(path-browserify@1.0.1)(path-to-regexp@6.2.1)(pinia@2.2.4)(vue-router@4.4.5)(vue@3.5.11): resolution: {integrity: sha512-LvneMdMfGj6dpFR7voQd2F+v02P4zYHGP3BAWKcrTj8BMeWXRt08Sz7qBrhq1F8lidjqi7TCttQbx2cEV1qBEA==} peerDependencies: '@bole-core/core': '*' @@ -1975,7 +1978,7 @@ vue: 3.5.11 vue-router: '*' dependencies: - '@bole-core/core': 1.0.7(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.1)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) + '@bole-core/core': 1.0.8(@ywwlmm/openapi@0.0.3)(ali-oss@6.21.0)(axios@1.7.7)(dayjs@1.11.6)(element-plus@2.11.2)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.10)(vue-router@4.4.5)(vue@3.5.11)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/sass-utils': 0.0.1(element-plus@2.11.2) '@element-plus/icons-vue': 2.3.1(vue@3.5.11) '@vueuse/core': 11.1.0(vue@3.5.11) @@ -3745,8 +3748,8 @@ '@tencentcloud/tui-core': 2.5.1 dev: false - /@tencentcloud/chat-uikit-engine@2.5.5: - resolution: {integrity: sha512-WWFmtpRwNXgtRXWgb0mhzeigFGZimMbgvi1fVmu9sY5+RtF9RiayC/ESokaMVs591l7mcZf4/BXCQNtUi3eZiQ==} + /@tencentcloud/chat-uikit-engine@2.5.6: + resolution: {integrity: sha512-hzGkruR3j5S/9hx7HfGBWvHAZ7FZqpkl5LEz0z9sVm3faG/IaBkeTCjPmvN9kGIdDIan8Jn6mhVW57EEx7E8UQ==} dependencies: '@tencentcloud/chat': 3.5.9 tim-profanity-filter-plugin: 1.1.0 @@ -3769,7 +3772,7 @@ '@tencentcloud/call-uikit-vue': 4.0.9 '@tencentcloud/call-uikit-vue2': 4.0.9 '@tencentcloud/call-uikit-vue2.6': 4.0.9(vue@3.5.11) - '@tencentcloud/chat-uikit-engine': 2.5.5 + '@tencentcloud/chat-uikit-engine': 2.5.6 '@tencentcloud/tui-core': 2.5.1 '@tencentcloud/tui-customer-service-plugin': 2.2.6(@tencentcloud/tui-core@2.5.1)(vue@3.5.11) '@tiptap/core': 2.1.13(@tiptap/pm@2.1.13) @@ -13711,8 +13714,8 @@ vue: 3.5.11(typescript@4.8.4) dev: false - /senior-request@1.0.1(axios@1.7.7): - resolution: {integrity: sha512-2S3B+7ZUuM91aOZLnZBIFiCsaJsH51ZlwUOW7TEhW9gmKymePcYRk9N6PV5dINoHBaZkpAm4LdQuKpHZoDJzWw==} + /senior-request@1.0.10(axios@1.7.7): + resolution: {integrity: sha512-qHJaP7SrxK+YpiThJII2QXy+nXcjC5liNJizFsAEoFoLQ+eVBSA4hTC/nIC+WD7PEuboFOZCiriCm6KKJbMQBA==} peerDependencies: axios: '*' dependencies: diff --git a/src/constants/apiEnum.ts b/src/constants/apiEnum.ts index ab0ae9b..8571638 100644 --- a/src/constants/apiEnum.ts +++ b/src/constants/apiEnum.ts @@ -439,6 +439,18 @@ Fail = 30, } +/** 鐭俊鐘舵�� */ +export enum EnumSmsStatus { + /**寰呭彂閫� */ + Wait = 0, + /**鍙戦�佷腑 */ + InProcess = 10, + /**鍙戦�佹垚鍔� */ + Success = 20, + /**鍙戦�佸け璐� */ + Fail = 30, +} + /** 浠诲姟缁撶畻鐘舵�� */ export enum EnumTaskCheckReceiveStatus { /**寰呮彁浜� */ diff --git a/src/services/api/index.ts b/src/services/api/index.ts index ade7e8b..dc9f0f3 100644 --- a/src/services/api/index.ts +++ b/src/services/api/index.ts @@ -5,6 +5,7 @@ import * as enterpriseEmployee from './enterpriseEmployee'; import * as user from './user'; import * as role from './role'; +import * as sms from './sms'; import * as ocrUtils from './ocrUtils'; import * as task from './task'; import * as enterprise from './enterprise'; @@ -27,6 +28,7 @@ enterpriseEmployee, user, role, + sms, ocrUtils, task, enterprise, diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 2735baf..1037159 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -962,6 +962,17 @@ Fail = 30, } + enum EnumSmsStatus { + /**寰呭彂閫� */ + Wait = 0, + /**鍙戦�佷腑 */ + InProcess = 10, + /**鍙戦�佹垚鍔� */ + Success = 20, + /**鍙戦�佸け璐� */ + Fail = 30, + } + enum EnumTaskCheckReceiveStatus { /**寰呮彁浜� */ WaitSubmit = 10, diff --git a/src/utils/LoggerRecord/index.ts b/src/utils/LoggerRecord/index.ts new file mode 100644 index 0000000..46ce4c1 --- /dev/null +++ b/src/utils/LoggerRecord/index.ts @@ -0,0 +1,58 @@ +import * as logRecordsServices from '@/services/api/logRecords'; +import config from '@config/config'; +import { LoggerRecord, LogOptions, LoggerRecordOptions, LoggerRecordLevel } from 'senior-request'; + +type HttpLogOptions = { + httpParams?: Omit<API.SaveFrontConsoleLogCommand, 'level' | 'content'>; +} & LogOptions; + +class HttpLoggerRecord extends LoggerRecord<HttpLogOptions> { + constructor(options: LoggerRecordOptions = {}) { + super(options); + } + + convertLogLevel(level: LoggerRecordLevel): EnumLogLevel { + switch (level) { + case 'debug': + return EnumLogLevel.Debug; + case 'info': + return EnumLogLevel.Information; + case 'warn': + return EnumLogLevel.Warning; + case 'error': + return EnumLogLevel.Error; + case 'log': + return EnumLogLevel.Trace; + default: + return EnumLogLevel.Debug; + } + } + + log(level: LoggerRecordLevel, options: HttpLogOptions): void { + const httpUrl = options?.httpParams?.url ?? ''; + if (httpUrl.toLowerCase().includes('saveFrontConsoleLog'.toLowerCase())) return; + const args = [...(options.args || []), options.httpParams].filter(Boolean); + super.log(level, { + ...options, + args: args, + }); + let params: API.SaveFrontConsoleLogCommand = { + /** 璺熻釜Id */ + traceId: options.httpParams?.traceId, + level: this.convertLogLevel(level), + /** 鍐呭 */ + content: `[${this.config.moduleName}] ${options.message}`, + /** 鍫嗘爤璺熻釜 */ + stackTrace: options.httpParams?.stackTrace, + /** 閾炬帴鍦板潃 */ + url: options.httpParams?.url, + ext: JSON.stringify(args), + }; + logRecordsServices.saveFrontConsoleLog(params, { showLoading: false, skipErrorHandler: true }); + } +} + +export const httpLoggerRecord = new HttpLoggerRecord({ + moduleName: config.title, + enableStorage: true, +}); diff --git a/src/utils/request/index.ts b/src/utils/request/index.ts index e11bb12..d5c39ef 100644 --- a/src/utils/request/index.ts +++ b/src/utils/request/index.ts @@ -7,6 +7,7 @@ import { ElLoading as Loading, ElNotification } from 'element-plus'; import { router } from '@/router'; import { Message, tokenIsExpired } from '@/utils'; +import { httpLoggerRecord } from '../LoggerRecord'; // 鍔犺浇鐜鍙橀噺 VITE_PROXY_DOMAIN锛堝紑鍙戠幆澧冿級 VITE_PROXY_DOMAIN_REAL锛堟墦鍖呭悗鐨勭嚎涓婄幆澧冿級 const { VITE_PROXY_DOMAIN, VITE_PROXY_DOMAIN_REAL, DEV } = loadEnv(); @@ -67,6 +68,7 @@ */ msg?: string; showType?: ErrorShowType; + traceId?: string; } interface ErrorResponse { @@ -107,6 +109,19 @@ // 閿欒鎺ユ敹鍙婂鐞� errorHandler: (error, opts) => { console.log('error: ', error); + + const url = opts.url ?? ''; + httpLoggerRecord.error({ + message: `[${url}] 璇锋眰閿欒`, + httpParams: { + url: url, + //@ts-ignore + traceId: error?.info?.traceId, + stackTrace: error.stack, + }, + args: [{ data: opts.data, params: opts.params, headers: opts.headers }], + }); + if (opts?.skipErrorHandler) throw error; if (opts?.customErrorHandler) { @@ -182,6 +197,14 @@ NProgress.start(); } + httpLoggerRecord.info({ + message: `[${$config.url}] 璇锋眰寮�濮媊, + httpParams: { + url: $config.url, + }, + args: [{ data: $config.data, params: $config.params, headers: $config.headers }], + }); + const userStore = useUserStoreHook(); const userInfo = userStore.userInfo; @@ -224,6 +247,15 @@ (response) => { const $config = response.config as IRequestOptions; + httpLoggerRecord.info({ + message: `[${$config.url}] 璇锋眰缁撴潫`, + httpParams: { + url: $config.url, + traceId: response.data?.traceId, + }, + args: [{ data: $config.data, params: $config.params, headers: $config.headers }], + }); + const { needNProcess, getResponse = false } = $config; // 鍏抽棴杩涘害鏉″姩鐢� diff --git a/src/views/ServiceChargeManage/ServiceChargeManage.vue b/src/views/ServiceChargeManage/ServiceChargeManage.vue index 3b2dee5..541b305 100644 --- a/src/views/ServiceChargeManage/ServiceChargeManage.vue +++ b/src/views/ServiceChargeManage/ServiceChargeManage.vue @@ -88,7 +88,7 @@ </ProTableV2> </AppContainer> <UploadStatementDialog v-bind="dialogProps" /> - <SettleDetailDialog v-bind="dialogSettleProps" /> + <!-- <SettleDetailDialog v-bind="dialogSettleProps" /> --> <RechargeEnterpriseWalletDialog v-bind="dialogRechargeProps" /> </LoadingLayout> </template> diff --git a/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue b/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue index 42b5ef7..7450ad0 100644 --- a/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue +++ b/src/views/ServiceChargeManage/components/EditAccountInfoDialog.vue @@ -21,7 +21,7 @@ <ProFormItemV2 label="鏀舵璐︽埛锛�" prop="receiveAccount" - :check-rules="[{ message: '璇疯緭鍏ユ敹娆捐处鎴�' }]" + :check-rules="[{ message: '璇疯緭鍏ユ敹娆捐处鎴�', type: 'bankCard' }]" > <ProFormText placeholder="璇疯緭鍏ユ敹娆捐处鎴�" v-model.trim="form.receiveAccount"></ProFormText> </ProFormItemV2> -- Gitblit v1.9.1