From 6ca818de1f93c61ddfa92a3ce285280304c50927 Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期三, 31 十月 2018 10:19:43 +0800 Subject: [PATCH] 电池信息配置 --- gx_tieta/WebRoot/elegroup.jsp | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gx_tieta/WebRoot/elegroup.jsp b/gx_tieta/WebRoot/elegroup.jsp index 0fc33d0..a3e0ccd 100644 --- a/gx_tieta/WebRoot/elegroup.jsp +++ b/gx_tieta/WebRoot/elegroup.jsp @@ -23,7 +23,7 @@ position: absolute; top: 0; right: 0; - z-index: 999; + z-index: 99; } .toolbar-fixed-top-right.right10 { right: 10px; @@ -418,8 +418,9 @@ createBattTable(allbattstation); addTdIdx($('#tbroom table tbody td'),battstationIdList); } - $('#station_num').text(totalstationNum); - $('#batt_num').text(totalbattNum); + getbattStationlength(); + /* $('#station_num').text(totalstationNum); + $('#batt_num').text(totalbattNum); */ }); } } @@ -636,7 +637,8 @@ $('#right-menu .del-group').live('click',function(){ var oLi=$('#lbottom .li-con li').eq(LiIndex); // 鍙栦汉鍒犻櫎鍖呮満缁� - layer.confirm("<s:text name='Confirm_del'/>'"+oLi.text()+"'锛�", {icon:3, title: '绯荤粺鎻愮ず'}, function() { + layer.confirm("<s:text name='Confirm_del'/>'"+oLi.text()+"'锛�", {icon:3, title: '绯荤粺鎻愮ず'}, function(index) { + layer.close(index); var baojigroupid=oLi.attr('value'); loading.showLoading(); $.post('User_battgroup_baojigroupAction!delete','us.baoji_group_id='+baojigroupid+"&us.baoji_group_name="+oLi.text(),function(data){ @@ -775,7 +777,8 @@ layer.confirm( '<s:text name="Determine"/><s:text name="From"/>'+obaoLi.text()+'<s:text name="Delete"/>'+ouserLi.text()+"?", {icon:3,title:'绯荤粺鎻愮ず'}, - function() { + function(index) { + layer.close(index); var num=ouserLi.attr('num'); var temp = {num:num,uname:ouserLi.text(),baoji_group_name:obaoLi.text()}; loading.showLoading(); @@ -1029,7 +1032,7 @@ var _attr = { StationId: __data.StationId }; - var tmp = getOptionsData(__data.StationName3, __data.StationName, __data, _attr); + var tmp = getOptionsData(__data.StationName, __data.StationName, __data, _attr); optsList.push(tmp); } @@ -1542,7 +1545,8 @@ $('#tb-right-menu .del').click(function(){ var baojiLi=$('#lbottom .li-con li.b8cfe5'); // 鏄惁纭鍒犻櫎鐢垫睜缁� - layer.confirm('<s:text name="Confirm_that_the_selected_battery_pack_is_removed_from_the_package"/>锛�',{icon:3, title: '绯荤粺鎻愮ず'},function() { + layer.confirm('<s:text name="Confirm_that_the_selected_battery_pack_is_removed_from_the_package"/>锛�',{icon:3, title: '绯荤粺鎻愮ず'},function(index) { + layer.close(index); var removeArray=new Array(); var redTr=$('#tbroom table .red'); //闇�瑕佸垽鏂槸鍚﹀惈鏈夋柊娣诲姞鐨勭數姹犵粍 -- Gitblit v1.9.1