From c9a30e6fbf36ef8f3d8fa3be1ab3306163f1cdc5 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 18 Mar 2023 19:00:58 +0800 Subject: [PATCH] =?UTF-8?q?Vue3=20=E9=87=8D=E6=9E=84=EF=BC=9A=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97=E7=9A=84=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/operatelog/index.ts | 12 +- src/views/infra/config/index.vue | 2 +- src/views/system/notice/index.vue | 8 +- src/views/system/operatelog/index.vue | 233 +++++++++++++++++++------- 4 files changed, 184 insertions(+), 71 deletions(-) diff --git a/src/api/system/operatelog/index.ts b/src/api/system/operatelog/index.ts index 5fd31dba..848a5333 100644 --- a/src/api/system/operatelog/index.ts +++ b/src/api/system/operatelog/index.ts @@ -23,19 +23,11 @@ export type OperateLogVO = { resultData: string } -export interface OperateLogPageReqVO extends PageParam { - module?: string - userNickname?: string - type?: number - success?: boolean - startTime?: Date[] -} - // 查询操作日志列表 -export const getOperateLogPageApi = (params: OperateLogPageReqVO) => { +export const getOperateLogPage = (params: PageParam) => { return request.get({ url: '/system/operate-log/page', params }) } // 导出操作日志 -export const exportOperateLogApi = (params: OperateLogPageReqVO) => { +export const exportOperateLog = (params) => { return request.download({ url: '/system/operate-log/export', params }) } diff --git a/src/views/infra/config/index.vue b/src/views/infra/config/index.vue index 0136a9d5..11fc8fe0 100644 --- a/src/views/infra/config/index.vue +++ b/src/views/infra/config/index.vue @@ -59,7 +59,7 @@ - + diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 8add0eab..e36f3aac 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -1,7 +1,7 @@