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/api/report/ureport/index.ts b/src/api/report/ureport/index.ts deleted file mode 100644 index 2a9daea4..00000000 --- a/src/api/report/ureport/index.ts +++ /dev/null @@ -1,39 +0,0 @@ -import request from '@/config/axios' - -export interface UReportDataVO { - id: number - name: string - status: number - content: string - remark: string -} - -// 查询Ureport2报表分页 -export const getUReportDataPage = async (params) => { - return await request.get({ url: `/report/ureport-data/page`, params }) -} - -// 查询Ureport2报表详情 -export const getUReportData = async (id: number) => { - return await request.get({ url: `/report/ureport-data/get?id=` + id }) -} - -// 新增Ureport2报表 -export const createUReportData = async (data: UReportDataVO) => { - return await request.post({ url: `/report/ureport-data/create`, data }) -} - -// 修改Ureport2报表 -export const updateUReportData = async (data: UReportDataVO) => { - return await request.put({ url: `/report/ureport-data/update`, data }) -} - -// 删除Ureport2报表 -export const deleteUReportData = async (id: number) => { - return await request.delete({ url: `/report/ureport-data/delete?id=` + id }) -} - -// 导出Ureport2报表 Excel -export const exportUReportData = async (params) => { - return await request.download({ url: `/report/ureport-data/export-excel`, params }) -} 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 @@ \ No newline at end of file diff --git a/src/views/report/ureport/index.vue b/src/views/report/ureport/index.vue deleted file mode 100644 index e9d6c0e4..00000000 --- a/src/views/report/ureport/index.vue +++ /dev/null @@ -1,13 +0,0 @@ -