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>
103 lines
2.8 KiB
JSON
103 lines
2.8 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" : "group",
|
|
"body" : [ {
|
|
"name" : "CONFIGITEM",
|
|
"label" : "配置项",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/Pm_Specialty_Basiconfig_item",
|
|
"value" : "1"
|
|
}, {
|
|
"name" : "RESEARCHAPPRAISALITEM",
|
|
"label" : "指标项",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"type" : "group",
|
|
"body" : [ {
|
|
"name" : "OPTIONS",
|
|
"label" : "操作选项",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/Pm_Specialty_Basiconfig__options",
|
|
"value" : "1"
|
|
}, {
|
|
"name" : "SORTID",
|
|
"label" : "排序号",
|
|
"required" : true,
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
}, {
|
|
"name" : "DESCRIPTION",
|
|
"label" : "描述",
|
|
"type" : "textarea"
|
|
} ]
|
|
}, {
|
|
"title" : "调查/评价结果",
|
|
"body" : [ {
|
|
"name" : "RESEARCHAPPRAISALRESULTS",
|
|
"label" : "调查/评价结果",
|
|
"required" : true,
|
|
"type" : "input-table",
|
|
"id" : "eg-RESEARCHAPPRAISALRESULTS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ {
|
|
"name" : "SORTID",
|
|
"label" : "排序号",
|
|
"quickEdit" : {
|
|
"name" : "SORTID",
|
|
"required" : true,
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}
|
|
}, {
|
|
"name" : "RESEARCHAPPRAISALRESULT",
|
|
"label" : "调查/评价结果",
|
|
"quickEdit" : {
|
|
"name" : "RESEARCHAPPRAISALRESULT",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "DESCRIPTION",
|
|
"label" : "描述",
|
|
"quickEdit" : {
|
|
"name" : "DESCRIPTION",
|
|
"type" : "input-text"
|
|
}
|
|
} ],
|
|
"needConfirm" : false
|
|
}, {
|
|
"name" : "PM_SPECIALTY_BASICCONFIG_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |