filemgr/json/folder.json
2025-06-27 15:09:26 +08:00

41 lines
824 B
JSON

{
"tblname": "folder",
"uitype":"tree",
"title":"目录",
"params":{
"idField":"id",
"textField":"name",
"sortby":"name",
"editable":true,
"browserfields":{
"alters":{}
},
"edit_exclouded_fields":[],
"parentField":"parentid",
"toolbar":{
"tools":[
{
"name":"upload",
"label":"上传文件",
"icon":"{{entire_url('/bricks/imgs/upload.svg')}}"
}
]
},
"binds":[
{
"wid":"upload",
"event":"upload",
"actiontype":"urlwidget",
"target":"PopupWindow",
"popupwindow_options":{
"icon":"{{entire_url('/bricks/imgs/app.png')}}",
"title":"上传文件"
},
"options":{
"url":"{{entire_url('/filemgr/upload_file.ui')}}"
}
}
]
}
}