Files
eip4-platform/转换产物-attach/schema/8c3a9b11-4492-4a44-a167-da11b0e6c000.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

308 lines
7.5 KiB
JSON

{
"type" : "page",
"title" : "三级安全教育卡查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ORGID",
"label" : "单位名称",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "EXAMINATIONSCORE",
"label" : "考试成绩",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "INTOPROJECTDATE",
"label" : "进项目日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "NAME",
"label" : "姓名",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "GENDER",
"label" : "性别",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SEX"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "IDNUMBER",
"label" : "身份证号",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "JOBS",
"label" : "工种",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SENIORITY",
"label" : "工龄(年) ",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TESTDATE",
"label" : "考试日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "DATEOFBIRTH",
"label" : "出生年月日",
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "HOMEPHONE",
"label" : "家庭电话",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CONTACTADDRESS",
"label" : "联系地址",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "DEPARTMENT",
"label" : "部门",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EMERGENCYCONTACT",
"label" : "紧急联系人",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CONTACTPHONE",
"label" : "联系人电话",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PHYSICALCONDITION",
"label" : "身体状况",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BRANCHEDUCATEDSIGNATURE",
"label" : "(分)公司级受教育人",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BRANCHEDUCATEDDATE",
"label" : "(分)公司级受教育日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJDEPARTEDUCATEDSIGNATURE",
"label" : "项目部级受教育人",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJDEPARTEDUCATEDDATE",
"label" : "项目部级受教育日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "GRADEEDUCATEDSIGNATURE",
"label" : "班组级受教育人",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "GRADEEDUCATEDDATE",
"label" : "班组级受教育日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PUB_SAFETYEDUCATION&businessKey=${PM_PUB_SAFETYEDUCATION_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PUB_SAFETYEDUCATION_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "BRANCHEDUCATESIGNATURE",
"label" : "(分)公司级教育人",
"disabled" : true,
"type" : "input-text",
"hidden" : true
}, {
"name" : "BRANCHEDUCATEDATE",
"label" : "(分)公司级教育日期",
"disabled" : true,
"type" : "input-date",
"hidden" : true
}, {
"name" : "PROJDEPARTEDUCATESIGNATURE",
"label" : "项目部级教育人",
"type" : "static",
"tpl" : "${PROJDEPARTEDUCATESIGNATURE_DISPLAY__ ? PROJDEPARTEDUCATESIGNATURE_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJDEPARTEDUCATESIGNATURE)}",
"hidden" : true
}, {
"name" : "PROJDEPARTEDUCATEDATE",
"label" : "项目部级教育人日期",
"disabled" : true,
"type" : "input-date",
"hidden" : true
}, {
"name" : "GRADEEDUCATESIGNATURE",
"label" : "班组级教育人",
"disabled" : true,
"type" : "input-text",
"hidden" : true
}, {
"name" : "GRADEEDUCATEDATE",
"label" : "班组级教育日期",
"disabled" : true,
"type" : "input-date",
"hidden" : true
} ],
"actions" : [ ]
}
}