增加地图编辑界面,该界面支持增删改查 返航点,一个机器对应一个返航点,增删改查场站分区,将原本机器状态界面的 路径规划功能移植到该页面,地图上支持显示 返航点和分区,点击分区和返航点,地图支持定位和高亮,等待测试

机器状态界面返航 功能接口对接,还未对接实机测试
This commit is contained in:
mmc
2026-10-24 13:38:05 +08:00
parent a17a19fdc4
commit fb363882ac
10 changed files with 2137 additions and 214 deletions

View File

@@ -1,4 +1,4 @@
import React, { lazy, Suspense } from 'react';
import React, { lazy, Suspense } from 'react';
import type { RouteObject } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
@@ -30,6 +30,7 @@ const Profile = lazy(() => import('../pages/Profile'));
const DeviceStatus = lazy(() => import('../components/devices/DeviceStatusPage'));
const WayLineTask = lazy(() => import('../components/devices/WayLinePage'));
const RobotTask = lazy(() => import('../components/devices/RobotTaskPage'));
const MapEditorPage = lazy(() => import('../components/devices/MapEditorPage'));
const DevicesOverview = lazy(() => import('../components/devices/DeviceOverviewPage'));
const BasicSettings = lazy(() => import('../components/SystemSetting/BasicSettings'));
@@ -124,6 +125,10 @@ export const routes: RouteObject[] = [
path: 'devices/robotTask',
element: withSuspense(RobotTask)
},
{
path: 'devices/mapEdit',
element: withSuspense(MapEditorPage)
},
{
path: 'video',
element: withSuspense(Video)