星伟
2018-09-30 fd1f11f6d7a75c52a7c2db5fe9a39e129216b96a
gx_tieta/WebRoot/elegroup.jsp
@@ -756,12 +756,18 @@
               });
            }
            var json=window.JSON.stringify(baoji_user);
            // 显示等待框
            loading.showLoading();
            return;
            //console.info(json);
            $.post('User_battgroup_baojigroup_usrAction!add',"json="+json,function(data){
               var model=eval("("+data.result+")");
               alert(model.msg);
               var baojizuid=$('#lbottom .li-con li.b8cfe5').attr('value');
               searchBaojiZuUser(baojizuid);
               // 隐藏等待框
               loading.showLoading();
            });
         }else{
            alert('<s:text name="There_is_nothing_to_be_done"/>');      /* 没有什么可以做的 */
@@ -1653,11 +1659,16 @@
      // 让容器内的表格宽度一致
      $('#rtop table').width(tbRoomWidth-20);
      getbattStationlength();
      //console.info(bigArrTxt);
      if(bigArrTxt.length != 0) {
         // 设备表格滚动到顶部
         scrollBottom($('#tbroom'), $('#tbroom table'));
         // 机房列表滚动到顶部
         scrollBottom($('#ltop .li-con'), $('#ltop .li-con ul'));
      }else {
         alert('添加的内容已存在!');
      }
      
      // 设备表格滚动到顶部
      scrollBottom($('#tbroom'), $('#tbroom table'));
      // 机房列表滚动到顶部
      scrollBottom($('#ltop .li-con'), $('#ltop .li-con ul'));
   }
   
   //添加表格的一行