CJJ
2018-11-21 891f1af1546328d3853ce5bfadcbdce36f7cea9c
gx_tieta/WebRoot/mobil/battM.html
@@ -31,34 +31,37 @@
   <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();