From d0f98ad8e1047e3161a458399ad3005404ed87b8 Mon Sep 17 00:00:00 2001 From: whychdw <496960745@qq.com> Date: 星期五, 06 六月 2025 15:52:15 +0800 Subject: [PATCH] 标准参数管理 --- src/api/statistic.js | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/src/api/statistic.js b/src/api/statistic.js index b19edde..24698d4 100644 --- a/src/api/statistic.js +++ b/src/api/statistic.js @@ -31,4 +31,83 @@ method: "POST", data }); +} + +/** + * 钃勭數姹犵粍淇℃伅缁熻 + */ +export function getBattStatistic(data) { + return request({ + url: "statistic/getBattStatistic", + method: "POST", + data + }); +} + +/** + * 璁惧淇℃伅缁熻 + */ +export function getDeviceStatistic(data) { + return request({ + url: "statistic/getDevStatistic", + method: "POST", + data + }); +} + +/** + * 鍗曡妭鏁伴噺缁熻 + */ +export function getSingleStatistic(data) { + return request({ + url: "statistic/getMonStatistic", + method: "POST", + data + }); +} + +/** + * 鐢垫簮淇℃伅缁熻 + */ +export function getPowerStatistic(data) { + return request({ + url: "statistic/getPowerStatistic", + method: "POST", + data + }); +} + +/** + * 钃勭數姹犵粍瀵规瘮鍒嗘瀽鐣岄潰锛堝悓涓�鍝佺墝鍚屼竴鏃堕棿锛�(1.2.15) + */ +export function getBattCompare15(data) { + return request({ + url: "statistic/getBattCompare15Statistic", + method: "POST", + data + }); +} + +/** + * 钃勭數姹犵粍瀵规瘮鍒嗘瀽鐣岄潰锛堜笉鍚屽搧鐗屽悓涓�鏃堕棿锛�(1.2.16) + */ +export function getBattCompare16(data) { + return request({ + url: "statistic/getBattCompare16Statistic", + method: "POST", + data + }); +} + +/** + * 鍗曡妭鏁版渶缁熻瀵煎嚭 + */ +export function battMonExport(data) { + return request({ + url: "export/exportBattTinfStatistic", + method: "POST", + fullRes: true, + responseType: "blob", + data + }); } \ No newline at end of file -- Gitblit v1.9.1