🔨 修改 sql 脚本.
This commit is contained in:
@@ -167,7 +167,9 @@ export function getMonitorHostOverride(agentKey: string) {
|
||||
* 查询监控主机图表
|
||||
*/
|
||||
export function getMonitorHostChart(request: MonitorHostChartRequest) {
|
||||
return axios.post<Array<TimeChartSeries>>('/monitor/monitor-host/chart', request);
|
||||
return axios.post<Array<TimeChartSeries>>('/monitor/monitor-host/chart', request, {
|
||||
timeout: 60000,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
:loading="loading"
|
||||
:bordered="false"
|
||||
:header-style="{ height: '48px', padding: '8px 16px 0 16px', borderBottom: 'none' }"
|
||||
:body-style="{ padding: '0 0 0 16px', height: 'calc(100% - 48px)', position: 'relative' }">
|
||||
:body-style="{ padding: '0 0 0 16px', height: 'calc(100% - 48px)', position: 'relative', display: 'flex', alignItems: 'center', justifyContent: 'center' }">
|
||||
<!-- 标题 -->
|
||||
<template #title>
|
||||
<div class="chart-title">
|
||||
@@ -75,7 +75,7 @@
|
||||
textStyle: {
|
||||
color: 'rgba(0, 0, 0, 0.8)',
|
||||
},
|
||||
formatter: function(params: any) {
|
||||
formatter: function (params: any) {
|
||||
if (!params.length) {
|
||||
return '';
|
||||
}
|
||||
@@ -235,7 +235,6 @@
|
||||
}
|
||||
|
||||
.nodata-chart {
|
||||
padding-top: 76px;
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user