#feature: add AI log analysis & some bugfix

This commit is contained in:
2026-01-14 13:58:50 +08:00
parent e479ed02ea
commit ae6c169f5f
33 changed files with 3898 additions and 164 deletions

View File

@@ -313,6 +313,12 @@ export default {
bValue = b.parent_task ? b.parent_task.key : '';
}
// 特殊处理日期时间排序:结合 date 和 time 字段
if (this.sortField === 'date') {
aValue = `${a.date || ''} ${a.time || '00:00'}`;
bValue = `${b.date || ''} ${b.time || '00:00'}`;
}
// 处理空值
if (!aValue && !bValue) return 0;
if (!aValue) return this.sortDirection === 'asc' ? -1 : 1;