Files
eip4-platform/转换产物-attach/schema/3ffd7619-c8eb-4a81-8e6b-51f578214a71.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

132 lines
3.3 KiB
JSON

{
"type" : "page",
"title" : "选择人员合同信息",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_EMPLOYEE_CONTRACTVIEW_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "SERIALNO",
"label" : "工号",
"type" : "input-text"
}, {
"name" : "NAME",
"label" : "姓名",
"type" : "input-text"
}, {
"name" : "TYPE",
"label" : "合同类型",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/contractType",
"value" : "1"
}, {
"name" : "JOBSTATUS",
"label" : "在职状态",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_EMPLOYEE_STATUS",
"value" : "1"
}, {
"name" : "SIGNINTIME",
"label" : "签订日期",
"type" : "input-date-range"
}, {
"name" : "PACTSTARTTIME",
"label" : "合同开始日期",
"type" : "input-date-range"
}, {
"name" : "PACTENDTIME",
"label" : "合同结束日期",
"type" : "input-date-range"
}, {
"name" : "TRYSTARTTIME",
"label" : "试用开始日期",
"type" : "input-date-range"
}, {
"name" : "TRYENDTIME",
"label" : "试用结束日期",
"type" : "input-date-range"
} ]
},
"columns" : [ {
"name" : "HR_EMPLOYEE_CONTRACTVIEW_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "SERIALNO",
"label" : "工号",
"width" : 200
}, {
"name" : "NAME",
"label" : "姓名",
"width" : 200
}, {
"name" : "JOBSTATUS",
"label" : "在职状态",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "在职",
"2" : "离职",
"3" : "退休",
"4" : "退休留用",
"5" : "聘用"
}
}, {
"name" : "TYPE",
"label" : "合同类型",
"width" : 200,
"type" : "mapping",
"map" : {
"1" : "固定期",
"2" : "无固定期",
"3" : "临时合同"
}
}, {
"name" : "SIGNINTIME",
"label" : "签订日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "PACTSTARTTIME",
"label" : "合同开始日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "PACTENDTIME",
"label" : "合同结束日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "TRYSTARTTIME",
"label" : "试用开始日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "TRYENDTIME",
"label" : "试用结束日期",
"width" : 200,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "HR_EMPLOYEE_CONTRACTVIEW_ID"
}
}