From c01571d11d7294d6ff9f50aedfc76d1312191fa3 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 4 Apr 2024 01:21:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=87=8D=E6=9E=84=E3=80=91V2=20?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E8=BD=AC=E6=AD=A3=EF=BC=8C?= =?UTF-8?q?=E5=9F=BA=E4=BA=8E=E6=B3=A8=E8=A7=A3=E7=9A=84=E5=8F=AF=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=8F=98=E9=87=8F=E3=80=81=E5=8F=AF=E4=BB=A5=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=87=BD=E6=95=B0=E7=9A=84=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/operatelog/index.ts | 31 +---- .../OperateLogV2/src/OperateLogV2.vue | 4 +- src/views/crm/business/detail/index.vue | 4 +- src/views/crm/clue/detail/index.vue | 4 +- src/views/crm/contact/detail/index.vue | 4 +- src/views/crm/contract/detail/index.vue | 4 +- src/views/crm/customer/detail/index.vue | 4 +- src/views/crm/product/detail/index.vue | 4 +- src/views/crm/receivable/detail/index.vue | 4 +- .../crm/receivable/plan/detail/index.vue | 4 +- .../system/operatelog/OperateLogDetail.vue | 36 ++--- src/views/system/operatelog/index.vue | 127 +++++++++--------- 12 files changed, 93 insertions(+), 137 deletions(-) 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 @@