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

master
RuoYi 3 years ago
parent ee823b8326
commit a15bfdfb46
  1. 6
      ruoyi-common/src/main/java/com/ruoyi/common/core/page/PageDomain.java
  2. 1
      ruoyi-ui/src/views/monitor/job/index.vue
  3. 1
      ruoyi-ui/src/views/monitor/job/log.vue
  4. 1
      ruoyi-ui/src/views/monitor/logininfor/index.vue
  5. 1
      ruoyi-ui/src/views/system/config/index.vue
  6. 1
      ruoyi-ui/src/views/system/dict/data.vue
  7. 1
      ruoyi-ui/src/views/system/dict/index.vue
  8. 1
      ruoyi-ui/src/views/system/notice/index.vue
  9. 1
      ruoyi-ui/src/views/system/post/index.vue
  10. 1
      ruoyi-ui/src/views/system/role/authUser.vue
  11. 1
      ruoyi-ui/src/views/system/role/index.vue
  12. 1
      ruoyi-ui/src/views/system/user/index.vue
  13. 1
      ruoyi-ui/src/views/tool/gen/index.vue

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save