立项配置数据入库、审计日志数据入库、编辑页UI界面美化、设备管理内容补充、审计日志显示优化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { apiDelete, apiGet } from "./axios";
|
||||
import { apiDelete, apiGet, apiPost } from "./axios";
|
||||
import type { ApiListResponse } from "../types/api";
|
||||
|
||||
export const fetchAuditLogs = (studyId: string, params?: Record<string, any>) =>
|
||||
@@ -6,3 +6,6 @@ export const fetchAuditLogs = (studyId: string, params?: Record<string, any>) =>
|
||||
|
||||
export const deleteAuditLog = (studyId: string, logId: string) =>
|
||||
apiDelete(`/api/v1/studies/${studyId}/audit-logs/${logId}`);
|
||||
|
||||
export const createAuditEvent = (studyId: string, payload: Record<string, any>) =>
|
||||
apiPost(`/api/v1/studies/${studyId}/audit-logs/events`, payload);
|
||||
|
||||
Reference in New Issue
Block a user