diff --git a/src/api/log/operationLog.js b/src/api/log/operationLog.js index 3680fae..c27bf30 100644 --- a/src/api/log/operationLog.js +++ b/src/api/log/operationLog.js @@ -18,3 +18,9 @@ export function batchDeleteOperationLogByIds(data) { }) } +export function CleanOperationLog() { + return request({ + url: '/api/log/operation/clean', + method: 'delete' + }) +} diff --git a/src/views/log/operation-log/index.vue b/src/views/log/operation-log/index.vue index 47c18b8..0e45a94 100644 --- a/src/views/log/operation-log/index.vue +++ b/src/views/log/operation-log/index.vue @@ -3,33 +3,87 @@ - + - + + + + + + + + - + 查询 - 批量删除 + 批量删除 + + + 清空日志 - + + + + @@ -39,7 +93,8 @@ @@ -70,7 +125,7 @@