From f07b70558d5b84f1070470229037629bc1ace006 Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期六, 22 六月 2024 14:39:30 +0800 Subject: [PATCH] 接口对接 --- api/data.js | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/api/data.js b/api/data.js index 3438f47..0fdef00 100644 --- a/api/data.js +++ b/api/data.js @@ -4,4 +4,23 @@ export function getDicts(dictType){ return http.get('/system/dict/data/type/' + dictType, {}, { custom: { loading: true }}); +} + +// 鏁版嵁鍒嗘瀽鎺ュ彛 +// 鎵ф硶鏁版嵁姹囨�� /report/team/getTotalInfo +export function getTotalInfo(data){ + return http.get('/report/team/getTotalInfo', {params: data}, { custom: { loading: true }}); +} +// 鎵ф硶娆℃暟閮ㄩ棬鍒嗘瀽 /report/team/getDeptCount +export function getDeptCount(data){ + return http.get('/report/team/getDeptCount', {params: data}, { custom: { loading: true }}); +} +// 浼佷笟琚墽娉曟鏁� /report/team/getCompanyCount +export function getCompanyCount(data) { + return http.get(`/report/team/getCompanyCount`, {params: data}, { custom: { loading: true }}); +} +// 鎵ф硶绫诲瀷 + +export function getEnforceTypeCount(data) { + return http.get(`/report/team/getEnforceTypeCount`, {params: data}, { custom: { loading: true }}); } \ No newline at end of file -- Gitblit v1.9.1