feat(table): 灰度第二批三页切换受控模式

This commit is contained in:
augushong
2026-09-10 20:36:16 +00:00
parent a335ce7985
commit 4f14f18c78
3 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ $(function () {
ua.table.render({ ua.table.render({
init: init, init: init,
controlled: true,
cols: [[ cols: [[
{ type: "checkbox" }, { type: "checkbox" },
{ field: 'id', width: 80, title: 'ID' }, { field: 'id', width: 80, title: 'ID' },

View File

@@ -9,6 +9,7 @@ $(function () {
ua.table.render({ ua.table.render({
init: init, init: init,
controlled: true,
// 把 role_id 带入分页请求,后端 assignUsers($id) 据此计算 FIND_IN_SET(has_role) // 把 role_id 带入分页请求,后端 assignUsers($id) 据此计算 FIND_IN_SET(has_role)
where: { id: $('#roleId').val() }, where: { id: $('#roleId').val() },
cols: [[ cols: [[

View File

@@ -2,6 +2,7 @@ $(function () {
ua.table.render({ ua.table.render({
init: init, init: init,
controlled: true,
cols: [[ cols: [[
{ type: "checkbox" }, { type: "checkbox" },
{ field: 'id', width: 80, title: 'ID' }, { field: 'id', width: 80, title: 'ID' },