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:
88
转换产物-attach/schema/1b6820ad-bc7c-4eef-ac63-652cdf52c75f.json
Normal file
88
转换产物-attach/schema/1b6820ad-bc7c-4eef-ac63-652cdf52c75f.json
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "用户选择框(列表,正常/禁止登录-受权限控制)",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/VIEW_SYS_USER_SELECTSEARCH",
|
||||
"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" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/SYS_ORG/list?perPage=500"
|
||||
}, {
|
||||
"name" : "STATE",
|
||||
"label" : "状态",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/USERSTATE"
|
||||
} ]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user