mirror of https://gitee.com/y_project/RuoYi.git
支持表格不分页
parent
4e45e4638f
commit
535f2fafc4
|
@ -23,7 +23,7 @@
|
|||
sortStable: true, // 设置为 true 将获得稳定的排序
|
||||
sortName: _sortName, // 排序列名称
|
||||
sortOrder: _sortOrder, // 排序方式 asc 或者 desc
|
||||
pagination: true, // 是否显示分页(*)
|
||||
pagination: $.common.visible(options.pagination), // 是否显示分页(*)
|
||||
pageNumber: 1, // 初始化加载第一页,默认第一页
|
||||
pageSize: 10, // 每页的记录行数(*)
|
||||
pageList: [10, 25, 50], // 可供选择的每页的行数(*)
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -45,11 +45,7 @@
|
|||
var datas = [[${@dict.getType('sys_normal_disable')}]];
|
||||
var prefix = ctx + "system/dept"
|
||||
|
||||
window.onload = function() {
|
||||
loading();
|
||||
};
|
||||
|
||||
function loading() {
|
||||
$(function() {
|
||||
var options = {
|
||||
id: "deptId",
|
||||
parentId: "parentId",
|
||||
|
@ -97,7 +93,7 @@
|
|||
}]
|
||||
};
|
||||
$.treeTable.init(options);
|
||||
}
|
||||
});
|
||||
|
||||
function remove(id) {
|
||||
$.modal.confirm("确定删除该条" + $.table._option.modalName + "信息吗?", function() {
|
||||
|
@ -115,7 +111,6 @@
|
|||
});
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -46,11 +46,7 @@
|
|||
var datas = [[${@dict.getType('sys_show_hide')}]];
|
||||
var prefix = ctx + "system/menu"
|
||||
|
||||
window.onload = function() {
|
||||
loading();
|
||||
};
|
||||
|
||||
function loading() {
|
||||
$(function() {
|
||||
var options = {
|
||||
id: "menuId",
|
||||
parentId: "parentId",
|
||||
|
@ -130,7 +126,7 @@
|
|||
}]
|
||||
};
|
||||
$.treeTable.init(options);
|
||||
}
|
||||
});
|
||||
|
||||
function remove(id) {
|
||||
$.modal.confirm("确定删除该条" + $.table._option.modalName + "信息吗?", function() {
|
||||
|
|
Loading…
Reference in New Issue