diff --git a/app/management/person/dashboard/components/PersonalProjectTable.tsx b/app/management/person/dashboard/components/PersonalProjectTable.tsx index 2bc3391..2af6f19 100644 --- a/app/management/person/dashboard/components/PersonalProjectTable.tsx +++ b/app/management/person/dashboard/components/PersonalProjectTable.tsx @@ -9,6 +9,7 @@ import { Select, Table, } from "@mantine/core" + import { IconRefresh } from "@tabler/icons-react" import dayjs from "dayjs" import duration from "dayjs/plugin/duration" @@ -73,7 +74,10 @@ export default function PersonalProjectTable() { style={{ flexDirection: "column" }}> - - - - - - 项目名称 - 任务ID - 状态 - 标注员 - 审核员 - 复审员 - - - - {records.map((record) => ( - - - {record.project_name ?? "-"} - - - { - e.preventDefault() - const labelType = record.label_type - if ([4, 5, 6].includes(labelType)) { - setBackProps("/management/person/dashboard") - router.push( - `/label?project_id=${record.project_id}&task_id=${record.id}` - ) - return - } - if (user_name && user_password) { - setBackProps("/management/person/dashboard") - router.push( - `/label?project_id=${record.project_id}&task_id=${record.id}` - ) - } - }} - style={{ cursor: "pointer" }}> - {record.id ?? "-"} - - - - - {`${TaskStatusEnum.get(record.label_status) ?? "-"}${ - record.rejected ? "返工" : "" - }`} - - - {record.label_username ?? "-"} - {record.review1_username ?? "-"} - {record.review2_username ?? "-"} - - ))} - -
-
-
- - -