feature(web): 增加日志查看组件

This commit is contained in:
2023-05-25 14:14:42 +08:00
parent ac2bdbc2df
commit 1dc9d69310
3 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
function logTab() {
return {
title: '运行中',
tab: [
{
type: 'service',
api: {
method: 'GET',
url: '${base}/log/query_compaction_log',
data: {
flink_job_id: '1646351885991305217',
alias: 'dz_mb_sys_login_log',
}
},
body: [
{
disabled: true,
type: 'editor',
name: 'detail',
label: '压缩日志',
options: {
wordWrap: 'on',
}
}
]
},
],
}
}