| | |
| | | <!-- 三级菜单内容 -->
|
| | | <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">
|
| | |
| | | <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();
|
| | |
| | | });
|
| | | </script>
|
| | |
|
| | | </html> |
| | | </html>
|