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:
148
转换产物-attach/schema/2ac7fe32-8dff-4995-ba90-40101133e879.json
Normal file
148
转换产物-attach/schema/2ac7fe32-8dff-4995-ba90-40101133e879.json
Normal file
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "社保管理-编辑",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "SERIALNO",
|
||||
"label" : "工号",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "EMPLOYEE",
|
||||
"label" : "姓名",
|
||||
"required" : true,
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "SEX",
|
||||
"label" : "性别",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/SEX"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "IDCARD",
|
||||
"label" : "身份证号",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "JOBSTATUS",
|
||||
"label" : "在职状态",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/HR_EMPLOYEE_STATUS"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "JOINTIME",
|
||||
"label" : "任职日期",
|
||||
"disabled" : true,
|
||||
"type" : "input-date"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "SOCIA",
|
||||
"label" : "社保编号",
|
||||
"required" : true,
|
||||
"type" : "input-text",
|
||||
"maxLength" : 50
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "BASEFEEMONTH",
|
||||
"label" : "月缴费基数",
|
||||
"required" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"min" : 0,
|
||||
"max" : 9999999999
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "MONTH",
|
||||
"label" : "累缴月数",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1,
|
||||
"min" : 0,
|
||||
"max" : 9999999999
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "PAYUNIT",
|
||||
"label" : "交保单位",
|
||||
"required" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/SYS_ORG/list?perPage=500",
|
||||
"value" : "${orgId}"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "FUNDACCOUNT",
|
||||
"label" : "公积金账号",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "MONEY",
|
||||
"label" : "金额(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"name" : "VIEW_HR_SOCIALSECURITY_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user