{ "type" : "page", "title" : "提交信件", "body" : { "type" : "form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "group", "body" : [ { "name" : "LM_TOPIC", "label" : "标题", "required" : true, "type" : "input-text", "maxLength" : 50 } ] }, { "name" : "LM_CONTENT", "label" : "内容", "required" : true, "type" : "input-rich-text" }, { "type" : "group", "body" : [ { "name" : "LM_ISANONYMITY", "label" : "是否匿名", "required" : true, "type" : "checkbox" } ] }, { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=OA_LEADMESSAGE&businessKey=${OA_LEADMESSAGE_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false }, { "name" : "LM_SEND_TIME", "label" : "提案时间", "required" : true, "hidden" : true, "type" : "input-datetime", "value" : "${now}" }, { "name" : "OA_LEADMESSAGE_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "LM_SEND_USER", "label" : "提案人", "hidden" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标", "value" : "${currentUser}" } ], "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "ajax", "api" : "POST:/api/flow/OA_LEADMESSAGE_ADD", "data" : { "&" : "${&}" } } ] } }