D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore
2019-01-02 031c98de6bfcb2925c5bdae795e53f826a626be7
gx_tieta/WebRoot/mobil/batt-approved1.html
@@ -267,7 +267,7 @@
       console.info(temp);
       if(temp.length>0){
          for(var i=0;i<temp.length;i++){
                selected+= '<option '+'value='+temp[i].binf.BattGroupName+'>'+temp[i].binf.BattGroupName+'</option>';
                selected+= '<option '+'value='+i+'>'+temp[i].binf.BattGroupName+'</option>';
          }
          return $('#newbattnum').html(selected); 
       }
@@ -318,8 +318,10 @@
   var arr = temp;
   
   function setcookieCreat(i){
      var index=Math.ceil(i-1);
      arrdata = temp[index].binf;
   console.info(temp);
   console.info(i)
      //var index=Math.ceil(i-1);
      arrdata = temp[i].binf;
      //console.info(index);
      //console.info(temp);
      console.info(arrdata);
@@ -379,9 +381,12 @@
      //setTimes($("#startTestrecord"),'2000-01-01');
      //setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
      
      timeer = window.setTimeout(function() {
                     installstartdata(temp);
                  }, 4000);
   installstartdata(temp);
   diubao();
   timeer = window.setTimeout(function() {
         diubao();
                  }, 4000);   //丢包率,通信计数,4秒刷新1次。
      //4秒刷新一次页面
   });
    
@@ -459,8 +464,7 @@
         //setTimes($("#startTestrecord"),data.productDate);
         //setTimes($("#endTestrecord"),data.useDate);
            document.getElementById("install_user").value = data.install_user;
         document.getElementById("tongxunnumber").value = getCookienumber(data.StationId);
         document.getElementById("diubaonumber").value = getCookiediubao(data.StationId)
            
         for(var i=0;i<temp.length;i++){
            data=temp[i];      
@@ -482,6 +486,13 @@
         }
   }
   
   function diubao(){
      if(temp.length>0){
         data=temp[0].binf;
         document.getElementById("tongxunnumber").value = getCookienumber(data.StationId);
         document.getElementById("diubaonumber").value = getCookiediubao(data.StationId);
      }
   }
    function getCookienumber(id){//输入ID,返回通讯计数。数据从缓存获取。
       var a = getnumber();
       //console.info(a);