From 2fe250ece8de95b3f70172fe5b45793ab6a3084a Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期五, 18 一月 2019 17:30:50 +0800
Subject: [PATCH] 未审批可更改

---
 gx_tieta/WebRoot/mobil/selectbatt.html |   37 ++++++++++++++++++++-----------------
 1 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/selectbatt.html b/gx_tieta/WebRoot/mobil/selectbatt.html
index 87fc9cb..5461958 100644
--- a/gx_tieta/WebRoot/mobil/selectbatt.html
+++ b/gx_tieta/WebRoot/mobil/selectbatt.html
@@ -14,8 +14,8 @@
 		<!-- 涓夌骇鑿滃崟鍐呭	-->
 		<div data-role="page">
 			<div data-role="header" data-position="fixed">
-				<a href="machineroomM.html" class="ui-btn ui-corner-all ui-shadow ui-icon-back ui-btn-icon-left" target="_top" style="padding-top:0.7em;padding-bottom:0.7em;">杩斿洖</a>
-				<h1>钃勭數姹犵粍</h1>
+				<a href="selectcounty.html" class="ui-btn ui-corner-all ui-shadow ui-icon-back ui-btn-icon-left" target="_top" style="padding-top:0.7em;padding-bottom:0.7em;">杩斿洖</a>
+				<h1>鏈烘埧</h1>
 			</div>
 	
 			<div data-role="content">
@@ -31,34 +31,37 @@
 	<script type="text/javascript">
 		
 		var battinlist = new Array();			//鎵�鏈夌數姹犵粍鐨勬暟缁�
-		
+		var temp = getCookie("county");
 		$(document).ready(function(){
 			setCookie('batt', '');
-			//init();
-			searchkBattByStationid();
+			init();			
+			//searchkBattByStationid();
 		});
 		
-	/*	function init(){
-			var temp = getCookie("county");
+		function init(){
+			//var temp = getCookie("county");
+			
+			console.info(temp);
 			if(temp != '' || temp != undefined) {
-				temp = eval('('+temp+')');
+				temp = JSON.parse(temp);
+				//temp = eval('('+temp+')');
 				
 				var data = [
 					{url: 'javascript:JumpHomePage();', txt: '棣栭〉'},
-					{url: 'machineroomM.html', txt: temp.StationName5 },
-					{url: 'javascript:;', txt: '钃勭數姹犵粍'}
+					{url: 'javascript:JumpFirstPage();', txt:temp.StationName1},
+					{url: 'javascript:JumpcityPage();', txt: temp.StationName2},
+					{url: 'selectcounty.html', txt: temp.StationName5 },
+					{url: 'javascript:;', txt: '鏈烘埧'}
 				];
 				addBreadCrumb($('.breadcrumb').eq(0),data);
-							
-				searchkBattByStationid(temp.StationId);
+						
+				searchkBattByStationid();
 			}else {
 				window.location.href="machineroomM.html";
 			}
-		}*/
+		}
 		
-		var temp = getCookie("county");
-		temp = JSON.parse(temp);
-		console.info(temp);
+		
 		//鏍规嵁鏈烘埧id鏌ヨ鐢垫睜缁�
 		function searchkBattByStationid(){
 			loadshow();
@@ -147,4 +150,4 @@
 		});
 	</script>
 	
-</html>
\ No newline at end of file
+</html>

--
Gitblit v1.9.1