Files
eip4-platform/转换产物-attach/schema/eefa73a7-a301-4653-8ce3-b47b1f443fa7.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

208 lines
5.5 KiB
JSON

{
"type" : "page",
"title" : "印章台账选择框(使用申请)",
"body" : {
"type" : "crud",
"api" : "/api/flow/VIEW_OA_SEALLEDGER_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "SEALUSEBOUND",
"label" : "印章使用范围",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SEALTYPE_SEALUSEBOUND"
}, {
"name" : "SEALTYPE_ID",
"label" : "印章类型",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/63742c31-47cc-4bf7-ad90-2c0ebbf4a9f0/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"name" : "SEALNAME",
"label" : "印章名称",
"type" : "input-text"
}, {
"name" : "USESTATE",
"label" : "使用状态",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SEALLEDGER_USESTATE"
}, {
"name" : "ISBRINGOUT",
"label" : "是否外带",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
}, {
"name" : "KEEPER_DEPART",
"label" : "保管部门",
"hidden" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
}, {
"name" : "SEALCODE",
"label" : "印章编码",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "KEEPER_USER",
"label" : "保管人",
"hidden" : 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" : "请点击右侧的图标"
}, {
"name" : "REGISTER_USER",
"label" : "登记人",
"hidden" : 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" : "请点击右侧的图标"
}, {
"name" : "REGISTERDATE",
"label" : "登记日期",
"hidden" : true,
"type" : "input-date"
}, {
"name" : "REMARK",
"label" : "备注",
"hidden" : true,
"type" : "input-text"
} ]
},
"columns" : [ {
"name" : "VIEW_OA_SEALLEDGER_ID",
"label" : "主键",
"width" : 100,
"toggled" : false
}, {
"name" : "SEALCODE",
"label" : "印章编码",
"width" : 80
}, {
"name" : "SEALNAME",
"label" : "印章名称",
"width" : 150
}, {
"name" : "SEALUSEBOUND",
"label" : "印章使用范围",
"width" : 100,
"type" : "mapping",
"map" : {
"1370" : "总公司",
"1371" : "子公司类",
"1372" : "分公司类",
"1374" : "项目部"
}
}, {
"name" : "SEALTYPE_ID_DISPLAY__",
"label" : "印章类型",
"width" : 100
}, {
"name" : "KEEPER_USER_DISPLAY__",
"label" : "保管人",
"width" : 70
}, {
"name" : "KEEPER_DEPART_DISPLAY__",
"label" : "保管部门",
"width" : 100
}, {
"name" : "REGISTER_USER_DISPLAY__",
"label" : "登记人",
"width" : 100,
"toggled" : false
}, {
"name" : "REGISTERDATE",
"label" : "登记日期",
"width" : 100,
"type" : "date",
"format" : "YYYY-MM-DD",
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ",
"toggled" : false
}, {
"name" : "USESTATE",
"label" : "使用状态",
"width" : 50,
"type" : "mapping",
"map" : {
"1" : "启用",
"2" : "封存",
"3" : "遗失",
"4" : "废止",
"5" : "销毁",
"6" : "已回收"
}
}, {
"name" : "ISBRINGOUT",
"label" : "外带",
"width" : 100,
"type" : "mapping",
"map" : {
"0" : "否",
"1" : "是"
}
}, {
"name" : "PARENTID",
"label" : "父记录",
"width" : 100,
"toggled" : false
}, {
"name" : "REMARK",
"label" : "备注",
"width" : 100,
"toggled" : false
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "VIEW_OA_SEALLEDGER_ID"
}
}