diff --git a/src/api/system/operatelog/index.ts b/src/api/system/operatelog/index.ts index e5d3d364..cdb713ea 100644 --- a/src/api/system/operatelog/index.ts +++ b/src/api/system/operatelog/index.ts @@ -2,30 +2,6 @@ import request from '@/config/axios' export type OperateLogVO = { id: number - userNickname: string - traceId: string - userId: number - module: string - name: string - type: number - content: string - exts: Map - requestMethod: string - requestUrl: string - userIp: string - userAgent: string - javaMethod: string - javaMethodArgs: string - startTime: Date - duration: number - resultCode: number - resultMsg: string - resultData: string -} - -export type OperateLogV2VO = { - id: number - userNickname: string traceId: string userType: number userId: number @@ -42,11 +18,6 @@ export type OperateLogV2VO = { creator: string creatorName: string createTime: Date - // 数据扩展,渲染时使用 - title: string // 操作标题(如果为空则取 name 值) - colSize: number // 变更记录行数 - contentStrList: string[] - tagsContentList: string[] } // 查询操作日志列表 @@ -54,6 +25,6 @@ export const getOperateLogPage = (params: PageParam) => { return request.get({ url: '/system/operate-log/page', params }) } // 导出操作日志 -export const exportOperateLog = (params) => { +export const exportOperateLog = (params: any) => { return request.download({ url: '/system/operate-log/export', params }) } diff --git a/src/components/OperateLogV2/src/OperateLogV2.vue b/src/components/OperateLogV2/src/OperateLogV2.vue index b766fb44..6acc1cc7 100644 --- a/src/components/OperateLogV2/src/OperateLogV2.vue +++ b/src/components/OperateLogV2/src/OperateLogV2.vue @@ -23,7 +23,7 @@