Files
eip4-platform/转换产物-attach/schema/4fb487b6-ba93-4605-9a8a-7d6b6e55b4e1.json
zhengwr 8fe377b0c8 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>
2026-06-20 15:16:30 +08:00

62 lines
1.4 KiB
JSON

{
"type" : "page",
"title" : "模板选择框",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_TEMPLATE_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "TYPE",
"label" : "模板类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TEMPLATETYPE"
}, {
"name" : "NAME",
"label" : "模板名称",
"type" : "input-text"
}, {
"name" : "XML",
"label" : "模板XML",
"hidden" : true,
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "NAME",
"label" : "模板名称"
}, {
"name" : "TYPE",
"label" : "模板类型",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "列表模板",
"3" : "树模板",
"4" : "树和列表模板",
"5" : "日历模板",
"6" : "组合模板",
"7" : "表单模板",
"100" : "列表窗口模板",
"101" : "树窗口模板",
"200" : "报表模板"
}
}, {
"name" : "XML",
"label" : "模板XML",
"width" : 200,
"toggled" : false
}, {
"name" : "VIEW_TEMPLATE_ID",
"label" : "ID",
"width" : 200,
"toggled" : false
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_TEMPLATE_ID"
}
}