101 lines
2.1 KiB
JSON
101 lines
2.1 KiB
JSON
{
|
|
"type": "page",
|
|
"title": "用户组管理",
|
|
"body": {
|
|
"type": "crud",
|
|
"api": "/api/entity/SYS_USERGROUP/list?page=${page}&perPage=${perPage}",
|
|
"syncLocation": false,
|
|
"filter": {
|
|
"title": "查询",
|
|
"body": [
|
|
{
|
|
"name": "NAME",
|
|
"label": "名称",
|
|
"type": "input-text"
|
|
},
|
|
{
|
|
"name": "DESCRIPTION",
|
|
"label": "说明",
|
|
"type": "input-text"
|
|
}
|
|
]
|
|
},
|
|
"columns": [
|
|
{
|
|
"name": "SYS_USERGROUP_ID",
|
|
"label": "主键",
|
|
"width": 200,
|
|
"toggled": false
|
|
},
|
|
{
|
|
"name": "NAME",
|
|
"label": "名称",
|
|
"width": 200
|
|
},
|
|
{
|
|
"name": "DESCRIPTION",
|
|
"label": "说明",
|
|
"width": 200
|
|
},
|
|
{
|
|
"name": "USERS",
|
|
"label": "用户",
|
|
"width": 200,
|
|
"toggled": false
|
|
},
|
|
{
|
|
"name": "ROLES",
|
|
"label": "角色",
|
|
"width": 200,
|
|
"toggled": false
|
|
}
|
|
],
|
|
"headerToolbar": [
|
|
"bulkActions",
|
|
{
|
|
"type": "button",
|
|
"label": "添加用户组",
|
|
"level": "primary",
|
|
"actionType": "dialog",
|
|
"dialog": {
|
|
"type": "dialog",
|
|
"title": "添加用户组",
|
|
"body": {
|
|
"type": "tpl",
|
|
"tpl": "表单页(pageid=b3482a80-8676-4037-83c7-9a9c293fc8dc)待 EDITFORM 模板转换"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "button",
|
|
"label": "修改用户组"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"label": "删除用户组",
|
|
"level": "danger",
|
|
"actionType": "ajax",
|
|
"confirmText": "确认删除选中记录?",
|
|
"api": "delete:/api/entity/SYS_USERGROUP/${ids}"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"label": "查看用户组"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"label": "分配用户"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"label": "分配角色"
|
|
},
|
|
{
|
|
"type": "button",
|
|
"label": "复制用户组"
|
|
},
|
|
"pagination"
|
|
],
|
|
"primaryField": "SYS_USERGROUP_ID"
|
|
}
|
|
} |