Files
eip4-platform/转换产物-attach/schema/072ef0ee-6b1f-469b-9816-b15985351640.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

237 lines
6.3 KiB
JSON

{
"type" : "page",
"title" : "选择内部报名申请人员",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/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" : "APPLYUSERS",
"label" : "内部报名申请人员",
"required" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"name" : "PM_PROJECT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROJECTCODE",
"label" : "工程编码",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROJECTNAME",
"label" : "工程名称",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "AREA",
"label" : "地区分布",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
}, {
"name" : "ADDRESS",
"label" : "工程地址",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROPERTY",
"label" : "工程性质",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
}, {
"name" : "TYPE",
"label" : "工程类型",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
}, {
"name" : "CATEGORY",
"label" : "项目类别",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
}, {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
}, {
"name" : "ISSHARE",
"label" : "项目是否共享",
"hidden" : true,
"type" : "checkbox"
}, {
"name" : "PREDICTSTARTTIME",
"label" : "预计开工日期",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "STRUCTURE",
"label" : "结构",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "NUMBER",
"label" : "层次",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PREDICTINVEST",
"label" : "预计投资(元)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "EVOLVE",
"label" : "进展",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "BIDTIME",
"label" : "投标报名日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "SIGNUPENDTIME",
"label" : "内部报名截止日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "FILIALE",
"label" : "所属(分)公司",
"hidden" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/42861f01-14ea-482d-8031-f30612dfccf4/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "PROJECTSTAGE",
"label" : "工程阶段",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROJECTSTAGE"
}, {
"name" : "OPPONENTS",
"label" : "潜在竞争对手",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ],
"actions" : [ ]
}
}