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:
184
转换产物-attach/schema/7b96258f-0f7c-484b-929f-2b259b309dd5.json
Normal file
184
转换产物-attach/schema/7b96258f-0f7c-484b-929f-2b259b309dd5.json
Normal file
@@ -0,0 +1,184 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "内部报名评审-查看审批页面",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"name" : "PM_PROJECT_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "PROJECTNAME",
|
||||
"label" : "工程名称",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "BUILDCOMPANY",
|
||||
"label" : "建设单位",
|
||||
"type" : "static",
|
||||
"tpl" : "${BUILDCOMPANY_DISPLAY__ ? BUILDCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : BUILDCOMPANY)}"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "AREA",
|
||||
"label" : "地区分布",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_PROJECT_AREA"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "ADDRESS",
|
||||
"label" : "工程地址",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "PROPERTY",
|
||||
"label" : "工程性质",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "TYPE",
|
||||
"label" : "工程类型",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "CATEGORY",
|
||||
"label" : "项目类别",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "INVITEBIDS_TYPE",
|
||||
"label" : "招标形式",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "STRUCTURE",
|
||||
"label" : "结构",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "NUMBER",
|
||||
"label" : "层次",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "TOTALPRICE",
|
||||
"label" : "工程造价(元)",
|
||||
"disabled" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "CAPITAL",
|
||||
"label" : "大写",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "ACREAGE",
|
||||
"label" : "建筑面积(m2)",
|
||||
"disabled" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "BIDTIME",
|
||||
"label" : "投标报名截止时间",
|
||||
"disabled" : true,
|
||||
"type" : "input-datetime"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "SIGNUPENDTIME",
|
||||
"label" : "内部报名截止时间",
|
||||
"disabled" : true,
|
||||
"type" : "input-datetime"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 12,
|
||||
"body" : [ {
|
||||
"name" : "DETAILS",
|
||||
"label" : "报名单位",
|
||||
"disabled" : true,
|
||||
"type" : "input-table",
|
||||
"id" : "eg-DETAILS",
|
||||
"addable" : true,
|
||||
"removable" : true,
|
||||
"staticOn" : "${__readonly}",
|
||||
"columns" : [ ],
|
||||
"needConfirm" : false
|
||||
} ]
|
||||
} ]
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user