Files
eip4-platform/转换产物-attach/schema/4dcdcf17-1ceb-4613-bb27-4af93eb0eb09.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

520 lines
14 KiB
JSON

{
"type" : "page",
"title" : "报名申请编辑界面(待删除)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "COLLECTPROJECT",
"label" : "关联收集工程",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/759b9157-ab1d-4f9a-87a4-1cb671d22173/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" : 3,
"body" : [ {
"name" : "FORMNO",
"label" : "编号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SIGNUPCOMPANY",
"label" : "报名单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${orgId}"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "BIDTIME",
"label" : "招标报名截止时间",
"required" : true,
"type" : "input-datetime"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "SIGNUPUSER",
"label" : "报名经办人",
"required" : 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" : "请点击右侧的图标",
"value" : "${currentUser}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SIGNUPUSERPHONE",
"label" : "报名经办人电话",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "SIGNUPTIME",
"label" : "申请日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "TRACKUSER",
"label" : "项目跟踪人",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "TRACKUSERPHONE",
"label" : "项目跟踪人电话",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CREATEBY",
"label" : "填写人",
"type" : "static",
"tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "AGENCY",
"label" : "代理机构",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/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" : 3,
"body" : [ {
"name" : "PROJECTNAME",
"label" : "工程名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "AREA",
"label" : "地区分布",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROPERTY",
"label" : "工程专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROTYPE",
"label" : "工程类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CATEGORY",
"label" : "项目类别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "STARTDATE",
"label" : "计划开工日期",
"type" : "input-date"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ENDDATE",
"label" : "计划竣工日期",
"type" : "input-date"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "GQ",
"label" : "工期",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 11,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "JZSDEGREE",
"label" : "建造师等级",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONSTRUCTORCARDLEVEL"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "JZSMAJOR",
"label" : "建造师专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONSTRUCTORPROFESSIONAL"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"type" : "static",
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SELECT",
"label" : "SELECT",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/a801e436-9176-4794-a48b-5c7020697697/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" : 3,
"body" : [ {
"name" : "EXAMINATION",
"label" : "资格审查",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_TITLE_EXAMINATION"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "IMPORTANTSTAGE",
"label" : "重要性",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_TENDERBIDREQUEST_IMPORTANT"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "BIDOPENINGTIME",
"label" : "开标时间",
"type" : "input-datetime"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ANNOUNCEMENT_TENDER",
"label" : "公告资质要求",
"type" : "input-table",
"id" : "eg-ANNOUNCEMENT_TENDER",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "TENDER_TYPE",
"label" : "资质专业",
"quickEdit" : {
"name" : "TENDER_TYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_ANNOUNCEMENT_TENDER_TYPE"
}
}, {
"name" : "DEGREE",
"label" : "等级",
"quickEdit" : {
"name" : "DEGREE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_ANNOUNCEMENT_TENDER_TYPE_DEGREE"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PRIMARY_CONTRACTOR",
"label" : "预选承包商类别和组别",
"type" : "input-table",
"id" : "eg-PRIMARY_CONTRACTOR",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "CONTRACTOR_TYPE",
"label" : "类别",
"quickEdit" : {
"name" : "CONTRACTOR_TYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PRIMARY_CONTRACTOR_TYPE"
}
}, {
"name" : "DEGREE",
"label" : "组别",
"quickEdit" : {
"name" : "DEGREE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PRIMARY_CONTRACTOR_TYPE_DEGREE"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ACCEPTCONDITION",
"label" : "投标必要合格可选条件",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 11,
"body" : [ {
"name" : "ANNOUNCEMENTURL",
"label" : "公告地址",
"type" : "input-text"
} ]
} ]
}, {
"name" : "PM_TENDERBIDREQUEST_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CARD",
"label" : "证书ID",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}