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:
103
转换产物-attach/schema/4e59b1f8-2552-4bd7-91fd-124987f04d5d.json
Normal file
103
转换产物-attach/schema/4e59b1f8-2552-4bd7-91fd-124987f04d5d.json
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "劳务队组信息选择框(业绩)",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/PM_LABORTEAM_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "SERIALNUMBER",
|
||||
"label" : "编号",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "LABORTEAMNAME",
|
||||
"label" : "劳务队组名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "LABORCOMPANYID",
|
||||
"label" : "所属劳务公司",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/1113ddf3-94c0-4b91-8657-dfda08da7105/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "STATE",
|
||||
"label" : "状态",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_LaborTeam_STATUS"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "PM_LABORTEAM_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "LABORCOMPANYID_DISPLAY__",
|
||||
"label" : "所属劳务公司",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "SERIALNUMBER",
|
||||
"label" : "编号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "LABORTEAMNAME",
|
||||
"label" : "劳务队组名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "SAFETYHEAD",
|
||||
"label" : "安全负责人",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "MATERIALSTAFF",
|
||||
"label" : "材料员",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "MAINHEAD",
|
||||
"label" : "主要负责人",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "PAYEE",
|
||||
"label" : "领款人",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "PROFESSIONALWORKERS",
|
||||
"label" : "专业工种",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "STATE",
|
||||
"label" : "状态",
|
||||
"width" : 80,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "合格",
|
||||
"2" : "不合格",
|
||||
"3" : "黑名"
|
||||
}
|
||||
}, {
|
||||
"name" : "REMARK",
|
||||
"label" : "备注",
|
||||
"width" : 200
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "PM_LABORTEAM_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user