feat(*): 分镜与资产 - 完善五类资产、候选去重、搜索、中文镜头编号与分类整理

This commit is contained in:
ddCat committed 2026-08-31 13:16:10 +08:00
1 parent ef30645cf0
commit 8984c567ac
53 files changed
+816 -188

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ import { useMutation, useQueryClient } from "@tanstack/react-query";
import { App, Button, Empty } from "antd";
import { Link } from "react-router";
import { formatShotOrdinal } from "@/lib/shot-label";
import { saveProjectShot, type ProjectDetail } from "@/services/api/projects";
import { AssetsStage, DeliveryStage, StoryStage } from "./workflow-stage-views";
@@ -49,7 +50,7 @@ export default function ProjectWorkflowView({ detail, projectId, unitId, stage }
if (!unit) throw new Error("请先添加章节");
return saveProjectShot(projectId, {
unitId: unit.id,
title: `SC.${String(shots.length + 1).padStart(2, "0")}`,
title: formatShotOrdinal(shots.length),
description: "待补充分镜画面",
position: shots.length,
durationMs: 3000,