32 lines
1.4 KiB
JSON
32 lines
1.4 KiB
JSON
{
|
|
"tblname": "world_snapshot",
|
|
"alias": "world_snapshot",
|
|
"title": "世界快照",
|
|
"params": {
|
|
"sortby": ["created_at desc"],
|
|
"record_toolbar": [{
|
|
"label": "恢复",
|
|
"actiontype": "dspy",
|
|
"url": "{{entire_url('../api/restore_snapshot.dspy')}}",
|
|
"options": {"icon": "undo", "cwidth": 16, "cheight": 9}
|
|
}],
|
|
"browserfields": {
|
|
"exclouded": ["id", "snapshot_json"],
|
|
"alters": {
|
|
"world_id": {"uitype": "code", "dataurl": "{{entire_url('../api/get_search_world.dspy')}}"},
|
|
"snapshot_type": {"uitype": "code", "dataurl": "{{entire_url('../api/get_search_snapshot_type.dspy')}}"},
|
|
"status": {"uitype": "code", "dataurl": "{{entire_url('../api/get_search_status.dspy')}}"}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "snapshot_json", "status", "snapshot_date", "created_at"],
|
|
"new_data_url": "{{entire_url('../api/create_snapshot.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/snapshot_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/snapshot_delete.dspy')}}",
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/create_snapshot.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/snapshot_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/snapshot_delete.dspy')}}"
|
|
}
|
|
}
|
|
}
|