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;
|
background-color:#eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** 表单布局 **/
|
||||||
.form-header {
|
.form-header {
|
||||||
font-size:15px;
|
font-size:15px;
|
||||||
color:#6379bb;
|
color:#6379bb;
|
||||||
|
@ -574,3 +575,19 @@ label {
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-width: 1px 0px;
|
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 visibleWidth = $(".content-tabs").outerWidth(true) - tabOuterWidth;
|
||||||
//实际滚动宽度
|
//实际滚动宽度
|
||||||
var scrollVal = 0;
|
var scrollVal = 0;
|
||||||
if ($(".page-tabs-content").width() < visibleWidth) {
|
if (($(".page-tabs-content").width() + 50) < visibleWidth) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
var tabElement = $(".menuTab:first");
|
var tabElement = $(".menuTab:first");
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
showFooter: false,
|
showFooter: false,
|
||||||
search: false,
|
search: false,
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
|
showPageGo: false,
|
||||||
showRefresh: true,
|
showRefresh: true,
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
showToggle: true,
|
showToggle: true,
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
sidePagination: options.sidePagination, // server启用服务端分页client客户端分页
|
sidePagination: options.sidePagination, // server启用服务端分页client客户端分页
|
||||||
search: options.search, // 是否显示搜索框功能
|
search: options.search, // 是否显示搜索框功能
|
||||||
showSearch: options.showSearch, // 是否显示检索信息
|
showSearch: options.showSearch, // 是否显示检索信息
|
||||||
|
showPageGo: options.showPageGo, // 是否显示跳转页
|
||||||
showRefresh: options.showRefresh, // 是否显示刷新按钮
|
showRefresh: options.showRefresh, // 是否显示刷新按钮
|
||||||
showColumns: options.showColumns, // 是否显示隐藏某列下拉框
|
showColumns: options.showColumns, // 是否显示隐藏某列下拉框
|
||||||
showToggle: options.showToggle, // 是否显示详细视图和列表视图的切换按钮
|
showToggle: options.showToggle, // 是否显示详细视图和列表视图的切换按钮
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
sortOrder: "desc",
|
sortOrder: "desc",
|
||||||
modalName: "登录日志",
|
modalName: "登录日志",
|
||||||
escape: true,
|
escape: true,
|
||||||
|
showPageGo: true,
|
||||||
columns: [{
|
columns: [{
|
||||||
checkbox: true
|
checkbox: true
|
||||||
},
|
},
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
sortOrder: "desc",
|
sortOrder: "desc",
|
||||||
modalName: "操作日志",
|
modalName: "操作日志",
|
||||||
escape: true,
|
escape: true,
|
||||||
|
showPageGo: true,
|
||||||
columns: [{
|
columns: [{
|
||||||
checkbox: true
|
checkbox: true
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,14 +12,14 @@ import com.ruoyi.common.exception.DemoModeException;
|
||||||
import com.ruoyi.framework.util.PermissionUtils;
|
import com.ruoyi.framework.util.PermissionUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 自定义异常处理器
|
* 全局异常处理器
|
||||||
*
|
*
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
@RestControllerAdvice
|
@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