Files
eip4-platform/转换产物-attach/schema/68b44a6c-9d1c-4e9f-a613-a43077f5a725.json
zhengwr 8fe377b0c8 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>
2026-06-20 15:16:30 +08:00

395 lines
9.7 KiB
JSON

{
"type" : "page",
"title" : "个人档案更新编辑界面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "JOINTIME",
"label" : "任职日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ISEXTERNAL",
"label" : "是否外聘",
"type" : "checkbox",
"value" : "0"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "USERID",
"label" : "系统用户",
"type" : "static",
"tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : (NAME ? NAME : USERID)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ORGID",
"label" : "公司",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_ORG/list?perPage=500"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SERIALNO",
"label" : "员工工号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "IDCARD",
"label" : "身份证号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CARDEXPIRY",
"label" : "身份证有效期",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SEX",
"label" : "性别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SEX"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "BIRTH",
"label" : "出生日期",
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "OLDNAME",
"label" : "曾用名",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "NATIVE",
"label" : "籍贯",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/NATIVE_PLACE"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "NATION",
"label" : "民族",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/NATIONALITY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "DOMICILE",
"label" : "户籍所在地",
"required" : true,
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "DEGREE",
"label" : "学历",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/EDUCATIONAL_HISTORY"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ARCHIVESLOCALE",
"label" : "档案归属地",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "MARRIAGESTATUS",
"label" : "婚姻状况",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_EMPLOYEE_MARRIAGE"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "HEALTH",
"label" : "健康状况",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_PERSON_HEALTH"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "HOMEPHONE",
"label" : "家庭电话",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PHONE_",
"label" : "手机",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "EMERGENCYCONTACT",
"label" : "紧急联系人",
"type" : "input-text",
"maxLength" : 50
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "HOMEADDRESS",
"label" : "家庭地址",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "NOWADDRESS",
"label" : "现住址",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ZIPCODE",
"label" : "邮编",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ISSOCIA",
"label" : "是否有社保",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SOCIA",
"label" : "社保编号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "照片",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_OWEEMPLOYEE&businessKey=${HR_OWEEMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEFRONTSIDE",
"label" : "身份证正面",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_OWEEMPLOYEE&businessKey=${HR_OWEEMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEBACKSIDE",
"label" : "身份证反面",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_OWEEMPLOYEE&businessKey=${HR_OWEEMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEEMPSOCIALITYS",
"label" : "员工社会关系",
"type" : "input-table",
"id" : "eg-OWEEMPSOCIALITYS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEEMPEDUEXPS",
"label" : "员工教育经历",
"type" : "input-table",
"id" : "eg-OWEEMPEDUEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEEMPWORKEXPS",
"label" : "员工工作经历",
"type" : "input-table",
"id" : "eg-OWEEMPWORKEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEEMPTRAINEXPS",
"label" : "员工培训经历",
"type" : "input-table",
"id" : "eg-OWEEMPTRAINEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OWEEMPRPEXPS",
"label" : "员工奖惩经历",
"type" : "input-table",
"id" : "eg-OWEEMPRPEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "POLITY",
"label" : "政治面貌",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/POLICITAL_STATUS",
"hidden" : true
}, {
"name" : "HR_OWEEMPLOYEE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "HR_OWEEMPIDBACKSIDE_ID",
"label" : "身份证反面ID",
"type" : "input-text",
"hidden" : true
}, {
"name" : "HR_OWEEMPIDFRONTSIDE_ID",
"label" : "身份证正面ID",
"type" : "input-text",
"hidden" : true
} ],
"actions" : [ ]
}
}