Files
eip4-platform/转换产物-attach/schema/1fafac01-1fc9-4715-aad7-66f072c0b96a.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

215 lines
5.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" : "FATHERPROJECTCODE",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "LT_ID",
"label" : "劳务队组信息",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/7cab9bb2-fd28-447c-90ee-209c84dec44f/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "LABORCOMPANYID",
"label" : "所属劳务公司",
"type" : "static",
"tpl" : "${LABORCOMPANYID_DISPLAY__ ? LABORCOMPANYID_DISPLAY__ : (UNITNAME ? UNITNAME : LABORCOMPANYID)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PROFESSIONALWORKERS",
"label" : "专业工种",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONSTRUCTCONTENT",
"label" : "施工内容",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SAFETYCONTENT",
"label" : "安全",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/qualified",
"value" : "1"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "QUALITYCONTENT",
"label" : "质量",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/qualified",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROGRESSCONTENT",
"label" : "进度",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/qualified",
"value" : "1"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ENVIRONMENTCONTENT",
"label" : "环境",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/qualified",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROFESSIONALHEALTHCONTENT",
"label" : "职业健康",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/qualified",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "INSPECTOPINION",
"label" : "检查意见",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "INSPECTLEVEL",
"label" : "检查级别",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_LS_Inspect_inspectLevel",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "INSOECTUSER",
"label" : "检查人",
"type" : "static",
"tpl" : "${INSOECTUSER_DISPLAY__ ? INSOECTUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : INSOECTUSER)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "INSOECTDATE",
"label" : "检查日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"name" : "PM_LS_INSPECT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "1",
"label" : "1",
"hidden" : true,
"type" : "input-text",
"value" : "1"
} ],
"actions" : [ ]
}
}