From 609b8abb33368d181f76bf30f80aefcc0787984e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A2=A8=E5=A4=A7=E5=8F=94?= <494979559@qq.com> Date: Tue, 6 Aug 2024 17:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9B=B4=E6=96=B0=EF=BC=88?= =?UTF-8?q?=E4=B8=80=E5=8D=8A=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dashboard.js | 10 + src/assets/icons/svg/withdraw.svg | 2 +- src/assets/styles/ruoyi.scss | 2 - src/views/dashboard/Brief.vue | 214 +++++++++--------- .../dashboard/component/SmallLineChart.vue | 109 +++++++++ src/views/dashboard/component/TodoList.vue | 122 ++++++++++ src/views/index.vue | 21 +- src/views/ss/abnormal/index.vue | 14 ++ src/views/ss/mchApply/index.vue | 4 + src/views/ss/storeApply/index.vue | 1 + src/views/system/device/index.vue | 14 +- src/views/system/withdraw/index.vue | 4 + 12 files changed, 405 insertions(+), 112 deletions(-) create mode 100644 src/views/dashboard/component/SmallLineChart.vue create mode 100644 src/views/dashboard/component/TodoList.vue diff --git a/src/api/system/dashboard.js b/src/api/system/dashboard.js index ca7e921..2b1dcc5 100644 --- a/src/api/system/dashboard.js +++ b/src/api/system/dashboard.js @@ -27,3 +27,13 @@ export function balancePeriod(query) { params: query }) } + +// 获取待办事项 +export function getTodoList() { + return request({ + url: '/system/dashboard/todoList', + method: 'get' + }) +} + + diff --git a/src/assets/icons/svg/withdraw.svg b/src/assets/icons/svg/withdraw.svg index e3a6154..38b2535 100644 --- a/src/assets/icons/svg/withdraw.svg +++ b/src/assets/icons/svg/withdraw.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index 73bfb82..fd173cc 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -204,8 +204,6 @@ } .card-box { - padding-right: 15px; - padding-left: 15px; margin-bottom: 10px; } diff --git a/src/views/dashboard/Brief.vue b/src/views/dashboard/Brief.vue index 441eaf0..8c6458c 100644 --- a/src/views/dashboard/Brief.vue +++ b/src/views/dashboard/Brief.vue @@ -1,6 +1,6 @@