{ "type" : "page", "title" : "总进度计划明细-表单", "body" : { "type" : "form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "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}" } ] }, { "md" : 6, "body" : [ { "name" : "UNITID", "label" : "单位工程", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_UNITPROJECT/list?perPage=500" } ] } ] }, { "name" : "BUTTON", "label" : "按钮", "hidden" : true, "type" : "input-text" }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PLANNAME", "label" : "进度计划名称", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "INSTRUCTION", "label" : "说明", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_PLANSNAPSHOT&businessKey=${PM_PLANSNAPSHOT_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_PLANSNAPSHOT_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "DEFAULTVALUE", "label" : "默认值", "hidden" : true, "type" : "input-text", "value" : "1" } ], "actions" : [ ] } }