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>
122 lines
3.1 KiB
JSON
122 lines
3.1 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "绩效管理-待考核人员",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/VIEW_HR_ASSESSEMP_SEARCH",
|
|
"syncLocation" : false,
|
|
"selectable" : true,
|
|
"checkOnItemClick" : true,
|
|
"columns" : [ {
|
|
"name" : "VIEW_HR_ASSESSEMP_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "EMPLOYEESERIALNO",
|
|
"label" : "员工工号",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "EMPLOYEENAME",
|
|
"label" : "员工姓名",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "EVALTOTAL",
|
|
"label" : "得分",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "EMPLOYEE",
|
|
"label" : "员工id",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "ASSESSSCHEME",
|
|
"label" : "考核方案id",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "SCHEMENAME",
|
|
"label" : "考核方案",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "ASSESSEVAL",
|
|
"label" : "考评人员",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "SCHEMESCORE",
|
|
"label" : "方案总分",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "EVALUSER",
|
|
"label" : "已评分人员",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "EVALCOUNT",
|
|
"label" : "考评份数",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "EVALAVG",
|
|
"label" : "平均分",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "DOSTATUS",
|
|
"label" : "执行状态",
|
|
"width" : 200,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "执行中",
|
|
"2" : "已执行",
|
|
"3" : "未执行"
|
|
},
|
|
"toggled" : false
|
|
} ],
|
|
"headerToolbar" : [ {
|
|
"type" : "button",
|
|
"id" : "进行评分",
|
|
"label" : "进行评分",
|
|
"actionType" : "dialog",
|
|
"disabledOn" : "${!selectedItems || selectedItems.length === 0}",
|
|
"dialog" : {
|
|
"type" : "dialog",
|
|
"title" : "进行评分",
|
|
"size" : "lg",
|
|
"data" : {
|
|
"&" : "${selectedItems[0]}"
|
|
},
|
|
"body" : {
|
|
"type" : "service",
|
|
"schemaApi" : "get:/api/page/schema/007d78c4-0155-4366-b02e-92e3f70554cc?format=amis",
|
|
"api" : {
|
|
"method" : "post",
|
|
"url" : "/api/flow/HR_ASSESS_LOADRECORD?__egtpl=007d78c4-0155-4366-b02e-92e3f70554cc",
|
|
"data" : {
|
|
"VIEW_HR_ASSESSEMP_ID" : "${VIEW_HR_ASSESSEMP_ID}"
|
|
},
|
|
"responseData" : {
|
|
"&" : "${result}"
|
|
}
|
|
}
|
|
},
|
|
"actions" : [ {
|
|
"type" : "button",
|
|
"label" : "保存",
|
|
"level" : "primary",
|
|
"actionType" : "submit",
|
|
"api" : "POST:/api/flow/HR_ASSESS_ADD?__egtpl=007d78c4-0155-4366-b02e-92e3f70554cc",
|
|
"close" : true
|
|
}, {
|
|
"type" : "button",
|
|
"label" : "取消",
|
|
"actionType" : "close"
|
|
} ]
|
|
}
|
|
}, "pagination" ],
|
|
"primaryField" : "VIEW_HR_ASSESSEMP_ID"
|
|
}
|
|
} |