From 31ae2f378d1e8764f0585d5e455930cb70180d85 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Mon, 21 Oct 2024 10:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=B0=83=E6=95=B4=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8E=A5=E5=8F=A3=E5=85=A5=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/LogApi.ts | 4 +++- src/pages/LoginRecord.vue | 1 + src/pages/OperateRecord.vue | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) 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;