From afbd08deb5101d2f2ff97f66f4388162f38860a2 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 17 八月 2024 11:21:55 +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 ca69eef..46f40d4 100644 --- a/src/api/report/index.js +++ b/src/api/report/index.js @@ -1,5 +1,13 @@ import request from '../../utils/request'; +export async function getActionCount(_params) { + const res = await request.get('/digital/charts/actioncount', _params); + if (res.data.code === 200) { + return res.data.data; + } + return Promise.reject(new Error(res.data.msg)); +} + export async function getAgvCharts(_params) { const res = await request.get('/digital/charts/agvcharts', _params); if (res.data.code === 200) { -- Gitblit v1.9.1