Files
eip4-platform/转换产物-attach/schema/c4211e38-e5f7-4888-8301-0c032c5aba84.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

259 lines
6.6 KiB
JSON

{
"type" : "page",
"title" : "日常检查-审批-验证信息编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILIALE",
"label" : "(分)公司",
"type" : "static",
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ACTIVITIES",
"label" : "活动内容",
"disabled" : true,
"type" : "input-text",
"maxLength" : 1000
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISRECTIFICATION",
"label" : "是否整改",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "AUTHENTICATIONPART",
"label" : "验证部门",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_authenticationPart"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "RECTIFYREFORMDATE",
"label" : "整改期限",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTENTS",
"label" : "内容",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ANNALPERSON",
"label" : "记录人",
"type" : "static",
"tpl" : "${ANNALPERSON_DISPLAY__ ? ANNALPERSON_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : ANNALPERSON)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ANNALDATE",
"label" : "记录日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DISPOSITION",
"label" : "处理意见",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CHECKOUTPERSON",
"label" : "签发人",
"type" : "static",
"tpl" : "${CHECKOUTPERSON_DISPLAY__ ? CHECKOUTPERSON_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CHECKOUTPERSON)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CHECKOUTDATE",
"label" : "签发日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "RECTIFICATION",
"label" : "整改情况",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "RECTIFICATIONLEADER",
"label" : "整改负责人",
"type" : "static",
"tpl" : "${RECTIFICATIONLEADER_DISPLAY__ ? RECTIFICATIONLEADER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : RECTIFICATIONLEADER)}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "RECTIFICATIONDATE",
"label" : "上报日期",
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "AUTHENTICATIONRESULTS",
"label" : "验证结果",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "AUTHENTICATIONTOR",
"label" : "验证人",
"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" : 6,
"body" : [ {
"name" : "AUTHENTICATIONDATE",
"label" : "验证日期",
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PUB_CHECKDAILY&businessKey=${PM_PUB_CHECKDAILY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PUB_CHECKDAILY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}