chenjingjing
2018-12-28 00ee1e49cac2ec8a8a1f476b48dd7e60166bccbe
gx_tieta/WebRoot/mobil/batt-edit2.html
@@ -374,7 +374,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 +596,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"  详情列表
              }
       });
    }