| | |
| | | <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();
|