diff --git a/src/api/document/document.js b/src/api/document/document.js index 080e497..a86601b 100644 --- a/src/api/document/document.js +++ b/src/api/document/document.js @@ -52,3 +52,13 @@ export function pushDoc(id) { method: 'put' }) } + + +// 获取统计信息 +export function getStatistics(query) { + return request({ + url: '/document/statistics', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/views/filestatistic/DownStatDetail.vue b/src/views/filestatistic/DownStatDetail.vue new file mode 100644 index 0000000..a8c7067 --- /dev/null +++ b/src/views/filestatistic/DownStatDetail.vue @@ -0,0 +1,87 @@ + + diff --git a/src/views/filestatistic/PieChart.vue b/src/views/filestatistic/PieChart.vue new file mode 100644 index 0000000..e6a7360 --- /dev/null +++ b/src/views/filestatistic/PieChart.vue @@ -0,0 +1,102 @@ + + + diff --git a/src/views/filestatistic/index.vue b/src/views/filestatistic/index.vue new file mode 100644 index 0000000..349743c --- /dev/null +++ b/src/views/filestatistic/index.vue @@ -0,0 +1,163 @@ + + + + +