| 
					
				 | 
			
			
				@@ -271,7 +271,7 @@ layui.define('view', function(exports){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //切换页面标签主体 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,tabsBodyChange: function(index, options){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       options = options || {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      admin.tabsPage.index = index; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       admin.tabsBody(index).addClass(SHOW).siblings().removeClass(SHOW); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       events.rollPage('auto', index); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -480,6 +480,15 @@ layui.define('view', function(exports){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //返回上一页 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,back: function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var iframe = admin.tabsBody(admin.tabsPage.index).find('.layadmin-iframe'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var refer = iframe[0].contentWindow.document.referrer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (refer != location.href) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        iframe[0].contentWindow.location.href = refer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      /* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       history.back(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //history.go(-1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -499,6 +508,7 @@ layui.define('view', function(exports){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         history.go(-1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //主题设置 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -676,6 +686,7 @@ layui.define('view', function(exports){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //监听 tab 组件切换,同步 index 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   element.on('tab('+ FILTER_TAB_TBAS +')', function(data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    admin.tabsPage.old_index = admin.tabsPage.index; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     admin.tabsPage.index = data.index; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -779,6 +790,7 @@ layui.define('view', function(exports){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,index = othis.index(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     admin.tabsPage.type = 'tab'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    admin.tabsPage.old_index = index; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     admin.tabsPage.index = index; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     setThisRouter(othis); 
			 |