feat(workload): add workload list

This commit is contained in:
zhangheng
2026-05-14 15:12:32 +08:00
parent 781b002a7b
commit 5c3b45b247
12 changed files with 1508 additions and 34 deletions

View File

@@ -0,0 +1,36 @@
import httpFetch from "@/api/fetch"
import { BASE_LABEL_API } from "../const"
import { TimeFilter, WorkLoad } from "./typing"
// 标注个人工作量统计
export const getLabelStatisticsList = (params: TimeFilter) => {
return httpFetch<WorkLoad.LabelResponse>({
url:
BASE_LABEL_API +
"/api/v1/label_server/workload/label_statistics/list_by_user",
method: "GET",
data: params,
})
}
// 审核个人工作量统计
export const getReview1StatisticsList = (params: TimeFilter) => {
return httpFetch<WorkLoad.Review1Response>({
url:
BASE_LABEL_API +
"/api/v1/label_server/workload/review1_statistics/list_by_user",
method: "GET",
data: params,
})
}
// 复审个人工作量统计
export const getReview2StatisticsList = (params: TimeFilter) => {
return httpFetch<WorkLoad.Review2Response>({
url:
BASE_LABEL_API +
"/api/v1/label_server/workload/review2_statistics/list_by_user",
method: "GET",
data: params,
})
}