feat: 接入持久化工作流执行状态
This commit is contained in:
1 parent
7d2900c705
commit
3caea26924
14 files changed
+532
-44
No files matched your search
@@ -74,3 +74,16 @@ export function productionStatusLabel(status: string): string {
|
||||
}
|
||||
return labels[status] ?? status
|
||||
}
|
||||
|
||||
/** 视频质量链状态标签与后端状态机保持一致。 */
|
||||
export function videoQualityStatusLabel(status: string): string {
|
||||
const labels: Record<string, string> = {
|
||||
not_started: '尚未开始质量流程',
|
||||
generating: '正在生成候选视频',
|
||||
validating: '正在执行质量校验',
|
||||
repairing: '正在自动修复',
|
||||
passed: '质量校验通过',
|
||||
exhausted: '自动修复次数已用完'
|
||||
}
|
||||
return labels[status] ?? status
|
||||
}
|
||||
Reference in new issue
Block a user