🔨 修改文案.

This commit is contained in:
lijiahangmax
2025-11-10 09:57:36 +08:00
parent 6514363847
commit 061495eb13
7 changed files with 13 additions and 4 deletions

View File

@@ -29,6 +29,7 @@ import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
/**
* 主机探针状态 视图响应对象
@@ -61,4 +62,7 @@ public class HostAgentStatusVO implements Serializable {
@Schema(description = "探针在线状态")
private Integer agentOnlineStatus;
@Schema(description = "探针切换在线状态时间")
private Date agentOnlineChangeTime;
}

View File

@@ -119,7 +119,8 @@ public class HostAgentServiceImpl implements HostAgentService {
.select(HostDO::getId,
HostDO::getAgentVersion,
HostDO::getAgentInstallStatus,
HostDO::getAgentOnlineStatus)
HostDO::getAgentOnlineStatus,
HostDO::getAgentOnlineChangeTime)
.in(HostDO::getId, idList)
.then()
.stream()

View File

@@ -10,6 +10,7 @@ export interface HostAgentStatusResponse {
latestVersion: string;
agentInstallStatus: number;
agentOnlineStatus: number;
agentOnlineChangeTime: number;
}
/**

View File

@@ -143,6 +143,7 @@
v-model="formModel.publicIpAddresses"
class="input"
size="mini"
placeholder="支持输入多个地址 回车后添加"
allow-clear />
<a-space v-else>
<a-tag v-for="addr in (formModel.publicIpAddresses || [])">
@@ -156,6 +157,7 @@
v-model="formModel.privateIpAddresses"
class="input"
size="mini"
placeholder="支持输入多个地址 回车后添加"
allow-clear />
<a-space v-else>
<a-tag v-for="addr in (formModel.privateIpAddresses || [])">

View File

@@ -174,6 +174,7 @@ export default function useMonitorHostList(options: UseMonitorHostListOptions) {
s.latestVersion = item.latestVersion;
s.agentInstallStatus = item.agentInstallStatus;
s.agentOnlineStatus = item.agentOnlineStatus;
s.agentOnlineChangeTime = item.agentOnlineChangeTime;
});
});
} catch (e) {

View File

@@ -85,7 +85,7 @@
// 打开新增
const openAdd = () => {
title.value = '添加路径签';
title.value = '添加路径签';
isAddHandle.value = true;
renderForm({ ...defaultForm() });
setVisible(true);
@@ -93,7 +93,7 @@
// 打开修改
const openUpdate = (record: any) => {
title.value = '修改路径签';
title.value = '修改路径签';
isAddHandle.value = false;
renderForm({ ...defaultForm(), ...record });
setVisible(true);

View File

@@ -64,7 +64,7 @@
<a-switch v-model="formModel.enableBell" type="round" />
</block-setting-item>
<!-- 单词分隔符 -->
<block-setting-item label="单词分隔符" desc="在终端中双击文本将使用该分隔符进行分 (一般不用修改)">
<block-setting-item label="单词分隔符" desc="在终端中双击文本将使用该分隔符进行分 (一般不用修改)">
<a-input v-model="formModel.wordSeparator"
size="small"
style="width: 168px"