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:
116
转换产物-attach/schema/74bbfa31-be33-4a4a-b541-32f03fa8cdde.json
Normal file
116
转换产物-attach/schema/74bbfa31-be33-4a4a-b541-32f03fa8cdde.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "未采集人脸、未实名认证人数统计表",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/GB_ATTENDANCEINFO_SEARCH?page=${page}&perPage=${perPage}",
|
||||
"syncLocation" : false,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "PRJNUMBER",
|
||||
"label" : "合同备案编号",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "PROJECTID",
|
||||
"label" : "实名制项目",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/0d674631-7a53-44b0-bb41-6aa201ede8ec/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "ISNOPIC",
|
||||
"label" : "是否未采集人脸",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
}, {
|
||||
"name" : "ISNOAUTH",
|
||||
"label" : "是否未实名认证",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
}, {
|
||||
"name" : "ISEXKQ",
|
||||
"label" : "当天是否考勤",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
}, {
|
||||
"name" : "ISEXUP",
|
||||
"label" : "当天考勤是否上传",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO"
|
||||
}, {
|
||||
"name" : "UNDAYS",
|
||||
"label" : "未上传考勤记录天数(>=)",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
}, {
|
||||
"name" : "BEGINTIME",
|
||||
"label" : "创建日期 从",
|
||||
"type" : "input-date"
|
||||
}, {
|
||||
"name" : "ENDTIME",
|
||||
"label" : "至",
|
||||
"type" : "input-date"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "GB_ATTENDANCEINFO_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "WORKERNAME",
|
||||
"label" : "人员姓名",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "ZJHM",
|
||||
"label" : "证件号码",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "WORKERTYPE",
|
||||
"label" : "人员类型",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "TPCODENAME",
|
||||
"label" : "工种名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PRJNUMBER",
|
||||
"label" : "合同备案编号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "KQDATE",
|
||||
"label" : "日期",
|
||||
"width" : 200,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "TIMES",
|
||||
"label" : "进出次数",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "TIME",
|
||||
"label" : "进出时间",
|
||||
"width" : 200
|
||||
} ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user