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>
This commit is contained in:
136
转换产物-attach/schema/bddc9db7-f058-4bbc-a3bc-4c59488a0e1b.json
Normal file
136
转换产物-attach/schema/bddc9db7-f058-4bbc-a3bc-4c59488a0e1b.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "面试结果",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/HR_RECRUITPLAN_SEARCH_WFOVER",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "NAME",
|
||||
"label" : "计划名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "CREATETIME",
|
||||
"label" : "制定日期",
|
||||
"type" : "input-date-range"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "HR_RECRUITPLAN_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "SERIALNO",
|
||||
"label" : "计划编号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "NAME",
|
||||
"label" : "计划名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PRINCIPAL_DISPLAY__",
|
||||
"label" : "负责人",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "STARTTIME",
|
||||
"label" : "开始日期",
|
||||
"width" : 200,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "ENDTIME",
|
||||
"label" : "结束日期",
|
||||
"width" : 200,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "BUDGETFARE",
|
||||
"label" : "预算费用(元)",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PLANCOUNT",
|
||||
"label" : "拟招人数",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "CREATEBY_DISPLAY__",
|
||||
"label" : "制定人",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "CREATETIME",
|
||||
"label" : "制定日期",
|
||||
"width" : 200,
|
||||
"type" : "datetime",
|
||||
"format" : "YYYY-MM-DD HH:mm",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "DOSTATUS",
|
||||
"label" : "执行状态",
|
||||
"width" : 200,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "执行中",
|
||||
"2" : "已执行",
|
||||
"3" : "未执行"
|
||||
}
|
||||
}, {
|
||||
"name" : "DEPART_DISPLAY__",
|
||||
"label" : "制定部门",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
} ],
|
||||
"headerToolbar" : [ {
|
||||
"type" : "button",
|
||||
"id" : "面试人员",
|
||||
"label" : "面试人员",
|
||||
"actionType" : "dialog",
|
||||
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
|
||||
"dialog" : {
|
||||
"type" : "dialog",
|
||||
"title" : "面试人员",
|
||||
"size" : "lg",
|
||||
"data" : {
|
||||
"HR_RECRUITPLAN_ID" : "${selectedItems[0].HR_RECRUITPLAN_ID}"
|
||||
},
|
||||
"body" : {
|
||||
"type" : "service",
|
||||
"schemaApi" : "get:/api/page/schema/e06e1074-da63-4141-b93c-285516ed16fc?format=amis"
|
||||
},
|
||||
"actions" : [ {
|
||||
"type" : "button",
|
||||
"label" : "关闭",
|
||||
"actionType" : "close"
|
||||
} ]
|
||||
}
|
||||
}, "pagination" ],
|
||||
"primaryField" : "HR_RECRUITPLAN_ID",
|
||||
"onEvent" : {
|
||||
"inited" : {
|
||||
"actions" : [ {
|
||||
"actionType" : "ajax",
|
||||
"api" : {
|
||||
"method" : "post",
|
||||
"url" : "/api/script/execute-template",
|
||||
"data" : {
|
||||
"seq" : 1,
|
||||
"item" : "${&}",
|
||||
"templateId" : "bddc9db7-f058-4bbc-a3bc-4c59488a0e1b"
|
||||
}
|
||||
},
|
||||
"outputVar" : "scriptResult1"
|
||||
}, {
|
||||
"actionType" : "replayScriptCommands",
|
||||
"args" : {
|
||||
"commands" : "${event.data.scriptResult1.commands}"
|
||||
}
|
||||
} ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user