Files
eip4-platform/转换产物-attach/schema/f3526816-5498-48f2-929d-3029381995ab.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

67 lines
1.6 KiB
JSON

{
"type" : "page",
"title" : "公司污染源报表",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_POLLUTIONLISTITEM_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "POLLUTIONID",
"label" : "作业过程或活动",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/3ccd2705-ae8f-450f-9537-8e2e19fac5c7/tree",
"searchable" : true
} ]
},
"columns" : [ {
"name" : "PM_POLLUTIONLISTITEM_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "POLLUTIONID_DISPLAY__",
"label" : "目录",
"width" : 200
}, {
"name" : "POLLUTIONPROPERTY",
"label" : "污染危害因素",
"width" : 200
}, {
"name" : "POLLUTIONSTATUS",
"label" : "状态",
"width" : 200
}, {
"name" : "TROUBLE",
"label" : "可能导致事故",
"width" : 200
}, {
"name" : "POLLUTIONGRADE_DISPLAY__",
"label" : "污染级别",
"width" : 200
}, {
"name" : "EVALUATIONMETHOD",
"label" : "评价方法",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "定性评价",
"2" : "定量评价"
}
}, {
"name" : "SCORE",
"label" : "得分",
"width" : 200
}, {
"name" : "CONTROLMEASURE",
"label" : "建议控制措施",
"width" : 200
}, {
"name" : "LIST",
"label" : "分数项集合",
"width" : 200
} ]
}
}