Files
eip4-platform/转换产物-attach/schema/5507e8f7-11c4-4cbb-834d-bc93b0ac1174.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

95 lines
2.4 KiB
JSON

{
"type" : "page",
"title" : "用户证书选择框",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_HR_USERWITHCARDS_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ACCOUNT",
"label" : "账号",
"type" : "input-text"
}, {
"name" : "DISPLAYNAME",
"label" : "显示名",
"type" : "input-text"
}, {
"name" : "USERORGID",
"label" : "组织",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "CARDS",
"label" : "证书",
"type" : "input-text"
}, {
"name" : "USERID",
"label" : "用户",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "PROJECTROLE",
"label" : "项目角色",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECTMANAGERROLE"
} ]
},
"columns" : [ {
"name" : "VIEW_HR_USERWITHCARDS_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "ACCOUNT",
"label" : "账号",
"width" : 200,
"toggled" : false
}, {
"name" : "DISPLAYNAME",
"label" : "显示名",
"width" : 200
}, {
"name" : "USERORGID_DISPLAY__",
"label" : "组织",
"width" : 200
}, {
"name" : "CARDS",
"label" : "证书",
"width" : 200
}, {
"name" : "USERID_DISPLAY__",
"label" : "用户",
"width" : 200,
"toggled" : false
}, {
"name" : "PROJECTROLE",
"label" : "项目角色",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "项目负责人",
"2" : "工程师",
"3" : "安全员",
"4" : "质量员",
"5" : "施工员",
"6" : "核算员",
"7" : "材料员",
"8" : "资料员",
"19" : "技术负责人",
"20" : "项目分包负责人",
"1000" : "分管领导"
}
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_HR_USERWITHCARDS_ID"
}
}