47 lines
921 B
JSON
47 lines
921 B
JSON
{
|
|
"type": "page",
|
|
"title": "角色维护",
|
|
"body": {
|
|
"type": "crud",
|
|
"api": "/api/entity/SYS_ROLE/list?page=${page}&perPage=${perPage}",
|
|
"syncLocation": false,
|
|
"filter": {
|
|
"title": "查询",
|
|
"body": [
|
|
{
|
|
"name": "NAME",
|
|
"label": "角色名称",
|
|
"type": "input-text"
|
|
},
|
|
{
|
|
"name": "DESCRIPTION",
|
|
"label": "描述",
|
|
"type": "input-text"
|
|
}
|
|
]
|
|
},
|
|
"columns": [
|
|
{
|
|
"name": "NAME",
|
|
"label": "角色名称",
|
|
"width": 200
|
|
},
|
|
{
|
|
"name": "DESCRIPTION",
|
|
"label": "描述",
|
|
"width": 200
|
|
},
|
|
{
|
|
"name": "SYS_ROLE_ID",
|
|
"label": "主键",
|
|
"width": 200,
|
|
"toggled": false
|
|
}
|
|
],
|
|
"headerToolbar": [
|
|
"bulkActions",
|
|
"pagination"
|
|
],
|
|
"primaryField": "SYS_ROLE_ID"
|
|
}
|
|
} |