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:
78
转换产物-attach/schema/bb80977d-0f72-4e55-8861-d2ffe8f53e2a.json
Normal file
78
转换产物-attach/schema/bb80977d-0f72-4e55-8861-d2ffe8f53e2a.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "公司照片浏览",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/OA_PHOTOALBUM_SEARCH_BROWSE_PHOTO",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "ALBUM_NAME",
|
||||
"label" : "相册名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "CREATERNAME",
|
||||
"label" : "创建人",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "OA_PHOTOALBUM_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "ALBUM_NAME",
|
||||
"label" : "相册名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "CREATER_DISPLAY__",
|
||||
"label" : "创建者",
|
||||
"width" : 80
|
||||
}, {
|
||||
"name" : "CREATEDATE",
|
||||
"label" : "创建日期",
|
||||
"width" : 80,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "ALBUM_CONTENT",
|
||||
"label" : "相册描述",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PICCOUNT",
|
||||
"label" : "照片数量",
|
||||
"width" : 50
|
||||
}, {
|
||||
"name" : "COVERPHOTO_FILEPATH",
|
||||
"label" : "封面照片路径",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "COVERPHOTO",
|
||||
"label" : "封面照片",
|
||||
"width" : 50,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "ISOVERT",
|
||||
"label" : "是否公开",
|
||||
"width" : 50,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"0" : "否",
|
||||
"1" : "是",
|
||||
"false" : "否",
|
||||
"true" : "是"
|
||||
}
|
||||
}, {
|
||||
"name" : "ALBUMID",
|
||||
"label" : "相册排序号",
|
||||
"width" : 50
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "OA_PHOTOALBUM_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user