From da425c1f09b3fe83bb15bb4115b4d16a0e094c13 Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@192.168.10.26> Date: 星期三, 21 十一月 2018 10:26:48 +0800 Subject: [PATCH] BUG --- gx_tieta/WebRoot/mobil/selectbatt.html | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/selectbatt.html b/gx_tieta/WebRoot/mobil/selectbatt.html index 87fc9cb..e495026 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: '鐪�'}, + {url: 'javascript:JumpcityPage();', txt: '甯�'}, + {url: 'machineroomM.html', 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