feature(web): 增加调度计划显示

This commit is contained in:
2023-06-27 10:31:08 +08:00
parent 5d77f5c29b
commit a15fb1857f
5 changed files with 120 additions and 2 deletions

View File

@@ -292,6 +292,24 @@ function overviewTab() {
},
versionDetailDialog('unSchedule.normal', 'unScheduled_normal'),
]
},
{type: 'divider'},
{
type: 'service',
api: '${base}/overview/schedule_jobs',
interval: 60000,
silentPolling: true,
body: [
'调度策略',
{
type: 'each',
name: 'items',
items: {
type: 'tpl',
tpl: '<div class="font-mono"><span class="font-bold">${trigger}</span> <span class="text-gray-500">(${job})</span></div>'
}
}
]
}
]
}