Files
eip4-platform/转换产物-attach/schema/62773567-6113-42da-96c5-fbffa76751e7.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

156 lines
3.9 KiB
JSON

{
"type" : "page",
"title" : "图片资料管理--公司查看列表",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_DATUMPICTURE_SEARCH_COMPANY",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"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}"
}, {
"name" : "PICTURENAME",
"label" : "图片名称",
"type" : "input-text"
}, {
"name" : "SHOOTPART",
"label" : "拍摄部位",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SHOOTCONTENT",
"label" : "拍摄内容",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SHOOTER",
"label" : "拍摄人",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SHOOTDATE",
"label" : "拍摄日期",
"type" : "input-date-range"
}, {
"name" : "CREATETIME",
"label" : "插入时间",
"hidden" : true,
"type" : "input-date-range"
}, {
"name" : "ISIMPORT",
"label" : "图片级别",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_isImport"
} ]
},
"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" : "PROJECTID_DISPLAY__",
"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" : "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"
}
}