优化 map中实时车悬浮的提醒框子,优化已完成任务提醒哪个设备 优化页面 设备类型显示 和 在线状态显示 预设路线分组显示 优化路径规划中的问题
This commit is contained in:
@@ -158,7 +158,7 @@ export default class DeviceController {
|
||||
if (msg?.type == 'device_task_change') {
|
||||
if (msg.status == "FINISH") {
|
||||
console.log('task finish');
|
||||
this.onIsFinished?.(true);
|
||||
this.onIsFinished?.(msg);
|
||||
}
|
||||
if (msg.status == "EXECUTING" || msg.status == "CANCELLED" || msg.status == "FAILED") {
|
||||
this.onIsExecuting?.(true);
|
||||
@@ -174,7 +174,8 @@ export default class DeviceController {
|
||||
console.log('route_post');
|
||||
this.onRoutePost?.(msg);
|
||||
}
|
||||
if (msg?.type == 'detectionReport') {
|
||||
if (msg?.type
|
||||
== 'detectionReport') {
|
||||
console.log('detectionReport');
|
||||
this.onDetectionReport?.(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user