🔨 数据清理时添加条数限制.

This commit is contained in:
lijiahang
2024-08-29 18:26:26 +08:00
parent d7b747eac4
commit 104a9a0aa3
61 changed files with 490 additions and 283 deletions

View File

@@ -1,6 +1,7 @@
import type { DataGrid } from '@/types/global';
import type {
ExecHostLogQueryResponse,
ExecLogClearRequest,
ExecLogInterruptRequest,
ExecLogQueryRequest,
ExecLogQueryResponse,
@@ -73,13 +74,13 @@ export function deleteExecJobHostLog(id: number) {
* 查询计划任务日志数量
*/
export function getExecJobLogCount(request: ExecLogQueryRequest) {
return axios.post<number>('/asset/exec-job-log/query-count', request);
return axios.post<number>('/asset/exec-job-log/count', request);
}
/**
* 清空计划任务日志
*/
export function clearExecJobLog(request: ExecLogQueryRequest) {
export function clearExecJobLog(request: ExecLogClearRequest) {
return axios.post<number>('/asset/exec-job-log/clear', request);
}