From 477822321b9682634854392441de8da7a1711b2e Mon Sep 17 00:00:00 2001 From: zhangheng Date: Wed, 27 May 2026 18:15:24 +0800 Subject: [PATCH] feat(task): lidar router --- app/person/dashboard/components/PersonalTaskTable.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/person/dashboard/components/PersonalTaskTable.tsx b/app/person/dashboard/components/PersonalTaskTable.tsx index e7888bf..961e931 100644 --- a/app/person/dashboard/components/PersonalTaskTable.tsx +++ b/app/person/dashboard/components/PersonalTaskTable.tsx @@ -8,10 +8,10 @@ import { usePermissionStore, } from "@/components/label/store/auth" import { + SettingCustomPageSizeControl, SettingDataTable, SettingHeaderActions, SettingListHeader, - SettingCustomPageSizeControl, usePersistentPageSizeOptions, } from "@/components/setting/PageSurface" import { Button, Group, Stack, Text, UnstyledButton } from "@mantine/core" @@ -97,7 +97,7 @@ export default function PersonalTaskTable() { { setCurrentRowId(record.id) - if ([4, 5, 6, 7].includes(record.label_type)) { + if ([1, 2, 4, 5, 6, 7].includes(record.label_type)) { setBackProps(`/person/dashboard`) if ([4, 5, 6].includes(record.label_type)) { // router.replace( @@ -109,6 +109,8 @@ export default function PersonalTaskTable() { // `/video/label?project_id=${record.project_id}&task_id=${record.id}` // ) window.location.href = `/video/label?project_id=${record.project_id}&task_id=${record.id}` + } else if ([1, 2].includes(record.label_type)) { + window.location.href = `/lidar/lidar-point?project_id=${record.project_id}&task_id=${record.id}` } } else { // await runCommand(