二维码生成和下载保存列表 优化 切换ws遗留的上一个在线设备数据 增加预定义路线生成 完善任务规划界面 的中英文

This commit is contained in:
mmc
2026-11-09 16:01:23 +08:00
parent 8924272656
commit 6401327522
9 changed files with 371 additions and 330 deletions

View File

@@ -1112,6 +1112,7 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
function resolveDeviceStatus(device) {
const fsRaw = device?.feStatus;
const stRaw = device?.status;
if (device?.onlineStatus == 0) return 'offline';
// feStatus:0=离线,1=工作中,2=空闲
if (fsRaw !== undefined && fsRaw !== null && fsRaw !== '') {
@@ -3894,7 +3895,7 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
}}
>
<span style={{ fontSize: '18px', lineHeight: 1 }}>⌖</span>
<span>定位到机器</span>
<span>{t('devices.mapEditor.location')}</span>
</button>
</div>
)}