50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"type": "page",
|
|
"body": {
|
|
"type": "crud",
|
|
"syncLocation": false,
|
|
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/sample",
|
|
"headerToolbar": [
|
|
{
|
|
"type": "export-csv",
|
|
"label": "全量导出 CSV",
|
|
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/sample"
|
|
},
|
|
{
|
|
"type": "export-excel",
|
|
"label": "全量导出 Excel",
|
|
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/sample"
|
|
}
|
|
],
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"label": "ID"
|
|
},
|
|
{
|
|
"name": "engine",
|
|
"label": "Rendering engine"
|
|
},
|
|
{
|
|
"name": "browser",
|
|
"label": "Browser"
|
|
},
|
|
{
|
|
"name": "platform",
|
|
"label": "Platform(s)"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"label": "Engine version"
|
|
},
|
|
{
|
|
"name": "grade",
|
|
"label": "CSS grade",
|
|
"type": "mapping",
|
|
"map": {
|
|
"*": "<span class=\"label label-info\">${grade}</span>"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |