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:
108
转换产物-attach/schema/640445ea-43c3-4d02-9971-bbd1bd295bbf.json
Normal file
108
转换产物-attach/schema/640445ea-43c3-4d02-9971-bbd1bd295bbf.json
Normal file
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "在用有效文件报表",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/OA_USINGVALIDFILE_SEARCH?page=${page}&perPage=${perPage}",
|
||||
"syncLocation" : false,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "FILENAME",
|
||||
"label" : "文件名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "EDITSTATUS",
|
||||
"label" : "修订状态",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/OA_USINGVALIDFILE-EDITSTATUS"
|
||||
}, {
|
||||
"name" : "startpublishdate",
|
||||
"label" : "发布开始日期",
|
||||
"type" : "input-date"
|
||||
}, {
|
||||
"name" : "endpublishdate",
|
||||
"label" : "发布结束日期",
|
||||
"type" : "input-date"
|
||||
}, {
|
||||
"name" : "startregisterdate",
|
||||
"label" : "开始登记日期",
|
||||
"type" : "input-date"
|
||||
}, {
|
||||
"name" : "endregisterdate",
|
||||
"label" : "结束登记日期",
|
||||
"type" : "input-date"
|
||||
}, {
|
||||
"name" : "FILETYPE",
|
||||
"label" : "文件类型",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/OA_USINGVALIDFILE-FILETYPE"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "OA_USINGVALIDFILE_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "FILENAME",
|
||||
"label" : "文件(资料)名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "FILENUM",
|
||||
"label" : "文件(资料)编号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PUBLISHDATE",
|
||||
"label" : "发布日期",
|
||||
"width" : 200,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "REGISTERDATE",
|
||||
"label" : "登记日期",
|
||||
"width" : 200,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "EDITSTATUS",
|
||||
"label" : "修订状态",
|
||||
"width" : 200,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "0",
|
||||
"2" : "1",
|
||||
"3" : "2",
|
||||
"4" : "3",
|
||||
"5" : "4",
|
||||
"6" : "5"
|
||||
}
|
||||
}, {
|
||||
"name" : "VALIDTIME",
|
||||
"label" : "有效期限",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "RELEVANTDEPARTMENTS",
|
||||
"label" : "归口部门",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "FILETYPE",
|
||||
"label" : "文件类型",
|
||||
"width" : 200,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "内部文件",
|
||||
"2" : "外部文件",
|
||||
"3" : "技术类"
|
||||
}
|
||||
}, {
|
||||
"name" : "REMARK",
|
||||
"label" : "备注",
|
||||
"width" : 200
|
||||
} ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user