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:
151
转换产物-attach/schema/c9f81de4-b818-4b09-acf6-892e36ef9028.json
Normal file
151
转换产物-attach/schema/c9f81de4-b818-4b09-acf6-892e36ef9028.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "实体选择框",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/searchEntity",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "ACCESSLEVEL",
|
||||
"label" : "访问级别",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/ACCLEVEL"
|
||||
}, {
|
||||
"name" : "TABLETYPE",
|
||||
"label" : "表类型",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/TABLETYPE"
|
||||
}, {
|
||||
"name" : "TABLENAME",
|
||||
"label" : "数据库表名",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "ISVIEWDISPLAY",
|
||||
"label" : "是否视图显示名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "ISDELETEABLE",
|
||||
"label" : "该表是否可删除",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
}, {
|
||||
"name" : "DESCRIPTION",
|
||||
"label" : "描述",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "NAME",
|
||||
"label" : "名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "ISVIEW",
|
||||
"label" : "是否视图",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
}, {
|
||||
"name" : "ENTITYTYPE",
|
||||
"label" : "实体模块分类",
|
||||
"type" : "tree-select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/template/e6b69e2d-a8ab-49e9-8d79-e2bc4f2f45fd/tree",
|
||||
"searchable" : true
|
||||
}, {
|
||||
"name" : "ISCHANGELOG",
|
||||
"label" : "是否记录日志",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "SYS_ENTITY_ID",
|
||||
"label" : "SYS_Entity_ID",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "NAME",
|
||||
"label" : "名称",
|
||||
"width" : 180
|
||||
}, {
|
||||
"name" : "TABLENAME",
|
||||
"label" : "数据库表名",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "ENTITYTYPE_DISPLAY__",
|
||||
"label" : "实体模块分类",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "DESCRIPTION",
|
||||
"label" : "描述",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "TABLETYPE",
|
||||
"label" : "表类型",
|
||||
"width" : 50,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"0" : "主表",
|
||||
"1" : "子表",
|
||||
"2" : "中间表"
|
||||
}
|
||||
}, {
|
||||
"name" : "ACCESSLEVEL",
|
||||
"label" : "访问级别",
|
||||
"width" : 10,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "系统",
|
||||
"2" : "固有业务",
|
||||
"3" : "自定义业务"
|
||||
},
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "ISVIEWDISPLAY",
|
||||
"label" : "视图显示",
|
||||
"width" : 50,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "ISDELETEABLE",
|
||||
"label" : "删除",
|
||||
"width" : 20,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"0" : "否",
|
||||
"1" : "是",
|
||||
"false" : "否",
|
||||
"true" : "是"
|
||||
}
|
||||
}, {
|
||||
"name" : "ISVIEW",
|
||||
"label" : "视图",
|
||||
"width" : 20,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"0" : "否",
|
||||
"1" : "是",
|
||||
"false" : "否",
|
||||
"true" : "是"
|
||||
}
|
||||
}, {
|
||||
"name" : "ISCHANGELOG",
|
||||
"label" : "日志",
|
||||
"width" : 20,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"0" : "否",
|
||||
"1" : "是",
|
||||
"false" : "否",
|
||||
"true" : "是"
|
||||
}
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "SYS_ENTITY_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user