记录调整添加接口入参

This commit is contained in:
joylink_fanyuhong 2024-10-21 10:57:15 +08:00
parent c7d5464276
commit 31ae2f378d
3 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,9 @@ export interface Record {
createDateTime: string; createDateTime: string;
} }
export class PagingQueryParams extends PageQueryDto {} export class PagingQueryParams extends PageQueryDto {
logType = 'logType';
}
/** /**
* *

View File

@ -142,6 +142,7 @@ async function onRequest(props: any) {
let response = await pageQuery({ let response = await pageQuery({
current: page, current: page,
size: rowsPerPage, size: rowsPerPage,
logType: 'LOGIN',
}); });
pagination.value.rowsNumber = response.total; pagination.value.rowsNumber = response.total;

View File

@ -142,6 +142,7 @@ async function onRequest(props: any) {
let response = await pageQuery({ let response = await pageQuery({
current: page, current: page,
size: rowsPerPage, size: rowsPerPage,
logType: 'OPERATE',
}); });
pagination.value.rowsNumber = response.total; pagination.value.rowsNumber = response.total;