Files
eip4-platform/转换产物-attach/schema/4982d448-a9d4-493e-9e1d-ebcd3c7dfcd6.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

127 lines
3.2 KiB
JSON

{
"type" : "page",
"title" : "员工档案选择窗口",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_EMPLOYEE_SEARCH_SELECT",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "SERIALNO",
"label" : "工号",
"type" : "input-text"
}, {
"name" : "USERID",
"label" : "姓名",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
}, {
"name" : "SEX",
"label" : "性别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SEX"
}, {
"name" : "IDCARD",
"label" : "身份证",
"type" : "input-text"
}, {
"name" : "JOBSTATUS",
"label" : "在职状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_EMPLOYEE_STATUS",
"value" : "1"
}, {
"name" : "SOCIAUNIT",
"label" : "缴保单位",
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_ORG/list?perPage=500"
}, {
"name" : "HISDEPARTID",
"label" : "所属部门",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/6135bd7d-ba6e-4b46-a2f5-1d5e5190e3bd/tree",
"searchable" : true,
"onlyLeaf" : true
} ]
},
"columns" : [ {
"name" : "HR_EMPLOYEE_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "SERIALNO",
"label" : "工号",
"width" : 100
}, {
"name" : "USERID_DISPLAY__",
"label" : "姓名",
"width" : 100
}, {
"name" : "SEX",
"label" : "性别",
"width" : 50,
"type" : "mapping",
"map" : {
"0" : "女",
"1" : "男"
}
}, {
"name" : "IDCARD",
"label" : "身份证",
"width" : 150
}, {
"name" : "SOCIA",
"label" : "社保编号",
"width" : 100
}, {
"name" : "JOBSTATUS",
"label" : "在职状态",
"width" : 70,
"type" : "mapping",
"map" : {
"1" : "在职",
"2" : "离职",
"3" : "退休",
"4" : "退休留用",
"5" : "聘用"
}
}, {
"name" : "SOCIAUNIT_DISPLAY__",
"label" : "缴保单位",
"width" : 200
}, {
"name" : "HISDEPARTID_DISPLAY__",
"label" : "所属部门",
"width" : 250
}, {
"name" : "HISPOSITION_DISPLAY__",
"label" : "主岗位",
"width" : 250
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "HR_EMPLOYEE_ID"
}
}