diff --git a/src/api/device.ts b/src/api/device.ts index d1a8360..63761d2 100644 --- a/src/api/device.ts +++ b/src/api/device.ts @@ -373,6 +373,26 @@ export function releaseControl(data) { }) } +//修改设备别名 + +export function updateDeviceAliasApi(data) { + return request({ + url: '/forward/device/updateDeviceAlias', + method: 'post', + data + }) +} + +//获取单个路径规划信息 + +export function getSingleRouteList(params) { + return request({ + url: '/iot/workRecord/selectById', + method: 'get', + params + }) +} + diff --git a/src/components/devices/DeviceStatusPage.tsx b/src/components/devices/DeviceStatusPage.tsx index 2f0158e..268590b 100644 --- a/src/components/devices/DeviceStatusPage.tsx +++ b/src/components/devices/DeviceStatusPage.tsx @@ -656,61 +656,101 @@ export default function DeviceStatusPage({ defaultSource="drone" /> ) : robotVideo ? ( - // 全景模式 = 4 分屏 + // 全景模式 = T 型排布 mowerView === 'all' ? (
- {/* 前 */} -
- -
前视
+ {/* 第一行:左视 + 前视 + 右视 三等分 */} +
+ {/* 左视 */} +
+ +
左视
+
+ + {/* 前视 */} +
+ +
前视
+
+ + {/* 右视 */} +
+ +
右视
+
- {/* 后 */} -
- -
后视
-
- {/* 左 */} -
- -
左视
-
- {/* 右 */} -
- -
右视
+ + {/* 第二行:后视 单独一行居中 */} +
+
+ +
后视
+
) : (