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:
162
转换产物-attach/schema/af048996-d3d1-4dd8-8c88-54fe6ee1fafc.json
Normal file
162
转换产物-attach/schema/af048996-d3d1-4dd8-8c88-54fe6ee1fafc.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "图片管理-任务",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/PM_DATUMPICTURE_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "PROJECTID",
|
||||
"label" : "工程名称",
|
||||
"hidden" : 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}"
|
||||
}, {
|
||||
"name" : "PICTURENAME",
|
||||
"label" : "图片名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "SHOOTPART",
|
||||
"label" : "拍摄部位",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "SHOOTCONTENT",
|
||||
"label" : "拍摄内容",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "SHOOTER",
|
||||
"label" : "拍摄人",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "SHOOTDATE",
|
||||
"label" : "拍摄日期",
|
||||
"type" : "input-date-range"
|
||||
}, {
|
||||
"name" : "CREATETIME",
|
||||
"label" : "插入时间",
|
||||
"type" : "input-date-range"
|
||||
}, {
|
||||
"name" : "ISIMPORT",
|
||||
"label" : "图片级别",
|
||||
"hidden" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_isImport"
|
||||
}, {
|
||||
"name" : "PROJECTTASKID",
|
||||
"label" : "关联任务",
|
||||
"hidden" : true,
|
||||
"type" : "tree-select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/template/43d2e233-08cf-4019-850e-5c2c073d1f76/tree",
|
||||
"searchable" : true,
|
||||
"onlyLeaf" : true
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "PM_DATUMPICTURE_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "LOOKLINK",
|
||||
"label" : "查看",
|
||||
"width" : 40
|
||||
}, {
|
||||
"name" : "ISIMPORT",
|
||||
"label" : "图片级别",
|
||||
"width" : 100,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "上传",
|
||||
"0" : "不上传"
|
||||
},
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PICTURENAME",
|
||||
"label" : "图片名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "SHOOTPART",
|
||||
"label" : "拍摄部位",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "SHOOTCONTENT",
|
||||
"label" : "拍摄内容",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "SHOOTER",
|
||||
"label" : "拍摄人",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "SHOOTDATE",
|
||||
"label" : "拍摄日期",
|
||||
"width" : 100,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "CREATETIME",
|
||||
"label" : "插入时间",
|
||||
"width" : 60,
|
||||
"type" : "datetime",
|
||||
"format" : "YYYY-MM-DD HH:mm",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "PICTUREPOSTFIX",
|
||||
"label" : "图片类型",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PICTUREPATH",
|
||||
"label" : "图片地址",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PICTURETHUMBNAILPATH",
|
||||
"label" : "图片缩略图地址",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PROJECTID_DISPLAY__",
|
||||
"label" : "工程名称",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "FOLDERID_DISPLAY__",
|
||||
"label" : "所属目录",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PICTUREID",
|
||||
"label" : "序号",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PROJECTTASKID_DISPLAY__",
|
||||
"label" : "关联任务",
|
||||
"width" : 100
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "PM_DATUMPICTURE_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user