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:
79
转换产物-attach/schema/1c3adaaf-ba90-462b-975f-83b55113e8ae.json
Normal file
79
转换产物-attach/schema/1c3adaaf-ba90-462b-975f-83b55113e8ae.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "绩效管理-考核打分",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/HR_ASSESS_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"columns" : [ {
|
||||
"name" : "HR_ASSESS_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "ASSESSSCHEME_DISPLAY__",
|
||||
"label" : "考核方案",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "EMPLOYEE_DISPLAY__",
|
||||
"label" : "考核对象",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "SCORE",
|
||||
"label" : "得分",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "MODIFYUSER_DISPLAY__",
|
||||
"label" : "打分人",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "REMARK",
|
||||
"label" : "评语",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "FILLTIME",
|
||||
"label" : "填写时间",
|
||||
"width" : 200,
|
||||
"type" : "datetime",
|
||||
"format" : "YYYY-MM-DD HH:mm",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
|
||||
"toggled" : false
|
||||
} ],
|
||||
"headerToolbar" : [ {
|
||||
"type" : "button",
|
||||
"id" : "查看打分明细",
|
||||
"label" : "查看打分明细",
|
||||
"actionType" : "dialog",
|
||||
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
|
||||
"dialog" : {
|
||||
"type" : "dialog",
|
||||
"title" : "查看打分明细",
|
||||
"size" : "lg",
|
||||
"data" : {
|
||||
"&" : "${selectedItems[0]}",
|
||||
"__readonly" : true
|
||||
},
|
||||
"body" : {
|
||||
"type" : "service",
|
||||
"schemaApi" : "get:/api/page/schema/2766d273-5439-41cd-b268-927dadcfc963?format=amis",
|
||||
"static" : true,
|
||||
"api" : {
|
||||
"method" : "post",
|
||||
"url" : "/api/flow/HR_ASSESS_LOAD?__egtpl=2766d273-5439-41cd-b268-927dadcfc963",
|
||||
"data" : {
|
||||
"HR_ASSESS_ID" : "${HR_ASSESS_ID}"
|
||||
},
|
||||
"responseData" : {
|
||||
"&" : "${result}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}, "pagination" ],
|
||||
"primaryField" : "HR_ASSESS_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user