From d425c878acbdcfc9369c167d14bf0eb7237a7257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 14 Aug 2024 17:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/index.js | 8 ++++++- src/views/index.vue | 47 ++++++++++++++++++----------------------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/src/api/system/index.js b/src/api/system/index.js index 9b2e7da..25dfee9 100644 --- a/src/api/system/index.js +++ b/src/api/system/index.js @@ -23,4 +23,10 @@ export function serviceModeStatistics(query) { params: query }) } - +export function taskSituation(query) { + return request({ + url: '/system/homePage/taskSituation', + method: 'get', + params: query + }) +} diff --git a/src/views/index.vue b/src/views/index.vue index 9b4f9ef..6a6749c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -30,42 +30,28 @@