From 5df49859b134da4ad9de58531fa19eaf197fbd2e Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.23> Date: 星期二, 27 十一月 2018 16:22:05 +0800 Subject: [PATCH] Merge branch 'dev_lxw' of https://whyclxw1@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw --- gx_tieta/WebRoot/Top.jsp | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/Top.jsp b/gx_tieta/WebRoot/Top.jsp index 93433a6..053cabe 100644 --- a/gx_tieta/WebRoot/Top.jsp +++ b/gx_tieta/WebRoot/Top.jsp @@ -221,7 +221,7 @@ searchpoweroff(); //鏌ヨ鏈烘埧鍋滅數鎬绘暟 searchdevalarm(); //鏌ヨ璁惧瀹炴椂鍛婅鎬绘暟 searchnotcomplan(); //鏌ヨ鏈斁鐢电殑璁″垝鎬绘暟 - + searchWeakHome(); //鏌ヨ鏈烘埧缁埅涓嶈冻鐨勪釜鏁� /* setInterval(function(){ searchlowmon(); //鏌ヨ钀藉悗鍗曚綋鎬绘暟 searchpoweroff(); //鏌ヨ鏈烘埧鍋滅數鎬绘暟 @@ -333,6 +333,23 @@ }); } + // 鏈烘埧缁埅涓嶈冻涓暟 + function searchWeakHome() { + $.ajax({ + type: 'post' + ,async: true + ,url: 'Batt_enduranceAction!serchxuhangNotInThree' + ,data: null + ,dataType: 'json' + ,success: function(res) { + var rs = JSON.parse(res.result); + $('#weak_home').text(rs.sum); + + setTimeout(searchWeakHome, 5000); + } + }); + } + $(function(){ $.ajax({ @@ -361,7 +378,6 @@ // 娣诲姞澶╂皵鎻掍欢鍜岀數姹犱俊鎭暱搴︽帶鍒� $(function() { limitWidth(); - //addWeather(); }); // 闄愬埗鏄剧ず涓暟 -- Gitblit v1.9.1