✏️ 添加切图.

This commit is contained in:
lijiahangmax
2025-09-10 21:53:53 +08:00
parent 697d29c6f2
commit 3156ae1dff
6 changed files with 20 additions and 3 deletions

View File

@@ -110,6 +110,11 @@ docker compose up -d
![主机列表](docs/assets/screenshot/host-list.png?time=20250627 "主机列表")
#### 主机监控
![主机监控](docs/assets/screenshot/monitor-list.png?time=20250627 "主机监控")
![监控详情](docs/assets/screenshot/monitor-detail.png?time=20250627 "监控详情")
#### 批量执行
![批量执行](docs/assets/screenshot/exec-command.png?time=20250627 "批量执行")

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

View File

@@ -231,7 +231,7 @@
}
.nodata-chart {
padding-top: 42px;
padding-top: 76px;
font-size: 16px;
display: flex;
align-items: center;

View File

@@ -114,7 +114,7 @@
<!-- cpu -->
<template #cpuUsage="{ record }">
<monitor-cell :data-cell="true" :record="record">
<a-tooltip :content="'CPU' + record.config?.cpuName +': ' + record.metricsData?.cpuUsagePercent?.toFixed(2) + '%'" mini>
<a-tooltip :content="record.config?.cpuName +': ' + record.metricsData?.cpuUsagePercent?.toFixed(2) + '%'" mini>
<a-progress size="large"
:animation="true"
:show-text="false"
@@ -271,6 +271,12 @@
@click="emits('openUpdate', record)">
<span class="more-doption normal">修改配置</span>
</a-doption>
<!-- 复制 Key -->
<a-doption type="text"
size="mini"
@click="copy(record.agentKey)">
<span class="more-doption normal">复制 Key</span>
</a-doption>
<!-- 安装探针 -->
<a-doption v-permission="['asset:host:install-agent']"
:disabled="record.installLog?.status === AgentLogStatus.WAIT || record.installLog?.status === AgentLogStatus.RUNNING"

View File

@@ -145,7 +145,7 @@
<!-- cpu -->
<template #cpuUsage="{ record }">
<monitor-cell :data-cell="true" :record="record">
<a-tooltip :content="'CPU' + record.config?.cpuName +': ' + record.metricsData?.cpuUsagePercent?.toFixed(2) + '%'" mini>
<a-tooltip :content="record.config?.cpuName +': ' + record.metricsData?.cpuUsagePercent?.toFixed(2) + '%'" mini>
<a-progress size="large"
width="120px"
:animation="true"
@@ -301,6 +301,12 @@
@click="emits('openUpdate', record)">
<span class="more-doption normal">修改配置</span>
</a-doption>
<!-- 复制 Key -->
<a-doption type="text"
size="mini"
@click="copy(record.agentKey)">
<span class="more-doption normal">复制 Key</span>
</a-doption>
<!-- 安装探针 -->
<a-doption v-permission="['asset:host:install-agent']"
:disabled="record.installLog?.status === AgentLogStatus.WAIT || record.installLog?.status === AgentLogStatus.RUNNING"