Files
eip4-platform/转换产物-attach/schema/b13ffe80-8260-4c4d-b68f-51e784027e68.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

379 lines
9.1 KiB
JSON

{
"type" : "page",
"title" : "创优进程管理编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 10,
"body" : [ {
"name" : "EXCELLENCEPROJECTID",
"label" : "单位工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/b9533069-c35d-4735-95d0-6755c98000cb/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" : 5,
"body" : [ {
"name" : "AREA",
"label" : "建筑面积(m2)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "QUALITYSTANDARD",
"label" : "合同质量等级",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "BANK",
"label" : "工程质量创优等级",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECT_bank"
} ]
}, {
"md" : 7,
"body" : [ {
"name" : "FUJIA",
"label" : "工程质量创优",
"disabled" : true,
"type" : "input-text",
"maxLength" : 200
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "NEWTECHNOLOGYPROJECTLEVEL",
"label" : "新技术应用示范项目",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECT_newTechnologyProjectLevel"
} ]
}, {
"md" : 7,
"body" : [ {
"name" : "NEWTECHNOLOGYPROJECT",
"label" : "新技术应用示范项目",
"disabled" : true,
"type" : "input-text",
"maxLength" : 200
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "GREENBUILDLEVEL",
"label" : "绿色建筑",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECT_newTechnologyProjectLevel"
} ]
}, {
"md" : 7,
"body" : [ {
"name" : "GREENBUILD",
"label" : "绿色建筑",
"disabled" : true,
"type" : "input-text",
"maxLength" : 200
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 10,
"body" : [ {
"name" : "OTHERS",
"label" : "其他",
"disabled" : true,
"type" : "input-text",
"maxLength" : 200
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "QULITYSTAGEHIGHQUALITY",
"label" : "优质结构",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "QULITYYEARSHIGHQUALITY",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "QULITYSTAGEREGION",
"label" : "县/区优质工程",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "QULITYYEARSREGION",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "QULITYSTAGECITY",
"label" : "市优质工程",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "QULITYYEARSCITY",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "QULITYSTAGEPROVINCE",
"label" : "省优质工程",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "QULITYYEARSPROVINCE",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "QULITYSTAGECOUNTRY",
"label" : "国家优质工程",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "QULITYYEARSCOUNTRY",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "NEWTECHPROVINCE",
"label" : "省级",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "TECHYEARSPROVINCE",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "NEWTECHCOUNTRY",
"label" : "国家级",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "TECHYEARSCOUNTRY",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "GREENBUILDPROVINCE",
"label" : "省级",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "GREENYEARSPROVINCE",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "GREENBUILDCOUNTRY",
"label" : "国家级",
"type" : "checkbox"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "GREENYEARSCOUNTRY",
"label" : "年度",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ITEMS",
"label" : "其他",
"type" : "input-table",
"id" : "eg-ITEMS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "OTHER",
"label" : "其他",
"quickEdit" : {
"name" : "OTHER",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "OTHERYEAR",
"label" : "年度",
"quickEdit" : {
"name" : "OTHERYEAR",
"type" : "input-number",
"precision" : 0,
"step" : 1
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_COURSEMANAGE&businessKey=${PM_COURSEMANAGE_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_COURSEMANAGE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "UNITPROJECTID",
"label" : "单位工程ID",
"type" : "input-text",
"hidden" : true
} ],
"actions" : [ ]
}
}