feat(blueprint): master-detail-v1 编译器分支 + PageBlueprintChild
PageBlueprint 加 RECIPE_MASTER_DETAIL 常量与可空 child 组件(14-arg, 保留 13-arg 兼容构造);新增 PageBlueprintChild record。 PageBlueprintCompiler.masterDetail 复用 maintenance 列表骨架, 新增/编辑表单内联 house-style input-table 子表(name=listColumn, quickEdit 控件),编辑表单 initApi 走 _LOAD 回显主+子行。 validate 接受 master-detail 并要求 child 非空/childTable/listColumn 非空/fields 非空。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
123
转换产物-attach/schema/9434a670-0ec0-4ea5-97e6-4cd68cd3de88.json
Normal file
123
转换产物-attach/schema/9434a670-0ec0-4ea5-97e6-4cd68cd3de88.json
Normal file
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "面试结果-查看打分明细",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"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" : "应聘岗位",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/HR_RECRUITPLANDETAIL/list?perPage=500"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "CREATEBY",
|
||||
"label" : "打分人",
|
||||
"type" : "static",
|
||||
"tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "TOTAL",
|
||||
"label" : "总分",
|
||||
"disabled" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 12,
|
||||
"body" : [ {
|
||||
"name" : "RECRUITPLANEVALS",
|
||||
"label" : "考核打分",
|
||||
"disabled" : true,
|
||||
"type" : "input-table",
|
||||
"id" : "eg-RECRUITPLANEVALS",
|
||||
"addable" : true,
|
||||
"removable" : true,
|
||||
"staticOn" : "${__readonly}",
|
||||
"columns" : [ {
|
||||
"name" : "GUIDECATEGORY",
|
||||
"label" : "指标类别",
|
||||
"quickEdit" : {
|
||||
"name" : "GUIDECATEGORY",
|
||||
"type" : "input-text"
|
||||
}
|
||||
}, {
|
||||
"name" : "PLANGUIDE",
|
||||
"label" : "指标名称",
|
||||
"quickEdit" : {
|
||||
"name" : "PLANGUIDE",
|
||||
"required" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/HR_RECRUITPLANGUIDE/list?perPage=500"
|
||||
}
|
||||
}, {
|
||||
"name" : "GUIDESCORE",
|
||||
"label" : "指标分值",
|
||||
"quickEdit" : {
|
||||
"name" : "GUIDESCORE",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
}
|
||||
}, {
|
||||
"name" : "SCORE",
|
||||
"label" : "得分",
|
||||
"quickEdit" : {
|
||||
"name" : "SCORE",
|
||||
"required" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
}
|
||||
} ],
|
||||
"needConfirm" : false
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 12,
|
||||
"body" : [ {
|
||||
"name" : "REMARK",
|
||||
"label" : "备注",
|
||||
"type" : "textarea"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"name" : "HR_RECRUITEVAL_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user