Files
eip4-platform/转换产物-attach/schema/74694513-6219-4d07-b7de-3cdbb34f9b0c.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.1 KiB
JSON

{
"type" : "page",
"title" : "实名制从业人员编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "group",
"body" : [ {
"name" : "WORKERNAME",
"label" : "人员姓名",
"required" : true,
"type" : "input-text"
}, {
"name" : "ZJHM",
"label" : "证件号码",
"required" : true,
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "XB",
"label" : "性别",
"required" : true,
"type" : "input-text"
}, {
"name" : "ZZ",
"label" : "住址",
"type" : "input-text"
} ]
}, {
"name" : "IMAGE",
"label" : "身份证照片",
"hidden" : true,
"type" : "input-text"
}, {
"type" : "group",
"body" : [ {
"name" : "CSRQ",
"label" : "出生日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"name" : "PHOTOPATH",
"label" : "PHOTOPATH",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=GB_WORKER&businessKey=${GB_WORKER_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
}, {
"type" : "group",
"body" : [ {
"name" : "MZ",
"label" : "民族",
"required" : true,
"type" : "input-text"
}, {
"name" : "SFZYXQRQ",
"label" : "身份证有效起日期",
"type" : "input-date"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "SFZYXZRQ",
"label" : "身份证有效止日期",
"type" : "input-date"
}, {
"name" : "SFZFZJG",
"label" : "身份证发证机关",
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "PROVINCE",
"label" : "所属省份",
"type" : "input-text"
}, {
"name" : "CITY",
"label" : "所属城市",
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "LXDH",
"label" : "联系电话",
"type" : "input-text"
}, {
"name" : "URGENCY",
"label" : "紧急联系人",
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "URGENCYPHONE",
"label" : "紧急联系人电话",
"type" : "input-text"
}, {
"name" : "HEALTH",
"label" : "健康状况",
"type" : "input-text"
} ]
}, {
"type" : "group",
"body" : [ {
"name" : "PARTY",
"label" : "是否党员",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"name" : "GB_WORKER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}