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:
129
转换产物-attach/schema/fd19c6f4-6ceb-401b-8b95-aa3de051d897.json
Normal file
129
转换产物-attach/schema/fd19c6f4-6ceb-401b-8b95-aa3de051d897.json
Normal file
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "实名制考勤结果",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "PRJNUMBER",
|
||||
"label" : "合同备案编号",
|
||||
"required" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "ZJHM",
|
||||
"label" : "证件号码",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "KQSJ",
|
||||
"label" : "考勤时间",
|
||||
"type" : "input-datetime"
|
||||
}, {
|
||||
"name" : "KQFLAG",
|
||||
"label" : "进出标识",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/KQ_GB_CLOCK_INOUT"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "ISUPLOAD",
|
||||
"label" : "是否上传",
|
||||
"type" : "checkbox"
|
||||
}, {
|
||||
"name" : "GB_DEVICEID",
|
||||
"label" : "考勤机",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/a90a5eb4-4d25-4898-822d-9ed157bce4de/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
}
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "WORKERNAME",
|
||||
"label" : "人员姓名",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "WORKERTYPE",
|
||||
"label" : "人员类型",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "TPCODENAME",
|
||||
"label" : "工种名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "TEMPERATURE",
|
||||
"label" : "体温",
|
||||
"type" : "input-number",
|
||||
"precision" : 1
|
||||
} ]
|
||||
}, {
|
||||
"name" : "IMAGE",
|
||||
"label" : "打卡照片",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "CLOCKTYPE",
|
||||
"label" : "考勤方式",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/GB_CLOCKING_CLOCKTYPE"
|
||||
}, {
|
||||
"name" : "ISUPLOADIMAGE",
|
||||
"label" : "是否上传打卡照片",
|
||||
"type" : "checkbox"
|
||||
} ]
|
||||
}, {
|
||||
"type" : "group",
|
||||
"body" : [ {
|
||||
"name" : "TRYTIMES",
|
||||
"label" : "尝试上传次数",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "DATASTATE",
|
||||
"label" : "数据有效性",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/GB_CLOCKINGIN_DATASTATE"
|
||||
} ]
|
||||
}, {
|
||||
"name" : "REMARK",
|
||||
"label" : "有效性结果",
|
||||
"type" : "textarea"
|
||||
}, {
|
||||
"name" : "GB_CLOCKINGIN_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user