防止表格最后页最后项删除变成暂无数据

This commit is contained in:
RuoYi 2021-09-02 10:55:10 +08:00
parent ee823b8326
commit a15bfdfb46
13 changed files with 5 additions and 13 deletions

View File

@ -22,7 +22,7 @@ public class PageDomain
private String isAsc = "asc";
/** 分页参数合理化 */
private Boolean reasonable = false;
private Boolean reasonable = true;
public String getOrderBy()
{
@ -87,6 +87,10 @@ public class PageDomain
public Boolean getReasonable()
{
if (StringUtils.isNull(reasonable))
{
return Boolean.TRUE;
}
return reasonable;
}

View File

@ -320,7 +320,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
jobName: undefined,
jobGroup: undefined,
status: undefined

View File

@ -220,7 +220,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
jobName: undefined,
jobGroup: undefined,
status: undefined

View File

@ -153,7 +153,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
ipaddr: undefined,
userName: undefined,
status: undefined

View File

@ -219,7 +219,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
configName: undefined,
configKey: undefined,
configType: undefined

View File

@ -247,7 +247,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
dictName: undefined,
dictType: undefined,
status: undefined

View File

@ -227,7 +227,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
dictName: undefined,
dictType: undefined,
status: undefined

View File

@ -204,7 +204,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
noticeTitle: undefined,
createBy: undefined,
status: undefined

View File

@ -192,7 +192,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
postCode: undefined,
postName: undefined,
status: undefined

View File

@ -128,7 +128,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
roleId: undefined,
userName: undefined,
phonenumber: undefined

View File

@ -328,7 +328,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
roleName: undefined,
roleKey: undefined,
status: undefined

View File

@ -418,7 +418,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
userName: undefined,
phonenumber: undefined,
status: undefined,

View File

@ -219,7 +219,6 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
reasonable: true,
tableName: undefined,
tableComment: undefined
},