feat(scheduler): 实现调度台功能并优化任务执行界面

- 新增调度台标签页功能,支持多个调度台同时运行
- 优化任务执行界面布局,增加任务队列和用户队列显示
- 添加快速开始任务功能,可在当前调度台直接启动任务
- 实现任务完成后自动执行指定操作(如关机、睡眠等)
- 优化任务日志显示样式,增加信息过滤和分类
- 调整任务控制按钮位置,提高操作便利性
This commit is contained in:
2025-08-15 01:24:40 +08:00
parent b18ad0fefa
commit 9f849608db
2 changed files with 598 additions and 219 deletions

View File

@@ -463,7 +463,11 @@ export async function startBackend(appRoot: string): Promise<{ success: boolean;
// 启动后端进程
const backendProcess = spawn(pythonPath, [mainPyPath], {
cwd: appRoot,
stdio: 'pipe'
stdio: 'pipe',
env: {
...process.env,
PYTHONIOENCODING: 'utf-8' // 设置Python输出编码为UTF-8
}
})

File diff suppressed because it is too large Load Diff