{ "type" : "page", "title" : "考核编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PLANNAME", "label" : "计划名称", "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "SCHEMENAME", "label" : "考核方案", "type" : "static", "tpl" : "${SCHEMENAME_DISPLAY__ ? SCHEMENAME_DISPLAY__ : (NAME ? NAME : SCHEMENAME)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "TALENT", "label" : "应聘人员", "type" : "static", "tpl" : "${TALENT_DISPLAY__ ? TALENT_DISPLAY__ : (NAME ? NAME : TALENT)}" } ] }, { "md" : 6, "body" : [ { "name" : "PLANDETAIL", "label" : "应聘岗位", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/HR_RECRUITPLANDETAIL/list?perPage=500" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "JOBTYPE", "label" : "岗位类型", "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/HR_PERWORKEXP_WORKTYPE" } ] }, { "md" : 6, "body" : [ { "name" : "HOPESALARY", "label" : "期望薪资", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "RECRUITPLANEVALS", "label" : "考核打分", "type" : "input-table", "id" : "eg-RECRUITPLANEVALS", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "GUIDECATEGORY", "label" : "指标类别", "quickEdit" : { "name" : "GUIDECATEGORY", "disabled" : true, "type" : "input-text" } }, { "name" : "PLANGUIDE", "label" : "指标名称", "quickEdit" : { "name" : "PLANGUIDE", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/HR_RECRUITPLANGUIDE/list?perPage=500" } }, { "name" : "GUIDESCORE", "label" : "指标分值", "quickEdit" : { "name" : "GUIDESCORE", "disabled" : true, "type" : "input-number", "precision" : 0, "step" : 1 } }, { "name" : "SCORE", "label" : "得分", "quickEdit" : { "name" : "SCORE", "required" : true, "type" : "input-number", "precision" : 2, "onEvent" : { "change" : { "actions" : [ { "actionType" : "ajax", "outputVar" : "egRow", "args" : { "api" : { "method" : "post", "url" : "/api/script/execute-editgrid-row", "data" : { "templateId" : "c66ae4a6-9813-4c03-9e39-205b0c659b6b", "editgridField" : "RECRUITPLANEVALS", "scriptKey" : "fe32a38a-a047-4ea1-9912-d2c28fbb6e5d", "changedField" : "SCORE", "row" : "${__rendererData}", "parent" : { "RECRUITPLANEVALS" : "${__rendererData.RECRUITPLANEVALS || RECRUITPLANEVALS}" } } } } }, { "actionType" : "setValue", "componentId" : "eg-RECRUITPLANEVALS", "args" : { "index" : "${index}", "value" : "${egRow.rowSetValues}" } }, { "actionType" : "setValue", "componentId" : "eip4-edit-form", "args" : { "value" : "${egRow.parentSetValues}" } } ] } } } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "评语", "type" : "textarea" } ] } ] }, { "name" : "TOTAL", "label" : "总得分", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "RECRUITPLAN", "label" : "所安排应聘的计划", "required" : true, "hidden" : true, "type" : "input-text" }, { "name" : "HRRECRUITJOB", "label" : "hr_recruitjob_id", "required" : true, "hidden" : true, "type" : "input-text" }, { "name" : "HR_RECRUITEVAL_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }