From 9fc29bd426176d8aad6390214cc10bf86b64ac4d Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期二, 23 十月 2018 13:54:12 +0800
Subject: [PATCH] 修改确认框点击确认不隐藏的bug

---
 gx_tieta/WebRoot/elegroup.jsp |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/gx_tieta/WebRoot/elegroup.jsp b/gx_tieta/WebRoot/elegroup.jsp
index 0fc33d0..1cb70d9 100644
--- a/gx_tieta/WebRoot/elegroup.jsp
+++ b/gx_tieta/WebRoot/elegroup.jsp
@@ -636,7 +636,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 +776,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();
@@ -1542,7 +1544,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