feat: unify drainage targets and carrier status UI

This commit is contained in:
hectorzhao
2026-08-28 17:24:01 +08:00
parent 9ac41e9308
commit c68ac7a3db
25 changed files with 265 additions and 65 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const actionLabels: Record<string, string> = {
function taskTargetLabel(task: ReportTask) {
if (task.reportType !== 'drainage') return task.signature?.name ?? task.signatureId;
return task.drainageInfo?.siteName || task.drainageInfo?.url || task.drainageItemId || '引流信息';
return task.drainageInfo?.url || task.drainageItemId || '引流信息';
}
function TaskDetailModal({ task, onClose }: { task: ReportTask; onClose: () => void }) {