"use client"

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

export default function Review2WorkloadTable() {
  return (
    <WorkloadMetricsTable
      title="复审工时"
      sheetName="复审工时数据"
      fileName="复审工时数据.xlsx"
      fetchData={getReview2StatisticsList}
      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: "commit_review_2", title: "提交审核2任务数" },
        { key: "reject_review_2", title: "审核2驳回任务数" },
        { key: "total_review_size", title: "已审核任务对象总数" },
        { key: "review_dynamic_size", title: "审核动态对象数" },
        { key: "review_static_size", title: "审核静态对象数" },
        { key: "review_key_frame_size", title: "审核关键帧数" },
        { key: "review_question_size", title: "审核问题数" },
      ]}
    />
  )
}
