"use client"

import { getReview1StatisticsList } from "@/components/label/api/workload"
import WorkloadMetricsTable from "./WorkloadMetricsTable"

export default function Review1WorkloadTable() {
  return (
    <WorkloadMetricsTable
      title="审核工时"
      sheetName="审核工时数据"
      fileName="审核工时数据.xlsx"
      fetchData={getReview1StatisticsList}
      metrics={[
        { key: "work_time", title: "系统工时" },
        { key: "object_size", title: "新增对象数" },
        { key: "confirmed_prelabel_size", title: "确认预标注对象数" },
        { key: "prelabel_object_size", title: "预标注对象数" },
        { key: "review_size", title: "审核对象数" },
        { key: "comment_size", title: "批注对象数" },
        { key: "reviewed_size", title: "被审核对象数" },
        { key: "commented_size", title: "被批注对象数" },
        { key: "commit_review_1", title: "提交审核任务数" },
        { key: "commit_reviewed_2", title: "被复审审核任务数" },
        { key: "reject_review_1", title: "审核驳回任务数" },
        { key: "rejected_review_1", title: "被驳回的审核任务数" },
        { key: "total_review_size", title: "已审核任务对象总数" },
        { key: "review_dynamic_size", title: "审核动态对象数" },
        { key: "review_static_size", title: "审核静态对象数" },
        { key: "total_reviewed_size", title: "已被审核过任务对象总数" },
        { key: "review_key_frame_size", title: "审核关键帧数" },
        { key: "review_question_size", title: "审核问题数" },
      ]}
    />
  )
}
