Files
eip4-platform/转换产物-attach/schema/aae46962-bf76-455b-8d01-0fa621a6bbd1.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

430 lines
11 KiB
JSON

{
"type" : "page",
"title" : "个人档案",
"body" : {
"type" : "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" : "系统用户",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/629463ae-81e7-4c03-9c6f-943cb0b175e1/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"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_EMPLOYEE&businessKey=${HR_EMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "FRONTSIDE",
"label" : "身份证正面",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_EMPLOYEE&businessKey=${HR_EMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "BACKSIDE",
"label" : "身份证反面",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_EMPLOYEE&businessKey=${HR_EMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EMPSOCIALITYS",
"label" : "员工社会关系",
"type" : "input-table",
"id" : "eg-EMPSOCIALITYS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EMPEDUEXPS",
"label" : "员工教育经历",
"type" : "input-table",
"id" : "eg-EMPEDUEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EMPWORKEXPS",
"label" : "员工工作经历",
"type" : "input-table",
"id" : "eg-EMPWORKEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EMPTRAINEXPS",
"label" : "员工培训经历",
"type" : "input-table",
"id" : "eg-EMPTRAINEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EMPRPEXPS",
"label" : "员工奖惩经历",
"type" : "input-table",
"id" : "eg-EMPRPEXPS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "EMPDOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=HR_EMPLOYEE&businessKey=${HR_EMPLOYEE_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "POLITY",
"label" : "政治面貌",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/POLICITAL_STATUS",
"hidden" : true
}, {
"name" : "HR_EMPLOYEE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "HR_EMPIDBACKSIDE_ID",
"label" : "身份证反面ID",
"type" : "input-text",
"hidden" : true
}, {
"name" : "HR_EMPIDFRONTSIDE_ID",
"label" : "身份证正面ID",
"type" : "input-text",
"hidden" : true
}, {
"name" : "HR_EMPDOCUMENT_ID",
"label" : "附件ID",
"type" : "input-text",
"hidden" : true
} ],
"actions" : [ ]
}
}