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

Merge pull request !346 from puhui999/dev-crm
This commit is contained in:
芋道源码 authored and Gitee committed 2023-12-30 12:54:53 +00:00
commit 631c105f94
8 files changed
+252 -27

No files matched your search

+5
View File
@@ -67,3 +67,8 @@ export const exportCustomer = async (params) => {
export const queryAllList = async () => {
return await request.get({ url: `/crm/customer/query-all-list` })
}
// 查询客户操作日志
export const getOperateLogPage = async (params) => {
return await request.get({ url: '/crm/customer/operate-log-page', params })
}
+26
View File
@@ -23,6 +23,32 @@ export type OperateLogVO = {
resultData: string
}
export type OperateLogV2VO = {
id: number
userNickname: string
traceId: string
userType: number
userId: number
userName: string
type: string
subType: string
bizId: number
action: 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 })