diff --git a/src/api/log.js b/src/api/log.js index d7b05ba9e..773b045ea 100644 --- a/src/api/log.js +++ b/src/api/log.js @@ -14,6 +14,21 @@ logApi.listLatest = (top) => { }) } +logApi.pageBy = logPagination => { + return service({ + url: baseUrl, + params: logPagination, + method: 'get' + }) +} + +logApi.clear = () => { + return service({ + url: `${baseUrl}/clear`, + method: 'get' + }) +} + logApi.logType = { BLOG_INITIALIZED: { value: 0, diff --git a/src/components/global.less b/src/components/global.less index 3f09a2b4a..ee16ef78d 100644 --- a/src/components/global.less +++ b/src/components/global.less @@ -614,4 +614,8 @@ body { .ant-pagination-options-size-changer.ant-select { margin: 0 } + + .pagination { + margin-top: 1rem; + } } \ No newline at end of file diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 210c50db7..b362ce4fa 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -115,6 +115,7 @@
- diff --git a/src/views/dashboard/Dashboard.vue b/src/views/dashboard/Dashboard.vue index 4ae5d76ea..717527e0f 100644 --- a/src/views/dashboard/Dashboard.vue +++ b/src/views/dashboard/Dashboard.vue @@ -153,7 +153,7 @@ >{{ item.post.title }}》

{{ item.content }}

+ + + + + + + + + {{ item.type }} + +
{{ item.content }}
+
+ +
+ +
+
+ +
+
+ +
+ + 清空操作日志 + +
+
+ + + + + + + + + - - diff --git a/src/views/sheet/internal/JournalList.vue b/src/views/sheet/internal/JournalList.vue index 564ea7815..cfff43bc3 100644 --- a/src/views/sheet/internal/JournalList.vue +++ b/src/views/sheet/internal/JournalList.vue @@ -116,6 +116,7 @@ +