mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-10-29 08:58:22 +08:00
feat(table): 灰度第二批三页切换受控模式
This commit is contained in:
@@ -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' },
|
||||||
|
|||||||
@@ -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: [[
|
||||||
|
|||||||
@@ -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' },
|
||||||
|
|||||||
Reference in New Issue
Block a user