Files
eip4-platform/转换产物-attach/schema/8e05ecd1-0d9b-4cd5-b0f1-8917fcc4fdb2.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

80 lines
2.0 KiB
JSON

{
"type" : "page",
"title" : "实名制项目工资表",
"body" : {
"type" : "crud",
"api" : "/api/flow/GB_WORKERPAYMENT_SEARCH?page=${page}&perPage=${perPage}",
"syncLocation" : false,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PRJNUMBER",
"label" : "实名制项目",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/0d674631-7a53-44b0-bb41-6aa201ede8ec/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PAYMENTDATE",
"label" : "工资月份",
"required" : true,
"type" : "input-date"
} ]
},
"columns" : [ {
"name" : "GB_WORKERPAYMENT_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PRJNUMBER_DISPLAY__",
"label" : "实名制项目",
"width" : 200
}, {
"name" : "CONSTRUCTCOMP",
"label" : "施工企业",
"width" : 200
}, {
"name" : "BANKNAME",
"label" : "银行名称",
"width" : 200
}, {
"name" : "PAYMENTDATE",
"label" : "工资月份",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "PAYROLLNAME",
"label" : "工资单名称",
"width" : 200
}, {
"name" : "ISPAY",
"label" : "已发放",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
}
}, {
"name" : "WORKERS",
"label" : "工资单人员",
"width" : 200
} ]
}
}