Files
eip4-platform/转换产物-attach/schema/35b37fa0-516f-4fa7-af93-b9ba7b23eab7.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

227 lines
5.9 KiB
JSON

{
"type" : "page",
"title" : "报名申请(投标资格预审)编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTNAME",
"label" : "工程名称",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "AREA",
"label" : "地区分布",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"type" : "static",
"tpl" : "${BUILDCOMPANY_DISPLAY__ ? BUILDCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : BUILDCOMPANY)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SIGNUPCOMPANY",
"label" : "投标单位",
"type" : "static",
"tpl" : "${SIGNUPCOMPANY_DISPLAY__ ? SIGNUPCOMPANY_DISPLAY__ : (NAME ? NAME : SIGNUPCOMPANY)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"type" : "static",
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "AUTHORIZEDPRINCIPAL",
"label" : "委托人",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROJECTUSERS",
"label" : "项目人员",
"type" : "input-table",
"id" : "eg-PROJECTUSERS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "PROJECTROLE",
"label" : "项目角色",
"quickEdit" : {
"name" : "PROJECTROLE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECTMANAGERROLE"
}
}, {
"name" : "USERNAME",
"label" : "姓名",
"quickEdit" : {
"name" : "USERNAME",
"required" : true,
"type" : "input-text"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PRETIME",
"label" : "预审日期",
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ISBIDBOND",
"label" : "是否要求保证金",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PERFORMANCEREQUIREMENT",
"label" : "业绩要求",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OTHERREQUIREMENT",
"label" : "其它要求",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ISLBEPRESENT",
"label" : "法人是否到场",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ISMBEPRESENT",
"label" : "项目经理是否到场",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "预审文件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_TENDERPREQUALIFICATION&businessKey=${PM_TENDERPREQUALIFICATION_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "FILEPRODUCER",
"label" : "预审文件制作人",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "FILECOMPLEX",
"label" : "复验人",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PRERESULT",
"label" : "预审结果",
"type" : "textarea"
} ]
} ]
}, {
"name" : "REQUESTID",
"label" : "报名申请",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PM_TENDERPREQUALIFICATION_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}