From 320f22bf07d60542f97be0e173165f002e367de3 Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 7 Dec 2022 17:25:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/index.js | 20 +++ src/views/index.vue | 264 ++++++++++++++++++++++++++++++---------- 2 files changed, 220 insertions(+), 64 deletions(-) create mode 100644 src/api/system/index.js diff --git a/src/api/system/index.js b/src/api/system/index.js new file mode 100644 index 0000000..6290c61 --- /dev/null +++ b/src/api/system/index.js @@ -0,0 +1,20 @@ +import request from '@/utils/request' + +// 查询首页基本信息 + +export function informationStatistics(query) { + return request({ + url: '/system/homeStatistics/informationStatistics', + method: 'get', + params: query + }) +} +// 查询首页今日概述 +export function summaryToday(query) { + return request({ + url: '/system/homeStatistics/summaryToday', + method: 'get', + params: query + }) + } + diff --git a/src/views/index.vue b/src/views/index.vue index f5ff6d3..a0321bf 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,5 +1,49 @@