Files
eip4-platform/转换产物-attach/schema/e06e1074-da63-4141-b93c-285516ed16fc.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

160 lines
3.9 KiB
JSON

{
"type" : "page",
"title" : "面试结果-面试人员",
"body" : {
"type" : "crud",
"api" : "/api/flow/HR_RECRUITJOB_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"columns" : [ {
"name" : "HR_RECRUITJOB_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "TALENTNAME",
"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" : "CREATETIME",
"label" : "投递日期",
"width" : 200,
"type" : "datetime",
"format" : "YYYY-MM-DD HH:mm",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
}, {
"name" : "PLANDETAILID_DISPLAY__",
"label" : "应聘岗位",
"width" : 200
}, {
"name" : "HOPESALARY",
"label" : "期望薪资",
"width" : 200
}, {
"name" : "SCHEME_DISPLAY__",
"label" : "考核方案",
"width" : 200
}, {
"name" : "SCHEMESCORE",
"label" : "方案总分",
"width" : 200
}, {
"name" : "ASSESSCOUNT",
"label" : "考评份数",
"width" : 200
}, {
"name" : "ASSESSTOTAL",
"label" : "所得总分",
"width" : 200
}, {
"name" : "ASSESSAVG",
"label" : "平均分",
"width" : 200
}, {
"name" : "TALENT_DISPLAY__",
"label" : "应聘人员",
"width" : 200,
"toggled" : false
}, {
"name" : "JOBTYPE",
"label" : "岗位类型",
"width" : 200,
"type" : "mapping",
"map" : {
"0" : "全职",
"1" : "兼职"
},
"toggled" : false
}, {
"name" : "SERIALNO",
"label" : "计划编号",
"width" : 200,
"toggled" : false
}, {
"name" : "PLANNAME",
"label" : "计划名称",
"width" : 200,
"toggled" : false
}, {
"name" : "PLANID_DISPLAY__",
"label" : "计划id",
"width" : 200,
"toggled" : false
} ],
"headerToolbar" : [ {
"type" : "button",
"id" : "考分明细",
"label" : "考分明细",
"actionType" : "dialog",
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
"dialog" : {
"type" : "dialog",
"title" : "考分明细",
"size" : "lg",
"data" : {
"HR_RECRUITJOB_ID" : "${selectedItems[0].HR_RECRUITJOB_ID}"
},
"body" : {
"type" : "service",
"schemaApi" : "get:/api/page/schema/4868354c-0dc6-4265-bba0-db8269376f82?format=amis"
},
"actions" : [ {
"type" : "button",
"label" : "关闭",
"actionType" : "close"
} ]
}
}, "pagination" ],
"primaryField" : "HR_RECRUITJOB_ID",
"onEvent" : {
"inited" : {
"actions" : [ {
"actionType" : "ajax",
"api" : {
"method" : "post",
"url" : "/api/script/execute-template",
"data" : {
"seq" : 1,
"item" : "${&}",
"templateId" : "e06e1074-da63-4141-b93c-285516ed16fc"
}
},
"outputVar" : "scriptResult1"
}, {
"actionType" : "replayScriptCommands",
"args" : {
"commands" : "${event.data.scriptResult1.commands}"
}
} ]
}
}
}
}