MTR探测策略/MTRAgent管理模块

1、MTRAgent管理模块
2、MTR探测策略
3、修改流量图默认显示时间
4、优化并修改bug
This commit is contained in:
康冉冉
2025-11-21 18:38:36 +08:00
parent 2d12879bab
commit 2c339ecfdb
31 changed files with 733 additions and 187 deletions
+33
View File
@@ -1092,3 +1092,36 @@ export function getSwitchInfoList(data) {
data: data
})
}
/** --------------MTRAgent管理--------------- */
// 查询列表
export function listMtrAgent(query) {
return request({
url: '/mtragent/mtrClientRegistration/list',
method: 'post',
data: query
})
}
// 新增
export function addMtrAgent(data) {
return request({
url: '/mtragent/mtrClientRegistration/addAgentUpdatePolicy',
method: 'post',
data: data
})
}
// 查询详细
export function getMtrAgent(Id) {
return request({
url: '/mtragent/mtrClientRegistration/' + Id,
method: 'get'
})
}
// 丢包率趋势
export function lossRateByMtr(data) {
return request({
url: '/mtragent/mtrProbeResult/getLossRateByMtrClientId',
method: 'post',
data: data
})
}