From 865f015e47aada46b066af2923cddb553f3f1b07 Mon Sep 17 00:00:00 2001 From: zuojianhua Date: Mon, 26 May 2025 12:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E7=BB=B4=E6=95=B0=E6=8D=AE=EF=BC=8Cng?= =?UTF-8?q?inx-log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/operation/logs/types.ts | 150 +++++++++++++++++++++++------ src/views/operation/logs/index.vue | 146 +++++++++++++++++++--------- 2 files changed, 222 insertions(+), 74 deletions(-) diff --git a/src/api/operation/logs/types.ts b/src/api/operation/logs/types.ts index ba162bd6..b9021a70 100644 --- a/src/api/operation/logs/types.ts +++ b/src/api/operation/logs/types.ts @@ -1,145 +1,235 @@ export interface LogsVO { /** - * + * */ id: string | number; /** - * + * */ realIp: string; /** - * + * */ timeLocal: string; /** - * + * */ requestMethod: string; /** - * + * */ requestUri: string; /** - * + * */ userAgent: string; /** - * + * */ requestParams: string; /** - * + * */ userToken: string; /** - * + * */ createdAt: string; + /** + * 手机号 + */ + mobile: string; + + /** + * 用户ID + */ + userId: string | number; + + /** + * + */ + deviceId: string | number; + + /** + * 更新用户信息表, 是否已更新 + */ + isUpdateUser: number; + + /** + * 比赛id + */ + matchId: string | number; + + /** + * + */ + apiNames: string; + } export interface LogsForm extends BaseEntity { /** - * + * */ id?: string | number; /** - * + * */ realIp?: string; /** - * + * */ timeLocal?: string; /** - * + * */ requestMethod?: string; /** - * + * */ requestUri?: string; /** - * + * */ userAgent?: string; /** - * + * */ requestParams?: string; /** - * + * */ userToken?: string; /** - * + * */ createdAt?: string; + /** + * 手机号 + */ + mobile?: string; + + /** + * 用户ID + */ + userId?: string | number; + + /** + * + */ + deviceId?: string | number; + + /** + * 更新用户信息表, 是否已更新 + */ + isUpdateUser?: number; + + /** + * 比赛id + */ + matchId?: string | number; + + /** + * + */ + apiNames?: string; + } export interface LogsQuery extends PageQuery { /** - * + * */ realIp?: string; /** - * + * */ timeLocal?: string; /** - * + * */ requestMethod?: string; /** - * + * */ requestUri?: string; /** - * + * */ userAgent?: string; /** - * + * */ requestParams?: string; /** - * + * */ userToken?: string; /** - * + * */ createdAt?: string; - /** - * 日期范围参数 - */ - params?: any; + /** + * 手机号 + */ + mobile?: string; + + /** + * 用户ID + */ + userId?: string | number; + + /** + * + */ + deviceId?: string | number; + + /** + * 更新用户信息表, 是否已更新 + */ + isUpdateUser?: number; + + /** + * 比赛id + */ + matchId?: string | number; + + /** + * + */ + apiNames?: string; + + /** + * 日期范围参数 + */ + params?: any; } diff --git a/src/views/operation/logs/index.vue b/src/views/operation/logs/index.vue index 6039c279..118f86b2 100644 --- a/src/views/operation/logs/index.vue +++ b/src/views/operation/logs/index.vue @@ -4,13 +4,16 @@
- - + + - - + + - + + + + + + + + + + + + + + + + + + + + + 搜索 重置 @@ -28,49 +50,55 @@ - + --> - - - - - - - + + + + + + + - + - - - - - - - - - - + + + + + + + @@ -107,6 +135,24 @@ placeholder="请选择"> + + + + + + + + + + + + + + + + + +