@@ -61,7 +61,7 @@
}
return {
grid: {
- left: 64,
+ left: 68,
right: 24,
top: 28,
bottom: 32,
@@ -73,6 +73,14 @@
zoomOnMouseWheel: true,
moveOnMouseMove: true,
}],
+ legend: {
+ show: props.option.legend === true,
+ type: 'scroll',
+ padding: [4, 8, 8, 8],
+ textStyle: {
+ color: themeTextColor,
+ }
+ },
tooltip: {
trigger: 'axis',
appendToBody: true,
@@ -182,13 +190,6 @@
},
},
},
- legend: {
- show: props.option.legend === true,
- type: 'scroll',
- textStyle: {
- color: themeTextColor,
- }
- },
series: series.value.map((s, index) => {
let colors = props.option.colors[index];
return createTimeSeries({
diff --git a/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-card-list.vue b/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-card-list.vue
index d2f9bb47..23bc89a7 100644
--- a/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-card-list.vue
+++ b/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-card-list.vue
@@ -270,43 +270,62 @@
修改配置
-
+
复制 Key
安装探针
安装成功
{{ toggleDictValue(AlarmSwitchKey, record.alarmSwitch, 'label') + '告警' }}
+
+
+
+ 连接终端
+
+
+
+
+
+
+ 连接终端
+
+
+
+
+
+ {{ type }}
+
+
+
+
@@ -333,6 +352,7 @@
import { AgentInstallStatus, tagColor } from '@/views/asset/host-list/types/const';
import { copy } from '@/hooks/copy';
import { getFileSize } from '@/utils/file';
+ import { openNewRoute } from '@/router';
import { getPercentProgressColor } from '@/utils/charts';
import useMonitorHostList from '../types/use-monitor-host-list';
import MonitorCell from './monitor-cell.vue';
diff --git a/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-form-drawer.vue b/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-form-drawer.vue
index 3bea3309..8178a6d9 100644
--- a/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-form-drawer.vue
+++ b/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-form-drawer.vue
@@ -31,6 +31,7 @@
diff --git a/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-table.vue b/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-table.vue
index a0294611..bc2a27b3 100644
--- a/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-table.vue
+++ b/orion-visor-ui/src/views/monitor/monitor-host/components/monitor-host-table.vue
@@ -121,6 +121,7 @@
fetchTableData(page, pagination.pageSize)"
@page-size-change="(size: number) => fetchTableData(1, size)">
@@ -322,43 +324,62 @@
修改配置
-
+
复制 Key
安装探针
安装成功
{{ toggleDictValue(AlarmSwitchKey, record.alarmSwitch, 'label') + '告警' }}
+
+
+
+ 连接终端
+
+
+
+
+
+
+ 连接终端
+
+
+
+
+
+ {{ type }}
+
+
+
+
@@ -386,6 +407,7 @@
import { copy } from '@/hooks/copy';
import { getPercentProgressColor } from '@/utils/charts';
import { getFileSize } from '@/utils/file';
+ import { openNewRoute } from '@/router';
import { dateFormat, dataColor } from '@/utils';
import { Message, Modal } from '@arco-design/web-vue';
import useMonitorHostList from '../types/use-monitor-host-list';
diff --git a/orion-visor-ui/src/views/system/dict-key/components/dict-key-table.vue b/orion-visor-ui/src/views/system/dict-key/components/dict-key-table.vue
index c1a843bb..512bf114 100644
--- a/orion-visor-ui/src/views/system/dict-key/components/dict-key-table.vue
+++ b/orion-visor-ui/src/views/system/dict-key/components/dict-key-table.vue
@@ -90,12 +90,14 @@