任务监控界面 完善 点击任务池 显示轨迹 路径功能,清空规划功能

This commit is contained in:
mmc
2026-11-12 19:13:06 +08:00
parent 4c11667bd6
commit 94e1ad8f44
6 changed files with 193 additions and 287 deletions

View File

@@ -159,10 +159,12 @@ export default class DeviceController {
if (msg.status == "FINISH") {
console.log('task finish');
this.onIsFinished?.(msg);
}
if (msg.status == "EXECUTING" || msg.status == "PAUSE" || msg.status == "CANCELLED" || msg.status == "FAILED") {
} else {
this.onIsExecuting?.(true);
}
//if (msg.status == "EXECUTING" || msg.status == "PAUSE" || msg.status == "CANCELLED" || msg.status == "FAILED") {
//}
}
@@ -517,10 +519,10 @@ export default class DeviceController {
if (msg.status == "FINISH") {
console.log('task finish');
this.onIsFinished?.(true);
}
if (msg.status == "EXECUTING" || msg.status == "PAUSE") {
this.onIsFinished?.(msg);
} else {
this.onIsExecuting?.(true);
}
break;