chenjingjing
2018-12-28 70500402f78a2e5b2b2d269d05cb74d61fe90191
gx_tieta/WebRoot/mobil/batt-edit2.html
@@ -68,6 +68,7 @@
                       
                     </select>
                     
                     
                 </fieldset>
         
@@ -271,6 +272,7 @@
  } 
   
   
  function creatBattView(index){
         var count=index+1
            ,battTitle='<div>'+'<h1 class="hbg">'+'电池组'+count+'</h1>'+
@@ -374,7 +376,7 @@
                  //console.info(dev_id);
                  document.getElementById("FBSDeviceId").value = dev_id;
                  var ip = getDevIp(dev_id);
                  //console.info(ip);
                  console.info(ip);
                  document.getElementById("FbsDeviceIp").value = ip;
               }else{
                  alert("groupid生成失败");
@@ -596,15 +598,15 @@
               var model =data;
               if(model.code ==1){
                  alert("修改成功");
                  window.location.href="batt-unapproved.html"
                  window.location.href="batt-unapproved-index.html"
               }else{
                  alert("修改失败!");
                  window.location.href="batt-unapproved.html"
                  window.location.href="batt-unapproved-index.html"
               }      
              },
              error:function(){
                 alert("修改电池组失败!");
                 //window.location.href="batt-unapproved.html"
                 //window.location.href="batt-unapproved.html"  详情列表
              }
       });
    }