From 3a4b1e114e5d846fe6ce08f7a7e973d372b44f67 Mon Sep 17 00:00:00 2001
From: CJJ <Administrator@192.168.10.23>
Date: 星期二, 20 十一月 2018 11:36:32 +0800
Subject: [PATCH] 历史数据

---
 gx_tieta/WebRoot/mobil/history.html |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/history.html b/gx_tieta/WebRoot/mobil/history.html
index ab57eec..69d7432 100644
--- a/gx_tieta/WebRoot/mobil/history.html
+++ b/gx_tieta/WebRoot/mobil/history.html
@@ -63,6 +63,7 @@
 			var res_list=new Array();			//鐢靛鍐呴樆娴嬭瘯鏁版嵁
 			var temp = getCookie("batt");
 			var batt=eval("("+temp+")");
+			console.info(batt);
 			$(document).ready(function(){
 				//console.info(batt);
 				
@@ -94,6 +95,10 @@
 			
 			function searchcharedata(batt){
 				loadshow();
+				var temp = {
+					num:batt.FBSDeviceId,
+					BattGroupId:batt.BattGroupId
+				};
 				jieneng_charge_list = new Array();		//鑺傝兘鍏呯數娴嬭瘯鏁版嵁
 				tingdian_charge_list = new Array();		//鍋滅數鍏呯數娴嬭瘯鏁版嵁
 				
@@ -101,10 +106,10 @@
 				tingdian_discharge_list = new Array();	//鍋滅數鏀剧數娴嬭瘯鏁版嵁
 				//jiafu_discharge_list = new Array();	//鍋囪礋杞芥斁鐢垫祴璇曟暟鎹�
 				$.ajax({
-					url : "Batttestdata_infAction!findByInfo",
+					url : "Batttestdata_infAction_searchBattTestInfDataById",
 					async: true,
 					type : "POST",
-					data : "bti.BattGroupId="+batt.BattGroupId,
+					data : "json="+JSON.stringify(temp),
 					dataType :	"json",
 					success : function(data){
 						//console.info(data);

--
Gitblit v1.9.1