feat(team): add page
This commit is contained in:
33
app/management/team/workload/LabelWorkloadTable.tsx
Normal file
33
app/management/team/workload/LabelWorkloadTable.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
"use client"
|
||||
|
||||
import { getLabelStatisticsList } from "@/components/label/api/workload"
|
||||
import WorkloadMetricsTable from "./WorkloadMetricsTable"
|
||||
|
||||
export default function LabelWorkloadTable() {
|
||||
return (
|
||||
<WorkloadMetricsTable
|
||||
title="标注工时"
|
||||
sheetName="标注工时数据"
|
||||
fileName="标注工时数据.xlsx"
|
||||
fetchData={getLabelStatisticsList}
|
||||
metrics={[
|
||||
{ key: "work_time", title: "系统工时" },
|
||||
{ key: "object_size", title: "新增对象数" },
|
||||
{ key: "confirmed_prelabel_size", title: "确认预标注对象数" },
|
||||
{ key: "prelabel_object_size", title: "预标注对象数" },
|
||||
{ key: "commit_label_1", title: "提交标注任务数" },
|
||||
{ key: "commit_reviewed_1", title: "被审核1审核任务数" },
|
||||
{ key: "reviewed_size", title: "被审核对象数" },
|
||||
{ key: "commented_size", title: "被批注对象数" },
|
||||
{ key: "rejected_label_1", title: "被驳回任务数" },
|
||||
{ key: "total_reviewed_size", title: "被审核过任务对象总数" },
|
||||
{ key: "dynamic_size", title: "新增动态对象数" },
|
||||
{ key: "static_size", title: "新增静态对象数" },
|
||||
{ key: "key_frame_size", title: "新增关键帧数" },
|
||||
{ key: "question_size", title: "新增问题数" },
|
||||
{ key: "commented_question_size", title: "被批注问题数" },
|
||||
{ key: "reviewed_question_size", title: "被审核问题数" },
|
||||
]}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user