{ "type" : "page", "title" : "招聘需求编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "NAME", "label" : "需求名称", "required" : true, "type" : "input-text", "maxLength" : 30 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 7, "body" : [ { "name" : "DEPART_ID", "label" : "用工部门", "required" : true, "type" : "tree-select", "clearable" : true, "source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree", "searchable" : true, "onlyLeaf" : true } ] }, { "md" : 5, "body" : [ { "name" : "PRINCIPAL", "label" : "负责人", "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" : "请点击右侧的图标" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "RECRUITDEMANDDETAILS", "label" : "需求明细", "required" : true, "type" : "input-table", "id" : "eg-RECRUITDEMANDDETAILS", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=HR_RECRUITDEMAND&businessKey=${HR_RECRUITDEMAND_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "HR_RECRUITDEMAND_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "DEPARTNAME", "label" : "DEPARTNAME", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }