refactor(web): 关闭debug

This commit is contained in:
2024-01-02 09:56:36 +08:00
parent 8a5e6f69ac
commit b63263d360
3 changed files with 61 additions and 42 deletions

View File

@@ -1,3 +1,4 @@
# @host = 132.126.207.130
@host = 132.122.116.142
@port = 35690
@username = AxhEbscwsJDbYMH2
@@ -6,6 +7,7 @@
@queue-url = {{url}}/hudi_services/queue
@scheduler-url = {{url}}/hudi_services/service_scheduler
@web-url = {{url}}/hudi_services/service_web
@services-url = {{url}}/hudi_services/service_cloud_query
### 队列名称
GET {{queue-url}}/queue/names
@@ -49,7 +51,7 @@ GET http://{{username}}:{{password}}@132.122.116.146:18166/info/compaction_metri
GET http://{{username}}:{{password}}@132.122.116.150:27510/table/list_compaction_metrics?search_flink_job_id=1542097996099055616&search_alias=acct_acct_item_fs
### Query Scheduler
GET {{scheduler-url}}/schedule/all_focus
GET {{scheduler-url}}/schedule/all_un_scheduled
### schedule table
GET {{scheduler-url}}/schedule/table?flink_job_id=1542097993246928896&alias=crm_order_ord_prod_inst_attr_his_b
@@ -68,3 +70,6 @@ GET http://132.122.116.149:35680/api/message_id?flink_job_id=1542097984132706304
### Deploy plan
GET {{web-url}}/cloud/deploy_plan
### Get info query services
GET {{services-url}}/cloud/services?service_name=center-gateway-new

View File

@@ -2,6 +2,60 @@ function toolTab() {
return {
title: `小工具`,
tab: [
{
type: 'panel',
title: '乱七八糟小工具',
body: [
{
type: 'action',
label: 'SQL日志',
actionType: 'dialog',
dialog: {
title: '日志',
...readOnlyDialogOptions(),
size: 'lg',
body: {
type: 'crud',
api: '${base}/log/query_sql_log',
...crudCommonOptions(),
loadDataOnce: true,
perPage: 50,
headerToolbar: [
"reload",
paginationCommonOptions(undefined, 10),
],
footerToolbar: [
paginationCommonOptions(undefined, 10),
],
columns: [
{
name: 'sql',
label: 'SQL',
},
{
name: 'createTime',
label: '执行时间',
},
],
}
}
},
{
type: 'action',
label: 'ZK节点',
className: 'ml-2',
actionType: 'dialog',
dialog: {
title: '日志',
...readOnlyDialogOptions(),
size: 'lg',
body: {
}
}
}
]
},
{
type: 'form',
title: '查询时间线',
@@ -158,46 +212,6 @@ function toolTab() {
}
]
},
{
type: 'panel',
title: 'SQL日志',
body: [
{
type: 'action',
label: '查看',
actionType: 'dialog',
dialog: {
title: '日志',
...readOnlyDialogOptions(),
size: 'lg',
body: {
type: 'crud',
api: '${base}/log/query_sql_log',
...crudCommonOptions(),
loadDataOnce: true,
perPage: 50,
headerToolbar: [
"reload",
paginationCommonOptions(undefined, 10),
],
footerToolbar: [
paginationCommonOptions(undefined, 10),
],
columns: [
{
name: 'sql',
label: 'SQL',
},
{
name: 'createTime',
label: '执行时间',
},
],
}
}
}
]
}
]
}
}

View File

@@ -76,7 +76,7 @@
]
}
}
let debug = true
let debug = false
let server = amis.embed(
'#root',
amisJSON,