fix: recover gateway callbacks and client send flows
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
type TableColumn,
|
||||
} from '@/components/ui';
|
||||
import { clientApi, type SmsBatchTask } from '@/api/adminApi';
|
||||
import { formatDateTime } from '@/utils/dateTime';
|
||||
|
||||
type BatchTaskStatus = 'completed' | 'sending' | 'terminated';
|
||||
|
||||
@@ -170,7 +171,7 @@ export function ClientBatchTasksPage() {
|
||||
),
|
||||
},
|
||||
{ key: 'applicationName', title: '应用名称', width: '150px', render: (record) => record.applicationName },
|
||||
{ key: 'submittedAt', title: '提交时间', width: '130px', render: (record) => record.submittedAt },
|
||||
{ key: 'submittedAt', title: '提交时间', width: '150px', render: (record) => formatDateTime(record.submittedAt) },
|
||||
{ key: 'phoneCount', title: '发送号码数', width: '120px', render: (record) => record.phoneCount.toLocaleString('zh-CN') },
|
||||
{ key: 'wordCount', title: '单号码字数', width: '120px', render: (record) => <strong>{record.wordCount} 字</strong> },
|
||||
{
|
||||
@@ -183,7 +184,7 @@ export function ClientBatchTasksPage() {
|
||||
<Clock3 size={14} />
|
||||
{record.sendType === 'immediate' ? '立即发送' : '定时发送'}
|
||||
</span>
|
||||
{record.scheduledAt ? <small>{record.scheduledAt}</small> : null}
|
||||
{record.scheduledAt ? <small>{formatDateTime(record.scheduledAt)}</small> : null}
|
||||
</div>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user