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>
155 lines
4.1 KiB
JSON
155 lines
4.1 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "选择员工缴费基数信息",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/VIEW_HR_WELFAREARCHIVES_PAYBASERECORD_SEARCH",
|
|
"syncLocation" : false,
|
|
"selectable" : true,
|
|
"checkOnItemClick" : true,
|
|
"filter" : {
|
|
"title" : "查询",
|
|
"body" : [ {
|
|
"name" : "WELFARECATEGORYID",
|
|
"label" : "福利保险类别",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/758dd939-fb17-4cca-8a71-3044feb4934f/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
}
|
|
}, {
|
|
"name" : "STARTYEAR",
|
|
"label" : "开始年",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}, {
|
|
"name" : "STARTMONTH",
|
|
"label" : "开始月",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}, {
|
|
"name" : "ENDYEAR",
|
|
"label" : "结束年",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}, {
|
|
"name" : "ENDMONTH",
|
|
"label" : "结束月",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}, {
|
|
"name" : "USERID",
|
|
"label" : "员工",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
},
|
|
"placeholder" : "请点击右侧的图标"
|
|
}, {
|
|
"name" : "MASTERDEPART",
|
|
"label" : "部门",
|
|
"hidden" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"searchable" : true,
|
|
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
|
|
}, {
|
|
"name" : "MASTERPOSITION",
|
|
"label" : "岗位",
|
|
"type" : "tree-select",
|
|
"clearable" : true,
|
|
"source" : "/api/template/feeee51d-d41b-410b-b7a4-67d61ec8c4df/tree",
|
|
"searchable" : true,
|
|
"onlyLeaf" : true
|
|
} ]
|
|
},
|
|
"columns" : [ {
|
|
"name" : "VIEW_HR_WELFAREARCHIVES_PAYBASERECORD_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "WELFARECATEGORYID_DISPLAY__",
|
|
"label" : "福利保险类别",
|
|
"width" : 120
|
|
}, {
|
|
"name" : "USERID_DISPLAY__",
|
|
"label" : "员工",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "STARTYEAR",
|
|
"label" : "开始年",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "STARTMONTH",
|
|
"label" : "开始月",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "ENDYEAR",
|
|
"label" : "结束年",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "ENDMONTH",
|
|
"label" : "结束月",
|
|
"width" : 80
|
|
}, {
|
|
"name" : "MASTERDEPART_DISPLAY__",
|
|
"label" : "部门",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "MASTERPOSITION_DISPLAY__",
|
|
"label" : "岗位",
|
|
"width" : 240
|
|
}, {
|
|
"name" : "PAYBASEMONEY",
|
|
"label" : "缴费基数(元)",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "UNITPAYPROPORTION",
|
|
"label" : "单位缴费比例(%)",
|
|
"width" : 130
|
|
}, {
|
|
"name" : "PERSONALPAYPROPORTION",
|
|
"label" : "个人缴费比例(%)",
|
|
"width" : 130
|
|
}, {
|
|
"name" : "UNITPAYMONEY",
|
|
"label" : "单位缴费(元)",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "PERSONALPAYMONEY",
|
|
"label" : "个人缴费(元)",
|
|
"width" : 100
|
|
} ],
|
|
"headerToolbar" : [ "pagination" ],
|
|
"primaryField" : "VIEW_HR_WELFAREARCHIVES_PAYBASERECORD_ID"
|
|
}
|
|
} |