Files
eip4-platform/转换产物-attach/schema/76d2f950-ef40-4eff-89ec-98ad9a4976b9.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

91 lines
2.2 KiB
JSON

{
"type" : "page",
"title" : "用户选择框(公司部门/岗位类别/用户类别,正常/禁止登录-受权限控制)",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_SYS_USER_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "ACCOUNT",
"label" : "帐号",
"type" : "input-text"
}, {
"name" : "NAME",
"label" : "姓名",
"type" : "input-text"
}, {
"name" : "EMAIL",
"label" : "邮箱",
"type" : "input-text"
}, {
"name" : "MOBILE",
"label" : "手机",
"type" : "input-text"
}, {
"name" : "USERORGID",
"label" : "所属组织",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/1ef49ca8-c023-4044-b389-f44d4ad7b577/tree",
"searchable" : true
}, {
"name" : "STATE",
"label" : "状态",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/USERSTATE",
"value" : "1"
} ]
},
"columns" : [ {
"name" : "DISPLAYNAME",
"label" : "用户名",
"width" : 80
}, {
"name" : "EMAIL",
"label" : "邮箱",
"width" : 150,
"toggled" : false
}, {
"name" : "MOBILE",
"label" : "手机",
"width" : 80,
"toggled" : false
}, {
"name" : "USERORGID_DISPLAY__",
"label" : "所属组织",
"width" : 100
}, {
"name" : "STATE",
"label" : "状态",
"width" : 100,
"type" : "mapping",
"map" : {
"1" : "正常",
"2" : "禁止登录",
"3" : "禁用",
"4" : "删除"
}
}, {
"name" : "MASTERDEPARTDISPLAY",
"label" : "主部门",
"width" : 100
}, {
"name" : "MASTERPOSITIONDISPLAY",
"label" : "主岗位",
"width" : 100
}, {
"name" : "VIEW_SYS_USER_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_SYS_USER_ID"
}
}