| | |
| | | <script type="text/javascript">
|
| | |
|
| | | var battinlist = new Array(); //所有电池组的数组
|
| | | |
| | | var temp = getCookie("battselect");
|
| | | $(document).ready(function(){
|
| | | setCookie('batt', '');
|
| | | //init();
|
| | | searchkBattByStationid();
|
| | | setCookie('batt', '');
|
| | | //temp = JSON.parse(temp);
|
| | | //console.info(temp);
|
| | | init();
|
| | | //searchkBattByStationid();
|
| | | });
|
| | |
|
| | | /* function init(){
|
| | | var temp = getCookie("county");
|
| | | function init(){
|
| | | //var temp = getCookie("county");
|
| | | if(temp != '' || temp != undefined) {
|
| | | temp = eval('('+temp+')');
|
| | | temp = JSON.parse(temp);
|
| | |
|
| | | var data = [
|
| | | {url: 'javascript:JumpHomePage();', txt: '首页'},
|
| | | {url: 'machineroomM.html', txt: temp.StationName5 },
|
| | | {url: 'javascript:JumpFirstPage();', txt: '省'},
|
| | | {url: 'javascript:JumpcityPage();', txt: '市'},
|
| | | {url: 'machineroomM.html', txt: '区/县' },
|
| | | {url: 'selectbatt.html', txt: '机房'},
|
| | | {url: 'javascript:;', txt: '蓄电池组'}
|
| | | ];
|
| | | addBreadCrumb($('.breadcrumb').eq(0),data);
|
| | |
|
| | | searchkBattByStationid(temp.StationId);
|
| | | searchkBattByStationid();
|
| | | }else {
|
| | | window.location.href="machineroomM.html";
|
| | | }
|
| | | }*/
|
| | | }
|
| | |
|
| | | var temp = getCookie("battselect");
|
| | | temp = JSON.parse(temp);
|
| | | console.info(temp);
|
| | | |
| | | //根据机房id查询电池组
|
| | | function searchkBattByStationid(){
|
| | | loadshow();
|
| | |
| | | <div data-role="page" tabindex="0" id="page0">
|
| | | <div data-role="header" data-position="fixed">
|
| | | <a href="index.html" target="_top" style="padding-top:0.7em;padding-bottom:0.7em;">返回</a>
|
| | | <h1>机房</h1>
|
| | | <h1>省</h1>
|
| | | </div>
|
| | |
|
| | | <div data-role="content">
|
| | |
| | | $(function(){
|
| | | var data = [
|
| | | {url: 'javascript:JumpHomePage();', txt: '首页'},
|
| | | {url: 'javascript:;', txt: '机房'}
|
| | | {url: 'javascript:;', txt: '省'}
|
| | | ];
|
| | | addBreadCrumb($('.breadcrumb').eq(0),data);
|
| | | });
|
| | |
| | | <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();
|