{ "type" : "page", "title" : "施工现场文明施工台账(项目部)编辑", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "group", "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "value" : "${currentProject}" }, { "name" : "NAME", "label" : "名称", "required" : true, "type" : "input-text" } ] }, { "name" : "DOCUMENT", "label" : "附件", "required" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_SAFETYPRODUCE&businessKey=${PM_SAFETYPRODUCE_ID}", "downloadUrl" : "/api/file/${id}", "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false }, { "name" : "PM_SAFETYPRODUCE_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "DOCTYPE", "label" : "文件类型", "required" : true, "disabled" : true, "hidden" : true, "type" : "input-number", "precision" : 0, "step" : 1, "value" : "2" } ], "actions" : [ ] } }