From 81779c4e1f2a6a4e2a5db1ea141f8a83f970877e Mon Sep 17 00:00:00 2001 From: CI Bot Date: Wed, 15 Jul 2026 18:44:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(edit-plans):=20=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=20result=5Fcount=20=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=95=B0=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - EditPlan interface 新增 result_count: number 字段 - EditPlans.tsx 表格在时长列后新增「视频数」列 - 居中展示,有值显示数字,无值显示 — Co-Authored-By: Claude Fable 5 --- apps/web/src/api/editPlans.ts | 2 ++ apps/web/src/pages/edit-plans/EditPlans.tsx | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/apps/web/src/api/editPlans.ts b/apps/web/src/api/editPlans.ts index 61156d0bd..93bc13477 100644 --- a/apps/web/src/api/editPlans.ts +++ b/apps/web/src/api/editPlans.ts @@ -130,6 +130,8 @@ export interface EditPlan { name: string; status: EditPlanStatus; total_duration: number; + /** 生成视频数量(后端 EditPlanResponse.result_count) */ + result_count: number; config: EditPlanConfig; created_at: string; updated_at: string; diff --git a/apps/web/src/pages/edit-plans/EditPlans.tsx b/apps/web/src/pages/edit-plans/EditPlans.tsx index f78a4a8f2..87283db3d 100644 --- a/apps/web/src/pages/edit-plans/EditPlans.tsx +++ b/apps/web/src/pages/edit-plans/EditPlans.tsx @@ -254,6 +254,16 @@ export default function EditPlans() { {formatDuration(seconds)} ), }, + { + title: "视频数", + dataIndex: "result_count", + key: "result_count", + width: 80, + align: "center", + render: (count: number) => ( + {count > 0 ? count : "—"} + ), + }, { title: "创建时间", dataIndex: "created_at",