Browse Source

初始化

LIJIAN 1 month ago
parent
commit
c23f4b90a0

+ 2 - 0
ema-admin/src/main/resources/web/pages/log/log_list.html

@@ -75,6 +75,8 @@
             var tableIns = TableRender.init({
                 elem: '#tableList',
                 url: Config.api.operLog.page,
+                page: true,
+                limits: [10, 20, 50, 100],
                 cols: [[
                     { field: 'type', title: '操作类型', width: 150 },
                     { field: 'title', title: '操作模块', width: 200 },

+ 2 - 0
ema-admin/src/main/resources/web/pages/role/role_list.html

@@ -74,6 +74,8 @@
             var tableIns = TableRender.init({
                 elem: '#tableList',
                 url: Config.api.role.page,
+                page: true,
+                limits: [10, 20, 50, 100],
                 cols: [[
                     { type: 'checkbox', fixed: 'left' },
                     { field: 'roleName', title: '角色名称', width: 150 },

+ 2 - 0
ema-admin/src/main/resources/web/pages/user/user_list.html

@@ -100,6 +100,8 @@
             var tableIns = TableRender.init({
                 elem: '#tableList',
                 url: Config.api.user.page,
+                page: true,
+                limits: [10, 20, 50, 100],
                 cols: [[
                     { type: 'checkbox', fixed: 'left' },
                     { field: 'account', title: '账号', width: 120 },