{ "type" : "page", "title" : "员工档案(带证书)编辑-人员合同信息", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CONTRACTNUMB", "label" : "合同编号", "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "EMPLOYEETYPE", "label" : "用工性质", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/HR_PACK_EMPLOYEETYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SIGNINTIME", "label" : "签订日期", "type" : "input-date", "value" : "${now}" } ] }, { "md" : 6, "body" : [ { "name" : "TYPE", "label" : "合同类型", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/contractType", "value" : "1" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PACTSTARTTIME", "label" : "合同开始日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 6, "body" : [ { "name" : "PACTENDTIME", "label" : "合同结束日期", "required" : true, "type" : "input-date" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=HR_PACT&businessKey=${HR_PACT_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "HR_PACT_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "EMPLOYEEID", "label" : "姓名", "hidden" : true, "type" : "static", "tpl" : "${EMPLOYEEID_DISPLAY__ ? EMPLOYEEID_DISPLAY__ : (USERID ? USERID : EMPLOYEEID)}" } ], "actions" : [ ] } }