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>
456 lines
12 KiB
JSON
456 lines
12 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" : "PROJECTQUALITY",
|
|
"label" : "工程质量",
|
|
"required" : true,
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "PROJECTQUALIFIED",
|
|
"label" : "1、工程分部、分项质量一次验收合格率",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "PROJECTUQUALIFIED",
|
|
"label" : "2、不合格品整改率",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PROJECTMATERIAL",
|
|
"label" : "3、工程资料",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PROJECTOTHERS",
|
|
"label" : "4、其他",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PROJECTMEASURES",
|
|
"label" : "方案措施",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROJECTRESPONSIBLE",
|
|
"label" : "责任人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROJECTSUPERVISOR",
|
|
"label" : "监督人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PROJECTENDTIME",
|
|
"label" : "完成日期",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MANKMAN",
|
|
"label" : "编制人",
|
|
"type" : "static",
|
|
"tpl" : "${MANKMAN_DISPLAY__ ? MANKMAN_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : MANKMAN)}",
|
|
"value" : "${currentUser}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MANKTIME",
|
|
"label" : "编制日期",
|
|
"disabled" : true,
|
|
"type" : "input-date",
|
|
"value" : "${now}"
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"title" : "产品、服务",
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSSERVICE",
|
|
"label" : "产品、服务",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSSOLUTION",
|
|
"label" : "1、施工过程中发现的质量解决率达",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSREQUEST",
|
|
"label" : "2、对于工程变更的要求",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSPERFORM",
|
|
"label" : "3、合同履约率达",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSTXTCOMPLAINTS",
|
|
"label" : "4、顾客投诉解决率全年达",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSOTHERS",
|
|
"label" : "5、其他",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSMEASURES",
|
|
"label" : "方案措施",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSRESPONSIBLE",
|
|
"label" : "责任人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSSUPERVISOR",
|
|
"label" : "监督人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PRODUCTSENDTIME",
|
|
"label" : "完成日期",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"title" : "创优",
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "EXCELLENCEINTRODUCTION",
|
|
"label" : "创优",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "EXCELLENCEPROJECTDETAILS",
|
|
"label" : "创优项目",
|
|
"type" : "input-table",
|
|
"id" : "eg-EXCELLENCEPROJECTDETAILS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "EXCELLENCEMEASURES",
|
|
"label" : "方案措施",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "EXCELLENCERESPONSIBLE",
|
|
"label" : "责任人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "EXCELLENCESUPERVISOR",
|
|
"label" : "监督人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 10,
|
|
"body" : [ {
|
|
"name" : "EXCELLENCEENDTIME",
|
|
"label" : "完成日期",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "DOCUMENT",
|
|
"label" : "创优措施",
|
|
"type" : "input-file",
|
|
"receiver" : "/api/file/upload?tableName=PM_PROJECTDEPARTMENTQUALITYTARGET&businessKey=${PM_PROJECTDEPARTMENTQUALITYTARGET_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"multiple" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"title" : "施工技术管理和新技术应用",
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTTECHNOLOGY",
|
|
"label" : "施工技术管理和新技术应用",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTAUDIT",
|
|
"label" : "1、施工组织设计审核率",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTAPPROVAL",
|
|
"label" : "2、施工方案审批率",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 3,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTSUITABILITY",
|
|
"label" : "3、监视测量装置巡检率",
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTOTHER",
|
|
"label" : "4、其他",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTMEASURES",
|
|
"label" : "方案措施",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTRESPONSIBLE",
|
|
"label" : "责任人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTSUPERVISOR",
|
|
"label" : "监督人",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTENDTIME",
|
|
"label" : "完成日期",
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "PM_PROJECTDEPARTMENTQUALITYTARGET_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "PROJECTID",
|
|
"label" : "工程名称",
|
|
"required" : true,
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
},
|
|
"value" : "${currentProject}",
|
|
"hidden" : true
|
|
} ]
|
|
} ]
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |