From 3f41ad8cf82b08585e89815feadb5a17938b3033 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 15 五月 2024 16:07:26 +0800 Subject: [PATCH] # --- src/api/report/index.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/api/report/index.js b/src/api/report/index.js index a06f450..180db24 100644 --- a/src/api/report/index.js +++ b/src/api/report/index.js @@ -14,4 +14,12 @@ return res.data.data; } return Promise.reject(new Error(res.data.msg)); +} + +export async function getTaskCharts(_params) { + const res = await request.get('/digital/charts/taskcharts', _params); + if (res.data.code === 200) { + return res.data.data; + } + return Promise.reject(new Error(res.data.msg)); } \ No newline at end of file -- Gitblit v1.9.1