refactor(web): 优化队列显示,支持子队列选择

This commit is contained in:
2023-05-29 18:47:32 +08:00
parent bf1a33d72e
commit 2d95a3824a
2 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ function queueCrud(name) {
silentPolling: true,
loadDataOnce: true,
affixHeader: false,
perPage: 20,
perPage: 5,
stopAutoRefreshWhenModalIsOpen: true,
resizable: false,
headerToolbar: [
@@ -78,6 +78,7 @@ function queueTab() {
return {
title: '压缩队列',
tab: [
queueCrud('compaction-queue-pre'),
queueCrud('compaction-queue-b1'),
queueCrud('compaction-queue-b5'),
],

View File

@@ -61,8 +61,8 @@
yarnTab('b5-sync', '同步 b5', undefined, 'Sync'),
yarnTab('b1', '压缩 b1', 'datalake,tyly', 'Compaction'),
// yarnTab('b4', '压缩 b4'),
yarnTab('b1,b5', '压缩 b1 b5', 'datalake,tyly', 'Compaction'),
yarnTab('b5', '压缩 b5'),
yarnTab('b1,b5', '压缩 b1 b5', 'datalake,tyly,ten_iap.datalake', 'Compaction'),
yarnTab('b5', '压缩 b5', 'ten_iap.datalake'),
cloudTab(),
]
}
@@ -78,7 +78,7 @@
},
{
theme: 'ang',
enableAMISDebug: true,
// enableAMISDebug: true,
},
)
})()