{ "type" : "page", "title" : "考核方案查看页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "group", "body" : [ { "name" : "NAME", "label" : "方案名称", "required" : true, "disabled" : true, "type" : "input-text" }, { "name" : "DEPART", "label" : "制定部门", "type" : "static", "tpl" : "${DEPART_DISPLAY__ ? DEPART_DISPLAY__ : (NAME ? NAME : DEPART)}" } ] }, { "type" : "group", "body" : [ { "name" : "CREATETIME", "label" : "制定日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] }, { "name" : "REMARK", "label" : "备注", "disabled" : true, "type" : "textarea" }, { "name" : "RECRUITPLANGUIDES", "label" : "指标分值", "required" : true, "disabled" : true, "type" : "input-table", "id" : "eg-RECRUITPLANGUIDES", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "GUIDECATEGORY", "label" : "所属类别", "quickEdit" : { "name" : "GUIDECATEGORY", "required" : true, "disabled" : true, "type" : "input-text", "maxLength" : 30 } }, { "name" : "GUIDENAME", "label" : "指标名称", "quickEdit" : { "name" : "GUIDENAME", "required" : true, "disabled" : true, "type" : "input-text", "maxLength" : 30 } }, { "name" : "SCORE", "label" : "分值", "quickEdit" : { "name" : "SCORE", "required" : true, "type" : "input-number", "precision" : 0, "step" : 1, "onEvent" : { "change" : { "actions" : [ { "actionType" : "ajax", "outputVar" : "egRow", "args" : { "api" : { "method" : "post", "url" : "/api/script/execute-editgrid-row", "data" : { "templateId" : "b1112c6f-346a-4b20-bba5-2df7c19f7f6b", "editgridField" : "RECRUITPLANGUIDES", "scriptKey" : "cb2967bf-494b-45e2-be2e-5454a648daf5", "changedField" : "SCORE", "row" : "${__rendererData}", "parent" : { "RECRUITPLANGUIDES" : "${__rendererData.RECRUITPLANGUIDES || RECRUITPLANGUIDES}" } } } } }, { "actionType" : "setValue", "componentId" : "eg-RECRUITPLANGUIDES", "args" : { "index" : "${index}", "value" : "${egRow.rowSetValues}" } }, { "actionType" : "setValue", "componentId" : "eip4-edit-form", "args" : { "value" : "${egRow.parentSetValues}" } } ] } } } } ], "needConfirm" : false }, { "name" : "SCORE", "label" : "总分", "hidden" : true, "type" : "input-number", "precision" : 0, "step" : 1 }, { "name" : "DOCUMENT", "label" : "附件", "disabled" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=HR_RECRUITEVALSCHEME&businessKey=${HR_RECRUITEVALSCHEME_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false }, { "name" : "HR_RECRUITEVALSCHEME_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }