From ac541b17af35d12f1d2a11a511e2584e46aa4b50 Mon Sep 17 00:00:00 2001 From: luo Date: Thu, 17 Sep 2026 18:43:01 +0800 Subject: [PATCH] fix: some --- src/locales/langs/en.json | 3 +- src/locales/langs/zh.json | 3 +- src/router/routes/asyncRoutes.ts | 11 + src/router/routesAlias.ts | 1 + .../priority-queue/index.vue | 24 +- .../asset-wallet-auto-renewal/index.vue | 267 ++++++++++++++++++ 6 files changed, 295 insertions(+), 14 deletions(-) create mode 100644 src/views/settings/asset-wallet-auto-renewal/index.vue diff --git a/src/locales/langs/en.json b/src/locales/langs/en.json index 2f88ee9..bb59cf4 100644 --- a/src/locales/langs/en.json +++ b/src/locales/langs/en.json @@ -521,7 +521,8 @@ "paymentMerchantPoolsTabWechatAuth": "WeChat Authorization", "detailsOfPaymentMerchant": "Payment Merchant Details", "detailsOfPaymentMerchantPool": "Merchant Pool Details", - "h5PopupConfiguration": "H5 Popup Configurations" + "h5PopupConfiguration": "H5 Popup Configurations", + "assetWalletAutoRenewal": "Asset Wallet Auto Renewal" }, "batch": { "title": "Batch Operations", diff --git a/src/locales/langs/zh.json b/src/locales/langs/zh.json index 4f4cdab..6408112 100644 --- a/src/locales/langs/zh.json +++ b/src/locales/langs/zh.json @@ -472,7 +472,8 @@ "paymentMerchantPoolsTabWechatAuth": "微信授权配置", "detailsOfPaymentMerchant": "支付商户详情", "detailsOfPaymentMerchantPool": "商户池详情", - "h5PopupConfiguration": "H5运营弹窗配置" + "h5PopupConfiguration": "H5运营弹窗配置", + "assetWalletAutoRenewal": "资产钱包自动续费" } }, "table": { diff --git a/src/router/routes/asyncRoutes.ts b/src/router/routes/asyncRoutes.ts index 954cbe7..626cfb8 100644 --- a/src/router/routes/asyncRoutes.ts +++ b/src/router/routes/asyncRoutes.ts @@ -1133,6 +1133,17 @@ export const asyncRoutes: AppRouteRecord[] = [ allowedUserTypes: [1, 2], permissions: [AUGUST_PERMISSIONS.h5PopupConfiguration.list] } + }, + // 资产钱包自动续费配置 + { + path: 'asset-wallet-auto-renewal', + name: 'AssetWalletAutoRenewal', + component: RoutesAlias.AssetWalletAutoRenewal, + meta: { + title: 'menus.settings.assetWalletAutoRenewal', + keepAlive: true, + allowedUserTypes: [1, 2] + } } ] }, diff --git a/src/router/routesAlias.ts b/src/router/routesAlias.ts index d8014c5..c83348b 100644 --- a/src/router/routesAlias.ts +++ b/src/router/routesAlias.ts @@ -124,6 +124,7 @@ export enum RoutesAlias { WecomMembers = '/settings/wecom/members', // 企业微信成员 WecomScenes = '/settings/wecom/scenes', // 企业微信审批场景 H5PopupConfigurations = '/settings/h5-popup-configuration', // H5运营弹窗配置 + AssetWalletAutoRenewal = '/settings/asset-wallet-auto-renewal', // 资产钱包自动续费配置 // 轮询管理 DataCleanup = '/polling-management/data-cleanup', // 数据清理 diff --git a/src/views/polling-management/priority-queue/index.vue b/src/views/polling-management/priority-queue/index.vue index 41dce57..5b0b462 100644 --- a/src/views/polling-management/priority-queue/index.vue +++ b/src/views/polling-management/priority-queue/index.vue @@ -114,7 +114,8 @@ width="640px" :close-on-click-modal="false" > - +
+ {{ detailData.id }} {{ detailData.iccid }} @@ -154,7 +155,8 @@ {{ formatDateTime(detailData.updated_at) }} - + +
@@ -269,10 +271,8 @@ prop: 'status', label: '状态', width: 100, - slots: { - default: ({ row }: any) => - h(ElTag, { type: getStatusTagType(row.status) }, () => row.status_name) - } + formatter: (row: PollingPriorityItem) => + h(ElTag, { type: getStatusTagType(row.status) }, () => row.status_name) }, { prop: 'trigger_type_name', @@ -294,12 +294,12 @@ prop: 'result', label: '执行结果', width: 110, - slots: { - default: ({ row }: any) => - h(ElTag, { type: getResultTagType(row.result) }, () => - getPollingPriorityResultName(row.result) - ) - } + formatter: (row: PollingPriorityItem) => + h( + ElTag, + { type: getResultTagType(row.result) }, + () => getPollingPriorityResultName(row.result) + ) }, { prop: 'manual_operator_name', diff --git a/src/views/settings/asset-wallet-auto-renewal/index.vue b/src/views/settings/asset-wallet-auto-renewal/index.vue new file mode 100644 index 0000000..11bd379 --- /dev/null +++ b/src/views/settings/asset-wallet-auto-renewal/index.vue @@ -0,0 +1,267 @@ + + + + +