优化页面翻译,优化统一订单页面审核操作

This commit is contained in:
2026-04-03 10:59:56 +08:00
parent 5ab85d1d53
commit 6f12afcd10
16 changed files with 462 additions and 83 deletions

View File

@@ -116,7 +116,10 @@ const baTable = new baTableClass(
text: '手动重试',
type: 'warning',
icon: '',
display: (row: TableRow) => row.type === 'BONUS' && row.grant_status === 'FAILED_RETRYABLE' && row.status === 'PENDING',
display: (row: TableRow) =>
row.type === 'BONUS' &&
row.status === 'PENDING' &&
['NOT_SENT', 'SENT_PENDING', 'FAILED_RETRYABLE', 'FAILED_FINAL'].includes(String(row.grant_status)),
popconfirm: {
title: '确认将该订单加入重试队列?',
confirmButtonText: '确认',
@@ -126,7 +129,7 @@ const baTable = new baTableClass(
click: async (row: TableRow) => {
await createAxios(
{
url: '/admin/mall.PlayxOrder/retry',
url: '/admin/mall.Order/retry',
method: 'post',
data: {
id: row.id,