mirror of https://gitee.com/y_project/RuoYi.git
				
				
				
			新增分页跳转到指定页码
							parent
							
								
									f1ba270a47
								
							
						
					
					
						commit
						2d32b0d9c2
					
				
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
						 | 
				
			
			@ -556,6 +556,7 @@ label {
 | 
			
		|||
	background-color:#eee;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/** 表单布局 **/
 | 
			
		||||
.form-header {
 | 
			
		||||
    font-size:15px;
 | 
			
		||||
	color:#6379bb;
 | 
			
		||||
| 
						 | 
				
			
			@ -574,3 +575,19 @@ label {
 | 
			
		|||
    border-image: none;
 | 
			
		||||
    border-width: 1px 0px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/** 表格跳转样式 **/
 | 
			
		||||
.pageGo input {
 | 
			
		||||
    height: 32px;
 | 
			
		||||
    width: 50px;
 | 
			
		||||
    margin-left: 5px;
 | 
			
		||||
    margin-right: 5px;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    display: block;
 | 
			
		||||
    float:left;
 | 
			
		||||
}
 | 
			
		||||
.pageGo button {
 | 
			
		||||
    height: 32px;
 | 
			
		||||
    display: block;
 | 
			
		||||
    float:left;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -131,7 +131,7 @@ $(function() {
 | 
			
		|||
        var visibleWidth = $(".content-tabs").outerWidth(true) - tabOuterWidth;
 | 
			
		||||
        //实际滚动宽度
 | 
			
		||||
        var scrollVal = 0;
 | 
			
		||||
        if ($(".page-tabs-content").width() < visibleWidth) {
 | 
			
		||||
        if (($(".page-tabs-content").width() + 50) < visibleWidth) {
 | 
			
		||||
            return false;
 | 
			
		||||
        } else {
 | 
			
		||||
            var tabElement = $(".menuTab:first");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,6 +26,7 @@
 | 
			
		|||
        		    showFooter: false,
 | 
			
		||||
        		    search: false,
 | 
			
		||||
                    showSearch: true,
 | 
			
		||||
                    showPageGo: false,
 | 
			
		||||
                    showRefresh: true,
 | 
			
		||||
                    showColumns: true,
 | 
			
		||||
                    showToggle: true,
 | 
			
		||||
| 
						 | 
				
			
			@ -60,6 +61,7 @@
 | 
			
		|||
                    sidePagination: options.sidePagination,             // server启用服务端分页client客户端分页
 | 
			
		||||
                    search: options.search,                             // 是否显示搜索框功能
 | 
			
		||||
                    showSearch: options.showSearch,                     // 是否显示检索信息
 | 
			
		||||
                    showPageGo: options.showPageGo,               		// 是否显示跳转页
 | 
			
		||||
                    showRefresh: options.showRefresh,                   // 是否显示刷新按钮
 | 
			
		||||
                    showColumns: options.showColumns,                   // 是否显示隐藏某列下拉框
 | 
			
		||||
                    showToggle: options.showToggle,                     // 是否显示详细视图和列表视图的切换按钮
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,6 +71,7 @@
 | 
			
		|||
		        sortOrder: "desc",
 | 
			
		||||
		        modalName: "登录日志",
 | 
			
		||||
		        escape: true,
 | 
			
		||||
		        showPageGo: true,
 | 
			
		||||
		        columns: [{
 | 
			
		||||
		            checkbox: true
 | 
			
		||||
		        },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -73,6 +73,7 @@
 | 
			
		|||
		        sortOrder: "desc",
 | 
			
		||||
		        modalName: "操作日志",
 | 
			
		||||
		        escape: true,
 | 
			
		||||
		        showPageGo: true,
 | 
			
		||||
		        columns: [{
 | 
			
		||||
		            checkbox: true
 | 
			
		||||
		        },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,14 +12,14 @@ import com.ruoyi.common.exception.DemoModeException;
 | 
			
		|||
import com.ruoyi.framework.util.PermissionUtils;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 自定义异常处理器
 | 
			
		||||
 * 全局异常处理器
 | 
			
		||||
 * 
 | 
			
		||||
 * @author ruoyi
 | 
			
		||||
 */
 | 
			
		||||
@RestControllerAdvice
 | 
			
		||||
public class DefaultExceptionHandler
 | 
			
		||||
public class GlobalExceptionHandler
 | 
			
		||||
{
 | 
			
		||||
    private static final Logger log = LoggerFactory.getLogger(DefaultExceptionHandler.class);
 | 
			
		||||
    private static final Logger log = LoggerFactory.getLogger(GlobalExceptionHandler.class);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 权限校验失败
 | 
			
		||||
		Loading…
	
		Reference in New Issue