Files
eip4-platform/转换产物-attach/schema/ba223f7f-2864-4bb9-93b9-9c8d7e9f5f95.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

84 lines
2.1 KiB
JSON

{
"type" : "page",
"title" : "用户证书选择框-五建定制",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_HR_USERCARD_WJ_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "USERID",
"label" : "用户",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "CARDKIND",
"label" : "证书类别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WJ_HR_CARDTYPE"
}, {
"name" : "CARD",
"label" : "证书类型或名称",
"type" : "input-text"
}, {
"name" : "CARDNO",
"label" : "证书编号",
"type" : "input-text"
}, {
"name" : "CARDSTATE",
"label" : "证书状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/WJ_HR_CARDSTATE"
} ]
},
"columns" : [ {
"name" : "VIEW_HR_USERCARD_WJ_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "USERID_DISPLAY__",
"label" : "用户",
"width" : 200
}, {
"name" : "CARDKIND",
"label" : "证书类别",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "建造师注册证",
"2" : "造价师注册证",
"3" : "安全员证",
"4" : "职称"
}
}, {
"name" : "CARD",
"label" : "证书类型或名称",
"width" : 200
}, {
"name" : "CARDNO",
"label" : "证书编号",
"width" : 200
}, {
"name" : "CARDSTATE",
"label" : "证书状态",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "空闲",
"1" : "使用中",
"5" : "锁定",
"6" : "冻结"
}
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_HR_USERCARD_WJ_ID"
}
}