From fa00382db413a8489d07983b66f0869305b51a9a Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期五, 11 一月 2019 11:35:54 +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