feat:新增公共操作日志详情组件

This commit is contained in:
puhui999
2023-12-14 18:18:55 +08:00
parent 26a082788d
commit 59c6670775
3 changed files with 198 additions and 0 deletions

View File

@ -23,6 +23,31 @@ export type OperateLogVO = {
resultData: string
}
export type OperateLogV2VO = {
id: number
userNickname: string
traceId: string
userType: number
userId: number
module: string
name: string
bizId: number
content: string
extra: string
requestMethod: string
requestUrl: string
userIp: string
userAgent: string
creator: string
creatorName: string
createTime: Date
// 数据扩展-渲染时使用
title: string // 操作标题(如果为空则取 name 值)
colSize: number // 变更记录行数
contentStrList: string[]
tagsContentList: string[]
}
// 查询操作日志列表
export const getOperateLogPage = (params: PageParam) => {
return request.get({ url: '/system/operate-log/page', params })