Wire ListExportDropdown with filtered/selected backend xlsx export. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
560 B
TypeScript
23 lines
560 B
TypeScript
import request from '@/utils/http'
|
|
|
|
/** 操作日志分页列表 */
|
|
export function list(data?: Record<string, any>) {
|
|
return request.post({ url: '/web/monitor/operlog/list', data })
|
|
}
|
|
|
|
/** 操作日志导出 */
|
|
export function exportOperLog(data?: Record<string, any>) {
|
|
return request.post({
|
|
url: '/web/monitor/operlog/export',
|
|
data,
|
|
responseType: 'blob'
|
|
})
|
|
}
|
|
|
|
/** 操作日志详情 */
|
|
export function getDetail(data: { id: string }) {
|
|
return request.post({ url: '/web/monitor/operlog/detail', data })
|
|
}
|
|
|
|
export const detail = getDetail
|