From 9941b6b14fc01ad49c9581c0eab75ac9b29da691 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 24 一月 2022 19:56:18 +0800
Subject: [PATCH] 完善系统日志功能

---
 src/api/log.ts |   35 ++++++++++++++++++++++++-----------
 1 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/src/api/log.ts b/src/api/log.ts
index 769b924..8627e3f 100644
--- a/src/api/log.ts
+++ b/src/api/log.ts
@@ -1,4 +1,4 @@
-import request from "@/scripts/httpRequest";
+import request from "@/scripts/httpRequest"
 
 // /data/api-v//
 
@@ -7,34 +7,47 @@
     url: "/data/api-v/log/queryOperationLog",
     method: "post",
     data
-  });
-};
+  })
+}
 
 export const getOperations = (query: any) => {
   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",
     params: query
-  });
-};
+  })
+}
 export const queryScheduleLog = (data: any) => {
   return request({
     url: "/data/api-v/log/queryScheduleLog",
     method: "post",
     data
-  });
-};
+  })
+}
 export const queryDataPushLog = (data: any) => {
   return request({
     url: "/data/api-v/log/ruleServerLog",
     method: "post",
     data
-  });
-};
+  })
+}
+export const queryVaSystemLog = (data: any) => {
+  return request({
+    url: "/data/api-v/log/vaSystemLog",
+    method: "post",
+    data
+  })
+}
+export const queryProcName = () => {
+  return request({
+    url: "/data/api-v/log/procNames",
+    method: "get"
+  })
+}

--
Gitblit v1.8.0