Files
eip4-platform/转换产物-attach/schema/3fdd7cdb-a908-4fb3-9ac0-537195d9ed88.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

130 lines
3.2 KiB
JSON

{
"type" : "page",
"title" : "人员面试",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_RECRUITJOB_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "TALENTNAME",
"label" : "应聘人姓名",
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "HR_RECRUITJOB_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "TALENT_DISPLAY__",
"label" : "姓名",
"width" : 200
}, {
"name" : "SERIALNO",
"label" : "计划编号",
"width" : 200
}, {
"name" : "PLANNAME",
"label" : "计划名称",
"width" : 200
}, {
"name" : "PLANDETAILID_DISPLAY__",
"label" : "应聘岗位",
"width" : 200
}, {
"name" : "SEX",
"label" : "性别",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "女",
"1" : "男"
}
}, {
"name" : "DEGREE",
"label" : "学历",
"width" : 200,
"type" : "mapping",
"map" : {
"1055" : "本科",
"1056" : "大专",
"1057" : "高中",
"1058" : "职高",
"1059" : "技校",
"1060" : "初中",
"1061" : "小学以下",
"1062" : "硕士",
"1063" : "博士",
"1244" : "小学",
"1245" : "中专"
}
}, {
"name" : "JOBTYPE",
"label" : "岗位类型",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "全职",
"1" : "兼职"
}
}, {
"name" : "HOPESALARY",
"label" : "期望薪资",
"width" : 200
}, {
"name" : "CREATETIME",
"label" : "投递日期",
"width" : 200,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "考核",
"label" : "考核",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "考核",
"size" : "lg",
"data" : {
"&" : "${selectedItems[0]}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/c66ae4a6-9813-4c03-9e39-205b0c659b6b?format=amis",
"api" : {
"method" : "post",
"url" : "/api/flow/HR_RECRUITJOB_LOAD_EVALINFO?__egtpl=c66ae4a6-9813-4c03-9e39-205b0c659b6b",
"data" : {
"HR_RECRUITJOB_ID" : "${HR_RECRUITJOB_ID}"
},
"responseData" : {
"&" : "${result}"
}
}
},
"actions" : [ {
"type" : "button",
"label" : "保存",
"level" : "primary",
"actionType" : "submit",
"api" : "POST:/api/flow/HR_RECRUITEVAL_ADD?__egtpl=c66ae4a6-9813-4c03-9e39-205b0c659b6b",
"close" : true
}, {
"type" : "button",
"label" : "取消",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "HR_RECRUITJOB_ID"
}
}