From 576c89c8c42c7509b092e53cfc7985438cda2d8c Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 6 Feb 2026 15:47:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(agency):=20=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE=E5=88=86=E7=B1=BB=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=84=9A=E6=9C=AC=E5=92=8C=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 待审核数量分脚本/视频显示 - 今日通过数量分脚本/视频显示 - 进行中数量分脚本/视频显示 - 项目概览审核中状态分脚本审核/视频审核显示 Co-Authored-By: Claude Opus 4.5 --- frontend/app/agency/page.tsx | 134 ++++++++++++++++++++++------------- 1 file changed, 85 insertions(+), 49 deletions(-) diff --git a/frontend/app/agency/page.tsx b/frontend/app/agency/page.tsx index 47c6dda..28c6832 100644 --- a/frontend/app/agency/page.tsx +++ b/frontend/app/agency/page.tsx @@ -18,10 +18,19 @@ import { // 模拟统计数据 const stats = { - pendingReview: 12, + pendingReview: { + script: 8, + video: 4, + }, pendingAppeal: 3, - todayPassed: 28, - inProgress: 45, + todayPassed: { + script: 18, + video: 10, + }, + inProgress: { + script: 25, + video: 20, + }, } // 模拟紧急待办 @@ -60,7 +69,8 @@ const projectOverview = [ total: 20, submitted: 15, passed: 10, - reviewing: 3, + reviewingScript: 2, + reviewingVideo: 1, needRevision: 2, }, { @@ -69,7 +79,8 @@ const projectOverview = [ total: 12, submitted: 8, passed: 6, - reviewing: 1, + reviewingScript: 1, + reviewingVideo: 0, needRevision: 1, }, { @@ -78,7 +89,8 @@ const projectOverview = [ total: 15, submitted: 12, passed: 9, - reviewing: 2, + reviewingScript: 1, + reviewingVideo: 1, needRevision: 1, }, ] @@ -136,7 +148,11 @@ export default function AgencyDashboard() {
待审核
-
{stats.pendingReview}
+
{stats.pendingReview.script + stats.pendingReview.video}
+
+ 脚本 {stats.pendingReview.script} + 视频 {stats.pendingReview.video} +
@@ -162,7 +178,11 @@ export default function AgencyDashboard() {
今日通过
-
{stats.todayPassed}
+
{stats.todayPassed.script + stats.todayPassed.video}
+
+ 脚本 {stats.todayPassed.script} + 视频 {stats.todayPassed.video} +
@@ -175,7 +195,11 @@ export default function AgencyDashboard() {
进行中
-
{stats.inProgress}
+
{stats.inProgress.script + stats.inProgress.video}
+
+ 脚本 {stats.inProgress.script} + 视频 {stats.inProgress.video} +
@@ -225,47 +249,59 @@ export default function AgencyDashboard() {
- {projectOverview.map((project) => ( -
-
- {project.name} - - {project.submitted}/{project.total} 已提交 - + {projectOverview.map((project) => { + const totalReviewing = project.reviewingScript + project.reviewingVideo + return ( +
+
+ {project.name} + + {project.submitted}/{project.total} 已提交 + +
+
+
+
+
+
+
+
+ + + 通过 {project.passed} + + + + 脚本审核 {project.reviewingScript} + + + + 视频审核 {project.reviewingVideo} + + + + 需修改 {project.needRevision} + +
-
-
-
-
-
-
- - - 通过 {project.passed} - - - - 审核中 {project.reviewing} - - - - 需修改 {project.needRevision} - -
-
- ))} + ) + })}