feat: refine operations UI and transport limits

This commit is contained in:
hectorzhao
2026-08-13 10:42:59 +08:00
parent fb02cbcf39
commit 67fee21616
34 changed files with 314 additions and 188 deletions
@@ -1,9 +1,8 @@
import { AlertTriangle, Info, MessageSquare } from 'lucide-react';
import type { SmsMessageRecord, SmsMessageSegmentAudit } from '@/api/adminApi';
import { Button, Modal, Tag } from '@/components/ui';
import { Button, CarrierTag, Modal, Tag } from '@/components/ui';
import {
buildRouteRows,
getCarrierLabel,
getReceiptNotice,
getRecordStatus,
getRecordStatusLabel,
@@ -52,7 +51,7 @@ export function SendDetailModal({
<div><span></span><strong>{record.receiptStatus ?? '-'}</strong></div>
<div><span></span><strong>{getTime(record.queuedAt)}</strong></div>
<div><span></span><strong>{record.phoneNumber || '-'}</strong></div>
<div><span></span><strong>{record.province ?? '-'} / {getCarrierLabel(record.carrier)}</strong></div>
<div><span></span><strong>{record.province ?? '-'} / {record.carrier ? <CarrierTag carrier={record.carrier} /> : '-'}</strong></div>
<div><span></span><strong>{channelGroupNames.join(' / ') || '-'}</strong></div>
<div><span></span><strong>{record.clientSrcId || '-'}</strong></div>
<div><span></span><strong>{sentAccessNumber || '-'}</strong></div>