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>
125 lines
3.1 KiB
JSON
125 lines
3.1 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "绩效报表",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/VIEW_HR_ASSESSEMP_SEARCH?page=${page}&perPage=${perPage}",
|
|
"syncLocation" : false,
|
|
"filter" : {
|
|
"title" : "查询",
|
|
"body" : [ {
|
|
"name" : "EMPLOYEEDEPARTID",
|
|
"label" : "部门",
|
|
"type" : "tree-select",
|
|
"clearable" : true,
|
|
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
|
|
"searchable" : true,
|
|
"onlyLeaf" : true
|
|
}, {
|
|
"name" : "POSTIONNAME",
|
|
"label" : "岗位",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "EMPLOYEESERIALNO",
|
|
"label" : "员工工号",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "EMPLOYEENAME",
|
|
"label" : "员工姓名",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "ASSESSSCHEME",
|
|
"label" : "考核方案",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/9c66344f-554d-48f0-8383-709baf917b67/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
}
|
|
} ]
|
|
},
|
|
"columns" : [ {
|
|
"name" : "VIEW_HR_ASSESSEMP_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "EMPLOYEE",
|
|
"label" : "员工id",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "ASSESSSCHEME",
|
|
"label" : "考核方案id",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "EMPLOYEESERIALNO",
|
|
"label" : "员工工号",
|
|
"width" : 60,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "EMPLOYEENAME",
|
|
"label" : "员工姓名",
|
|
"width" : 80,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "SCHEMENAME",
|
|
"label" : "考核方案",
|
|
"width" : 100,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "ASSESSEVAL",
|
|
"label" : "考评人员",
|
|
"width" : 150,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "SCHEMESCORE",
|
|
"label" : "方案总分",
|
|
"width" : 50,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "EVALUSER",
|
|
"label" : "已评分人员",
|
|
"width" : 80,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "EVALCOUNT",
|
|
"label" : "考评份数",
|
|
"width" : 50,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "EVALTOTAL",
|
|
"label" : "所得总分",
|
|
"width" : 50,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "EVALAVG",
|
|
"label" : "平均分",
|
|
"width" : 50,
|
|
"className" : "text-center"
|
|
}, {
|
|
"name" : "DOSTATUS",
|
|
"label" : "执行状态",
|
|
"width" : 200,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "执行中",
|
|
"2" : "已执行",
|
|
"3" : "未执行"
|
|
},
|
|
"className" : "text-center",
|
|
"toggled" : false
|
|
} ]
|
|
}
|
|
} |