From 54a381ebd3443322ecf36a2ed8069d58092bad0b Mon Sep 17 00:00:00 2001 From: GJ Date: Sat, 10 Oct 2026 19:28:47 +0800 Subject: [PATCH] =?UTF-8?q?perf(short-drama-agent-front):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=88=B6=E4=BD=9C=E5=B7=A5=E4=BD=9C=E5=8F=B0=E4=BA=A4?= =?UTF-8?q?=E4=BA=92=E4=B8=8E=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/AppDialog.vue | 6 +- src/components/ui/AssetOpenLink.vue | 41 ++ src/components/ui/IssueHint.vue | 4 +- src/components/ui/ReadonlyInspection.vue | 20 +- src/components/ui/WorkspacePage.vue | 16 +- src/components/ui/WorkspaceTools.vue | 3 +- src/components/ui/index.ts | 1 + src/composables/useDirectorySelection.ts | 75 ++++ src/features/breakdown/BreakdownPage.vue | 118 +++++- .../breakdown/components/SubjectList.vue | 3 +- src/features/create-drama/CreateDramaPage.vue | 6 + src/features/production/ProductionPage.vue | 77 ++-- .../production/components/KeyframeCard.vue | 53 ++- .../production/components/KeyframeDialog.vue | 8 +- .../components/KeyframeValidationHistory.vue | 79 +++- .../components/ProductionStageStatus.vue | 26 ++ .../components/ShotProductionAssets.vue | 358 +++++++++--------- .../production/components/VideoCard.vue | 108 ++++++ .../components/VideoQualityDiagnostics.vue | 81 ++-- src/features/production/model.ts | 25 +- src/features/production/quality-api.ts | 25 +- src/features/projects/ProjectLayout.vue | 7 +- src/features/storyboard/StoryboardPage.vue | 22 +- .../components/BeatShotDirectory.vue | 86 +++-- .../subject-identity/SubjectIdentityPage.vue | 99 +++-- .../subject-images/SubjectImagesPage.vue | 14 +- src/features/subject-images/layout.ts | 12 + src/features/visual-style/VisualStylePage.vue | 3 +- src/styles/admin.css | 123 +++++- tests/components/ui/flatTheme.test.ts | 5 +- tests/components/ui/layout.test.ts | 6 +- .../features/breakdown/BreakdownPage.test.ts | 7 +- tests/features/production/production.test.ts | 22 +- .../features/production/public-assets.test.ts | 24 +- .../production/video-quality-record.test.ts | 61 +++ tests/features/subject-images/layout.test.ts | 15 +- tests/features/workflows/pages.test.ts | 4 +- 37 files changed, 1217 insertions(+), 426 deletions(-) create mode 100644 src/components/ui/AssetOpenLink.vue create mode 100644 src/composables/useDirectorySelection.ts create mode 100644 src/features/production/components/ProductionStageStatus.vue create mode 100644 src/features/production/components/VideoCard.vue create mode 100644 tests/features/production/video-quality-record.test.ts diff --git a/src/components/ui/AppDialog.vue b/src/components/ui/AppDialog.vue index 5a6d490..5c4b275 100644 --- a/src/components/ui/AppDialog.vue +++ b/src/components/ui/AppDialog.vue @@ -13,6 +13,8 @@ withDefaults( busy?: boolean /** 使用宽弹窗布局。 */ wide?: boolean + /** 指定弹窗宽度,单位为像素;实际宽度仍受视口限制。 */ + width?: number }>(), { description: '', busy: false, wide: false } ) @@ -78,13 +80,15 @@ onBeforeUnmount(() => {