mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-11 19:10:33 +08:00
完善错误监控详情
This commit is contained in:
@@ -18,7 +18,6 @@ export type type_monitor_client = {
|
||||
Height?: number
|
||||
Ua?: string
|
||||
CreateTime?: string
|
||||
ClientTime?: string
|
||||
}
|
||||
// 查询
|
||||
export type type_monitor_client_query = {
|
||||
@@ -48,16 +47,21 @@ export type type_monitor_client_edit = {
|
||||
Width?: number
|
||||
Height?: number
|
||||
Ua?: string
|
||||
ClientTime?: string
|
||||
}
|
||||
|
||||
// 监控-客户端信息列表
|
||||
export function monitor_client_list(params?: type_monitor_client_query) {
|
||||
return request.get<Pages<type_monitor_client>>({ url: '/monitor_client/list', params: clearEmpty(params) })
|
||||
return request.get<Pages<type_monitor_client>>({
|
||||
url: '/monitor_client/list',
|
||||
params: clearEmpty(params)
|
||||
})
|
||||
}
|
||||
// 监控-客户端信息列表-所有
|
||||
export function monitor_client_list_all(params?: type_monitor_client_query) {
|
||||
return request.get<type_monitor_client[]>({ url: '/monitor_client/listAll', params: clearEmpty(params) })
|
||||
return request.get<type_monitor_client[]>({
|
||||
url: '/monitor_client/listAll',
|
||||
params: clearEmpty(params)
|
||||
})
|
||||
}
|
||||
|
||||
// 监控-客户端信息详情
|
||||
@@ -65,6 +69,10 @@ export function monitor_client_detail(Id: number | string) {
|
||||
return request.get<type_monitor_client>({ url: '/monitor_client/detail', params: { Id } })
|
||||
}
|
||||
|
||||
export function monitor_client_errorUsers(Id: number | string) {
|
||||
return request.get<type_monitor_client[]>({ url: '/monitor_client/errorUsers', params: { Id } })
|
||||
}
|
||||
|
||||
// 监控-客户端信息新增
|
||||
export function monitor_client_add(data: type_monitor_client_edit) {
|
||||
return request.post<null>({ url: '/monitor_client/add', data })
|
||||
@@ -89,5 +97,7 @@ export const monitor_client_import_file = '/monitor_client/ImportFile'
|
||||
|
||||
// 监控-客户端信息导出
|
||||
export function monitor_client_export_file(params: any) {
|
||||
return (window.location.href =`${config.baseUrl}${config.urlPrefix}/monitor_client/ExportFile?token=${getToken()}&` + queryString.stringify(clearEmpty(params)))
|
||||
return (window.location.href =
|
||||
`${config.baseUrl}${config.urlPrefix}/monitor_client/ExportFile?token=${getToken()}&` +
|
||||
queryString.stringify(clearEmpty(params)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user