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:
151
转换产物-attach/schema/62b265fc-7e9c-455b-a2d6-d751e650b531.json
Normal file
151
转换产物-attach/schema/62b265fc-7e9c-455b-a2d6-d751e650b531.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "档案案卷编辑界面",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "FILENO",
|
||||
"label" : "档号",
|
||||
"required" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "FILENAME",
|
||||
"label" : "案卷题名",
|
||||
"required" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "ORGID",
|
||||
"label" : "所属公司",
|
||||
"required" : true,
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "ARCHIVEROOMNO",
|
||||
"label" : "档案室号",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "MICRONO",
|
||||
"label" : "微缩号",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "LAYPLACE",
|
||||
"label" : "存放位置",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "COMPANY",
|
||||
"label" : "编制单位",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "YEARMONTH",
|
||||
"label" : "编制日期",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "SHELFLIFE",
|
||||
"label" : "保管期限",
|
||||
"required" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/DM_FILE_SHELFLIFE"
|
||||
}, {
|
||||
"name" : "SECRETLEVEL",
|
||||
"label" : "保密级别",
|
||||
"required" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/DM_FILE_SECRETLEVEL"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "PAGECOUNT",
|
||||
"label" : "页数",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
}, {
|
||||
"name" : "SHARECOUNT",
|
||||
"label" : "份数",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "PIGEONHOLEDATE",
|
||||
"label" : "归档日期",
|
||||
"type" : "input-date"
|
||||
}, {
|
||||
"name" : "USERS",
|
||||
"label" : "可借阅查询人员 ",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"multiple" : true,
|
||||
"overflowConfig" : {
|
||||
"displayPosition" : [ "select" ],
|
||||
"maxTagCount" : 1
|
||||
},
|
||||
"source" : "/api/picker/1b3bad0b-a24b-4347-9466-db78f7432756/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
},
|
||||
"placeholder" : "请点击右侧的图标"
|
||||
} ]
|
||||
}, {
|
||||
"name" : "DM_FILE_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "SUBJECTID",
|
||||
"label" : "所属类目",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user