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

View File

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