diff --git a/src/api/LogApi.ts b/src/api/LogApi.ts index c8e0ae7..e054910 100644 --- a/src/api/LogApi.ts +++ b/src/api/LogApi.ts @@ -18,7 +18,9 @@ export interface Record { createDateTime: string; } -export class PagingQueryParams extends PageQueryDto {} +export class PagingQueryParams extends PageQueryDto { + logType = 'logType'; +} /** * 分页查询事件信息列表 diff --git a/src/pages/LoginRecord.vue b/src/pages/LoginRecord.vue index c3a6d48..4a1a42e 100644 --- a/src/pages/LoginRecord.vue +++ b/src/pages/LoginRecord.vue @@ -142,6 +142,7 @@ async function onRequest(props: any) { let response = await pageQuery({ current: page, size: rowsPerPage, + logType: 'LOGIN', }); pagination.value.rowsNumber = response.total; diff --git a/src/pages/OperateRecord.vue b/src/pages/OperateRecord.vue index 1361ce8..d6090f1 100644 --- a/src/pages/OperateRecord.vue +++ b/src/pages/OperateRecord.vue @@ -142,6 +142,7 @@ async function onRequest(props: any) { let response = await pageQuery({ current: page, size: rowsPerPage, + logType: 'OPERATE', }); pagination.value.rowsNumber = response.total;