diff --git a/src/api/counter.js b/src/api/counter.js index 91be8fe..acbdc76 100644 --- a/src/api/counter.js +++ b/src/api/counter.js @@ -35,3 +35,12 @@ export function fetchDeviceLogStatistic(query) { params: query }) } + +// log statistic history api +export function fetchLogStatisticHistory(query) { + return request({ + url: '/api/counter/logs/statistic/history/', + method: 'get', + params: query + }) +} diff --git a/src/views/dashboard/admin/components/LogHistoryTable.vue b/src/views/dashboard/admin/components/LogHistoryTable.vue new file mode 100644 index 0000000..af1de53 --- /dev/null +++ b/src/views/dashboard/admin/components/LogHistoryTable.vue @@ -0,0 +1,35 @@ + + + + + + diff --git a/src/views/dashboard/admin/index.vue b/src/views/dashboard/admin/index.vue index dfaaf79..445e2e0 100644 --- a/src/views/dashboard/admin/index.vue +++ b/src/views/dashboard/admin/index.vue @@ -15,6 +15,10 @@ + + + +