From 88193f9c5751110bd353829173e66b3b4099ed7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Sat, 13 Jul 2024 19:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=AD=90=E6=A3=80?= =?UTF-8?q?=E7=B4=A2=E5=92=8C=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/system.js | 14 ++++++ src/components/scExport/index.vue | 5 +- src/components/scSearch/index.vue | 2 +- src/views/setting/company/index.vue | 5 ++ src/views/setting/log/index.vue | 77 ++++++++++++++++------------- 5 files changed, 67 insertions(+), 36 deletions(-) diff --git a/src/api/model/system.js b/src/api/model/system.js index 71ecbf5..ff225e4 100644 --- a/src/api/model/system.js +++ b/src/api/model/system.js @@ -391,6 +391,20 @@ export default { return await http.post(this.url, params); }, }, + operation: { + url: `${config.API_URL}/sys.log.operation.list`, + name: "日志操作功能", + post: async function (params) { + return await http.post(this.url, params); + }, + }, + export:{ + url: `${config.API_URL}/sys.log.export`, + name: "操作日志导出", + post: async function (params) { + return await http.post(this.url,params); + } + } }, table: { list: { diff --git a/src/components/scExport/index.vue b/src/components/scExport/index.vue index 2145d2f..6bbcf6b 100644 --- a/src/components/scExport/index.vue +++ b/src/components/scExport/index.vue @@ -1,6 +1,6 @@