diff --git a/apps/web-antd/src/api/ops/cleaning/index.ts b/apps/web-antd/src/api/ops/cleaning/index.ts index 74f0f0320..e400ed455 100644 --- a/apps/web-antd/src/api/ops/cleaning/index.ts +++ b/apps/web-antd/src/api/ops/cleaning/index.ts @@ -60,7 +60,7 @@ export namespace OpsCleaningApi { status: BadgeStatus; // 状态 currentAreaId?: number; // 当前区域ID currentAreaName?: string; // 当前区域名称 - batteryLevel: number | null; // 电量(0-100),可能为空 + batteryLevel: null | number; // 电量(0-100),可能为空 lastHeartbeatTime: string; // 最后心跳时间 todayCompletedCount?: number; // 今日完成工单数 todayWorkMinutes?: number; // 今日工作时长(分钟) diff --git a/apps/web-antd/src/views/ops/work-order/detail/index.vue b/apps/web-antd/src/views/ops/work-order/detail/index.vue index b3f0273e1..29543ce47 100644 --- a/apps/web-antd/src/views/ops/work-order/detail/index.vue +++ b/apps/web-antd/src/views/ops/work-order/detail/index.vue @@ -756,7 +756,11 @@ onUnmounted(stopPolling); 分配执行人