From 757281ce3497130f9f033018925b42c19c8aa10b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 3 Apr 2024 19:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E8=AE=BF=E9=97=AE=E6=97=A5=E5=BF=97=EF=BC=8C=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=98=AF=E5=90=A6=E8=AE=B0=E5=BD=95=E3=80=81=E8=84=B1?= =?UTF-8?q?=E6=95=8F=E3=80=81=E6=93=8D=E4=BD=9C=E4=BF=A1=E6=81=AF=E7=AD=89?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/infra/apiAccessLog/index.ts | 6 +++++- .../infra/apiAccessLog/ApiAccessLogDetail.vue | 12 ++++++++++++ src/views/infra/apiAccessLog/index.vue | 15 +++++++++++---- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/src/api/infra/apiAccessLog/index.ts b/src/api/infra/apiAccessLog/index.ts index c6b4b45f..4fa50e17 100644 --- a/src/api/infra/apiAccessLog/index.ts +++ b/src/api/infra/apiAccessLog/index.ts @@ -8,11 +8,15 @@ export interface ApiAccessLogVO { applicationName: string requestMethod: string requestParams: string + responseBody: string requestUrl: string userIp: string userAgent: string + operateModule: string + operateName: string + operateType: number beginTime: Date - endTIme: Date + endTime: Date duration: number resultCode: number resultMsg: string diff --git a/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue b/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue index 0fd5aec3..ca7fa8fb 100644 --- a/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue +++ b/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue @@ -26,6 +26,9 @@ {{ detailData.requestParams }} + + {{ detailData.responseBody }} + {{ formatDate(detailData.beginTime) }} ~ {{ formatDate(detailData.endTime) }} @@ -36,6 +39,15 @@ 失败 | {{ detailData.resultCode }} | {{ detailData.resultMsg }} + + {{ detailData.operateModule }} + + + {{ detailData.operateName }} + + + + diff --git a/src/views/infra/apiAccessLog/index.vue b/src/views/infra/apiAccessLog/index.vue index b196da11..4485b730 100644 --- a/src/views/infra/apiAccessLog/index.vue +++ b/src/views/infra/apiAccessLog/index.vue @@ -91,16 +91,16 @@ - + - + - + - + + + + + +