Files
eip4-platform/转换产物-attach/schema/e643cbf5-ce3d-4c9a-8cd6-8f3c2fc52f5e.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

209 lines
5.6 KiB
JSON

{
"type" : "page",
"title" : "印章台帐查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SEALCODE",
"label" : "印章编码",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SEALNAME",
"label" : "印章名称",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SEALUSEBOUND",
"label" : "印章使用范围",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SEALTYPE_SEALUSEBOUND"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SEALTYPE_ID",
"label" : "印章类型",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/56620018-dea6-4fe0-9934-f0404069a2de/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "USESTATE",
"label" : "使用状态",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SEALLEDGER_USESTATE"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "KEEPER_USER",
"label" : "保管人",
"required" : true,
"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" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "KEEPER_DEPART",
"label" : "保管部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "REGISTER_USER",
"label" : "登记人",
"type" : "static",
"tpl" : "${REGISTER_USER_DISPLAY__ ? REGISTER_USER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REGISTER_USER)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PARENTNAME",
"label" : "补办印章",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PARENTID",
"label" : "选择补办印章",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/7c0b30a5-9798-4120-8db3-1be55d18a886/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "印章图片",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=OA_SEALLEDGER&businessKey=${OA_SEALLEDGER_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "OA_SEALLEDGER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISBRINGOUT",
"label" : "是否外带",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ],
"actions" : [ ]
}
}