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:
128
转换产物-attach/schema/c36efcbd-cf6f-4d74-9e13-3aa5ede27d16.json
Normal file
128
转换产物-attach/schema/c36efcbd-cf6f-4d74-9e13-3aa5ede27d16.json
Normal file
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "面试考评报表",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/VIEW_HR_INTERVIEWRESULT_TEMP_SEARCH?page=${page}&perPage=${perPage}",
|
||||
"syncLocation" : false,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "RECRUITPLAN",
|
||||
"label" : "招聘计划",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/2a2c5abb-f6e0-462f-8f29-180d460048d0/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "SEARCHEVALAVG",
|
||||
"label" : "平均分大于",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "HR_INTERVIEWRESULT_TEMP_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "NAME",
|
||||
"label" : "姓名",
|
||||
"width" : 100,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "SEX",
|
||||
"label" : "性别",
|
||||
"width" : 40,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"0" : "女",
|
||||
"1" : "男"
|
||||
},
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "DEGREE",
|
||||
"label" : "学历",
|
||||
"width" : 40,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1055" : "本科",
|
||||
"1056" : "大专",
|
||||
"1057" : "高中",
|
||||
"1058" : "职高",
|
||||
"1059" : "技校",
|
||||
"1060" : "初中",
|
||||
"1061" : "小学以下",
|
||||
"1062" : "硕士",
|
||||
"1063" : "博士",
|
||||
"1244" : "小学",
|
||||
"1245" : "中专"
|
||||
},
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "RESUMEDATE",
|
||||
"label" : "投递日期",
|
||||
"width" : 80,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "POSITIONNAME",
|
||||
"label" : "应聘岗位",
|
||||
"width" : 150,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "HOPESALARY",
|
||||
"label" : "期望薪资(元)",
|
||||
"width" : 100,
|
||||
"type" : "number",
|
||||
"precision" : 2,
|
||||
"prefix" : "",
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "SCHEMENAME",
|
||||
"label" : "考核方案",
|
||||
"width" : 100,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "HAVEMARKUSER",
|
||||
"label" : "已打分人员",
|
||||
"width" : 150,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "SCHEMESCORE",
|
||||
"label" : "方案总分",
|
||||
"width" : 100,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "EVALCOUNT",
|
||||
"label" : "考评份数",
|
||||
"width" : 50,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "EVALTOTAL",
|
||||
"label" : "所得总分",
|
||||
"width" : 100,
|
||||
"className" : "text-center"
|
||||
}, {
|
||||
"name" : "EVALAVG",
|
||||
"label" : "平均分",
|
||||
"width" : 100,
|
||||
"className" : "text-center"
|
||||
} ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user