{ "type" : "page", "title" : "大事记信息编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "EVENTID", "label" : "事件", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/84c5abcf-f59e-4c7e-b2de-00ab75fee762/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, { "md" : 8, "body" : [ { "name" : "CAPTION", "label" : "标题", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "HAPPENDATE", "label" : "发生日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 4, "body" : [ { "name" : "ISSUER", "label" : "发布人", "type" : "static", "tpl" : "${ISSUER_DISPLAY__ ? ISSUER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : ISSUER)}", "value" : "${currentUser}" } ] }, { "md" : 4, "body" : [ { "name" : "ISSUEDATE", "label" : "发布日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "CONTENT", "label" : "内容", "required" : true, "type" : "input-rich-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=OA_MEMORABILIAINFO&businessKey=${OA_MEMORABILIAINFO_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "OA_MEMORABILIAINFO_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }