From 401524fb5661d57ffb2229d683fe4de85b65fd1c Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 31 八月 2023 17:54:24 +0800 Subject: [PATCH] 生产管理看板+删不需要的文件 --- src/api/log.ts | 49 ++++++++++++++++++++++++++++--------------------- 1 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/api/log.ts b/src/api/log.ts index 603edc8..c1d29a8 100644 --- a/src/api/log.ts +++ b/src/api/log.ts @@ -1,35 +1,42 @@ -import request from "@/scripts/httpRequest"; - +import request from "@/scripts/httpRequest" // /data/api-v// - export const queryOperationLog = (data: any) => { - return request({ - url: "/data/api-v/log/queryOperationLog", - method: "post", - data - }) + return request({ + url: "/data/api-v/log/queryOperationLog", + method: "post", + data + }) } export const getOperations = (query: any) => { - return request({ - url: "/data/api-v/log/operations", - method: "get", + return request({ + url: "/data/api-v/log/operations", + method: "get", params: query - }) + }) } export const getModules = (query: any) => { - return request({ - url: "/data/api-v/log/modules", - method: "get", + return request({ + url: "/data/api-v/log/modules", + method: "get", params: query - }) + }) } + export const queryScheduleLog = (data: any) => { - return request({ - url: "/data/api-v/log/queryScheduleLog", - method: "post", - data - }) + return request({ + url: "/data/api-v/log/queryScheduleLog", + method: "post", + data + }) +} + +export const querySystemLog = (data: any) => { + return request({ + url: "/data/api-l/vasystemLogs", + method: "post", + data + }) } -- Gitblit v1.8.0