新增分页跳转到指定页码

master
RuoYi 6 years ago committed by Limy
parent f0ddd40a1c
commit ff921ca9d0

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…
Cancel
Save