From aaa8ffcb83ce577612d1c88a295db0e12f87a83c Mon Sep 17 00:00:00 2001 From: he wei <858544502@qq.com> Date: 星期五, 14 四月 2023 14:21:07 +0800 Subject: [PATCH] U 首页修改 --- src/views/home/js/api.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/views/home/js/api.js b/src/views/home/js/api.js index c2fb213..7d7aa8a 100644 --- a/src/views/home/js/api.js +++ b/src/views/home/js/api.js @@ -197,4 +197,28 @@ method: 'GET', url: 'StationInf/searCapChange' }); +}; + +/** + * 鑾峰彇瀹炴椂鍋滅數鏀剧數鐢垫睜缁� + * @param data + * @returns {AxiosPromise} + */ +export const getJcdisBatt = () => { + return axios({ + method: 'GET', + url: 'Batttestdata_infAction/getJcdisBatt' + }); +}; + +/** + * 鑾峰彇鏈勾宸叉牳瀹规斁鐢电數姹犵粍 + * @param data + * @returns {AxiosPromise} + */ +export const getHrYeardisBatt = () => { + return axios({ + method: 'GET', + url: 'Batttestdata_infAction/getHrYeardisBatt' + }); }; \ No newline at end of file -- Gitblit v1.9.1