{ "type" : "page", "title" : "功能模板下载模板管理", "body" : { "type" : "grid", "columns" : [ { "md" : 4, "columnClassName" : "b-r pr-md", "body" : [ { "type" : "input-tree", "name" : "selId", "multiple" : false, "virtualThreshold" : 100000, "id" : "decltree_tree", "source" : "/api/template/0246d4bd-232b-465d-9265-8c1fc1ecbdf2/tree", "label" : false, "searchable" : true, "initiallyOpen" : true, "showOutline" : true, "heightAuto" : true } ] }, { "md" : 8, "columnClassName" : "pl-md", "body" : [ { "type" : "form", "id" : "sys_menu_editform", "title" : "编辑模板附件", "mode" : "horizontal", "horizontal" : { "left" : 3, "right" : 8 }, "initApi" : { "method" : "get", "url" : "/api/entity/SYS_MENU/${selId}", "data" : { "pageId" : "f98dab46-6fb4-4a6c-ae18-54aaf335b3ad" }, "sendOn" : "${selId}" }, "api" : "post:/api/flow/VIEW_TEMPLATE_DOWNLAD_UPDATE", "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload", "downloadUrl" : "/api/file/${id}", "multiple" : true }, { "name" : "VERSION", "label" : "VERSION", "type" : "input-text", "hidden" : true }, { "name" : "SYS_MENU_ID", "label" : "主键", "type" : "input-text", "hidden" : true }, { "name" : "VIEW_TEMPLATE_DOWNLAD_ID", "label" : "VIEW_TEMPLATE_DOWNLAD_ID", "type" : "input-text", "hidden" : true }, { "name" : "VIEW_TEMPLATEID", "label" : "VIEW_TEMPLATEID", "type" : "input-text", "hidden" : true } ], "actions" : [ { "type" : "submit", "label" : "保存", "level" : "primary", "icon" : "fa fa-save", "reload" : "decltree_tree" } ] } ] } ] } }