From c58d9f94318d9c8c3c3dfdbcfd6b7d0d436de992 Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期四, 10 一月 2019 09:09:15 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://gitlab.com/whyclxw1/gx_tieta.git into dev_lxw
---
gx_tieta/WebRoot/mobil/selectbatt.html | 33 ++++++++++++++++++---------------
1 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/selectbatt.html b/gx_tieta/WebRoot/mobil/selectbatt.html
index 87fc9cb..ad3d038 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: 'javascript:JumpFirstPage();', txt:temp.StationName1},
+ {url: 'javascript:JumpcityPage();', txt: temp.StationName2},
{url: 'machineroomM.html', txt: temp.StationName5 },
- {url: 'javascript:;', txt: '钃勭數姹犵粍'}
+ {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();
--
Gitblit v1.9.1