fix: harden channel retry attribution and operations UI

This commit is contained in:
hectorzhao
2026-07-26 21:33:58 +08:00
parent 059b38e8fe
commit 0857de09d8
27 changed files with 888 additions and 117 deletions
+5 -5
View File
@@ -210,7 +210,7 @@ function splitSignature(content: string) {
function TaskDetailTitle({ task }: { task: SmsTask }) {
return (
<div className="admin-task-detail-title">
<h2></h2>
<h2></h2>
<p>
<span>{task.id}</span>
<Tag tone={statusTones[task.status]}>{statusLabels[task.status]}</Tag>
@@ -252,7 +252,7 @@ function TaskDetailModal({ task, onClose }: { task: SmsTask; onClose: () => void
<div className="admin-task-detail-grid">
<section className="admin-task-card">
<h3><Send size={18} /></h3>
<h3><Send size={18} /></h3>
<dl className="admin-task-info-list">
<div>
<dt>/</dt>
@@ -423,7 +423,7 @@ export function AdminSmsTaskProgressPage() {
setSelectedTask(null);
loadTasks();
})
.catch((reason: Error) => setError(reason.message || '任务终止失败'));
.catch((reason: Error) => setError(reason.message || '发送批次终止失败'));
}
return (
@@ -436,7 +436,7 @@ export function AdminSmsTaskProgressPage() {
</div>
<div className="surface admin-task-filter">
<Input label="任务编号" onChange={(event) => setKeyword(event.target.value)} placeholder="请输入任务编号" value={keyword} />
<Input label="发送批次号" onChange={(event) => setKeyword(event.target.value)} placeholder="请输入发送批次号" value={keyword} />
<Select
label="选择企业"
onChange={(event) => {
@@ -461,7 +461,7 @@ export function AdminSmsTaskProgressPage() {
<table className="ui-table batch-table admin-task-table">
<thead>
<tr>
<th style={{ width: '170px' }}></th>
<th style={{ width: '170px' }}></th>
<th style={{ width: '180px' }}>/</th>
<th style={{ width: '136px' }}></th>
<th style={{ width: '130px' }}>/</th>