Files
eip4-platform/转换产物-attach/schema/fe83586f-9741-4f85-88d0-a890ac311dd2.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

574 lines
16 KiB
JSON

{
"type" : "page",
"title" : "(分)公司质量指标编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "tabs",
"tabs" : [ {
"title" : "工程质量",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROQUACONTENT",
"label" : "工程质量",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROQUACHECKELIGIBLERATE",
"label" : "1、工程质量一次验收合格率",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROQUAUNELIGIBLERECTIFYRATE",
"label" : "2、不合格品整改率",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROQUAMATERIAL",
"label" : "3、工程资料",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROQUAOTHER",
"label" : "4、其他",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROQUASCHEME",
"label" : "方案措施",
"required" : true,
"validationErrors" : {
"required" : "工程质量的方案措施为必填项!"
},
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROQUARESPONSIBILITY",
"label" : "责任部门",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PROQUAMONITOR",
"label" : "监督部门",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROQUAACHIEVEDATE",
"label" : "完成时间",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CREATEUSER",
"label" : "编制人",
"type" : "static",
"tpl" : "${CREATEUSER_DISPLAY__ ? CREATEUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEUSER)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CREATEDATE",
"label" : "编制日期",
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
} ]
}, {
"title" : "产品、服务",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PRODUCTSERVER",
"label" : "产品、服务",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROSERRECALLCOVERRATE",
"label" : "1、质量回访覆盖率达",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROSERISSUERECTIFYRATE",
"label" : "2、回访质量问题(施工原因造成)整改率达",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROSERISSUESOLVERATE",
"label" : "3、施工过程中发现的质量解决率达",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROSERPROCHANGEREQUEST",
"label" : "4、对于工程变更的要求",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROSERELIGIBLEFULFILRATE",
"label" : "合同履约率达",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PROSERCOMPLAINSOLVERATE",
"label" : "顾客投诉解决率全年达",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROSEROTHER",
"label" : "5、其他",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROSERSCHEME",
"label" : "方案措施",
"required" : true,
"validationErrors" : {
"required" : "产品、服务的方案措施为必填项!"
},
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROSERRESPONSIBILITY",
"label" : "责任部门",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PROSERMONITOR",
"label" : "监督部门",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PROSERACHIEVEDATE",
"label" : "完成时间",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
} ]
}, {
"title" : "创优",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CREATEXCELLENCE",
"label" : "创优",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "CREEXCCITYEXCELLENCE",
"label" : "市优",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CREEXCPROVINCEEXCELLENCE",
"label" : "省优",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "CREEXCCOUNTRYEXCELLENCE",
"label" : "国优",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CREEXCNEWTECHMODELPROJECT",
"label" : "新技术应用示范项目",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "CREEXCGREENCONSTRUCT",
"label" : "绿色建筑",
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CREEXCOTHER",
"label" : "其他",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CREEXCSCHEME",
"label" : "方案措施",
"required" : true,
"validationErrors" : {
"required" : "创优的方案措施为必填项!"
},
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CREEXCRESPONSIBILITY",
"label" : "责任部门",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CREEXCMONITOR",
"label" : "监督部门",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CREEXCACHIEVEDATE",
"label" : "完成时间",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "创优措施",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_BRANCHCOMPANYQUALITYTARGET&businessKey=${PM_BRANCHCOMPANYQUALITYTARGET_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
} ]
}, {
"title" : "施工技术管理和新技术应用",
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TECHNIQUECONTENT",
"label" : "施工技术管理和新技术应用",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "TECHSPECIALSCHEMEREVIEWRATE",
"label" : "1、施工组织设计审核率",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "TECHNORMALSCHEMEREVIEWRATE",
"label" : "2、施工方案审批率",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "TECHDEVICEVISITATIONRATE",
"label" : "3、监视测量装置巡检率",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "TECHSPEDISREEXAMINERATE",
"label" : "4、监视测量装置周检率",
"type" : "input-number",
"precision" : 2,
"min" : 0,
"max" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TECHNORDISCHECKRATE",
"label" : "5、其他",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TECHSCHEME",
"label" : "方案措施",
"required" : true,
"validationErrors" : {
"required" : "施工技术管理和新技术应用的方案措施为必填项!"
},
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TECHRESPONSIBILITY",
"label" : "责任部门",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TECHMONITOR",
"label" : "监督部门",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TECHACHIEVEDATE",
"label" : "完成时间",
"type" : "input-text",
"maxLength" : 100
} ]
} ]
}, {
"name" : "PM_BRANCHCOMPANYQUALITYTARGET_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "BRANCHCOMPANYID",
"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}",
"hidden" : true
}, {
"name" : "STARTYEAR",
"label" : "年度",
"required" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"hidden" : true
} ]
} ]
} ],
"actions" : [ ]
}
}