From 673ed0ce6809aecc7b1bdb1c8bb5f6018047105f Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期四, 05 十二月 2024 17:09:09 +0800 Subject: [PATCH] 分角色展示项目计划,实现不同角色的功能 --- src/api/login.js | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index 7b7388f..ead6dd7 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -57,4 +57,21 @@ method: 'get', timeout: 20000 }) -} \ No newline at end of file +} + +export function getCalculatioln(data) { + return request({ + url: '/count', + method: 'post', + data: data + }); +} + +// 鑾峰彇寮傚父鏁版嵁缁熻 +export function getAbnormalData(query) { + return request({ + url: '/countExceptionProject', + method: 'get', + params: query + }); +} -- Gitblit v1.8.0