🔨 数据清理时添加条数限制.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { SelectOptionData } from '@arco-design/web-vue';
|
||||
import type { DataGrid, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue/es/table/interface';
|
||||
import axios from 'axios';
|
||||
@@ -160,6 +161,13 @@ export function getHostPage(request: HostQueryRequest) {
|
||||
return axios.post<DataGrid<HostQueryResponse>>('/asset/host/query', request);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询主机数量
|
||||
*/
|
||||
export function getHostCount(request: HostQueryRequest) {
|
||||
return axios.post<number>('/asset/host/count', request);
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过 id 删除主机
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user