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>
673 lines
17 KiB
JSON
673 lines
17 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "个人档案",
|
|
"body" : {
|
|
"type" : "form",
|
|
"title" : "",
|
|
"mode" : "horizontal",
|
|
"horizontal" : {
|
|
"leftFixed" : 120
|
|
},
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "USERID",
|
|
"label" : "系统用户",
|
|
"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" : "ISEXTERNAL",
|
|
"label" : "是否外聘",
|
|
"type" : "checkbox",
|
|
"value" : "0"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "JOINTIME",
|
|
"label" : "任职日期",
|
|
"required" : true,
|
|
"type" : "input-date",
|
|
"value" : "${now}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "USERNAME",
|
|
"label" : "姓名",
|
|
"required" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "USERORGID",
|
|
"label" : "公司",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/SYS_ORG/list?perPage=500"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MASTERDEPART",
|
|
"label" : "部门",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/SYS_DEPART/list?perPage=500&PARENTORGID=${USERORGID}",
|
|
"initFetchOn" : "${USERORGID}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MASTERPOSITION",
|
|
"label" : "岗位",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/SYS_POSITION/list?perPage=500&PARENTDEPARTID=${MASTERDEPART}",
|
|
"initFetchOn" : "${MASTERDEPART}"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "ACCOUNT",
|
|
"label" : "账号",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"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"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "WORKINGDATE",
|
|
"label" : "参加工作日期",
|
|
"required" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"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"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "POLITY",
|
|
"label" : "政治面貌",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/POLICITAL_STATUS"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "DOMICILE",
|
|
"label" : "户籍所在地",
|
|
"required" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "ARCHIVESLOCALE",
|
|
"label" : "档案归属地",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "DEGREE",
|
|
"label" : "学历",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/EDUCATIONAL_HISTORY"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"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"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "STUDYDEGREE",
|
|
"label" : "学位",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/STUDYDEGREETYPE"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "HOMEPHONE",
|
|
"label" : "家庭电话",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PHONE_",
|
|
"label" : "手机",
|
|
"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"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PAYUNIT",
|
|
"label" : "交保单位",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/SYS_ORG/list?perPage=500"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "BASEFEEMONTH",
|
|
"label" : "月缴匪基数",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"min" : 0.0,
|
|
"max" : 9.999999999E9
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "FUNDACCOUNT",
|
|
"label" : "公积金帐号",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MONEY",
|
|
"label" : "金额(元)",
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "DOCUMENT",
|
|
"label" : "照片",
|
|
"type" : "input-file",
|
|
"receiver" : "/api/file/upload?tableName=VIEW_HR_EMPLOYEE&businessKey=${VIEW_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=VIEW_HR_EMPLOYEE&businessKey=${VIEW_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=VIEW_HR_EMPLOYEE&businessKey=${VIEW_HR_EMPLOYEE_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "EMPEDUEXPS",
|
|
"label" : "教育经历",
|
|
"type" : "input-table",
|
|
"id" : "eg-EMPEDUEXPS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ {
|
|
"name" : "STARTTIME",
|
|
"label" : "开始日期",
|
|
"quickEdit" : {
|
|
"name" : "STARTTIME",
|
|
"type" : "input-date"
|
|
}
|
|
}, {
|
|
"name" : "ENDTIME",
|
|
"label" : "结束日期",
|
|
"quickEdit" : {
|
|
"name" : "ENDTIME",
|
|
"required" : true,
|
|
"type" : "input-date"
|
|
}
|
|
}, {
|
|
"name" : "SCHOOL",
|
|
"label" : "院校",
|
|
"quickEdit" : {
|
|
"name" : "SCHOOL",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "MAJOR",
|
|
"label" : "专业",
|
|
"quickEdit" : {
|
|
"name" : "MAJOR",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "DEGREE",
|
|
"label" : "学历",
|
|
"quickEdit" : {
|
|
"name" : "DEGREE",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/EDUCATIONAL_HISTORY"
|
|
}
|
|
}, {
|
|
"name" : "PROVE",
|
|
"label" : "证明人",
|
|
"quickEdit" : {
|
|
"name" : "PROVE",
|
|
"type" : "input-text"
|
|
}
|
|
} ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "CONSTRACTS",
|
|
"label" : "劳动合同",
|
|
"type" : "input-table",
|
|
"id" : "eg-CONSTRACTS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "JZSCARDS",
|
|
"label" : "建造师证",
|
|
"type" : "input-table",
|
|
"id" : "eg-JZSCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "ZJSCARDS",
|
|
"label" : "造价师证",
|
|
"type" : "input-table",
|
|
"id" : "eg-ZJSCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "NEWABCCARDS",
|
|
"label" : "部版安管人员证",
|
|
"type" : "input-table",
|
|
"id" : "eg-NEWABCCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "NEWTZCARDS",
|
|
"label" : "部版特种作业人员证",
|
|
"type" : "input-table",
|
|
"id" : "eg-NEWTZCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "ZCCARDS",
|
|
"label" : "职称",
|
|
"type" : "input-table",
|
|
"id" : "eg-ZCCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "JSGRCARDS",
|
|
"label" : "技术工人",
|
|
"type" : "input-table",
|
|
"id" : "eg-JSGRCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "MCARDS",
|
|
"label" : "十大员",
|
|
"type" : "input-table",
|
|
"id" : "eg-MCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "OTHERCARDS",
|
|
"label" : "其他证书",
|
|
"type" : "input-table",
|
|
"id" : "eg-OTHERCARDS",
|
|
"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=VIEW_HR_EMPLOYEE&businessKey=${VIEW_HR_EMPLOYEE_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"multiple" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "VIEW_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" : "ABCCARDS",
|
|
"label" : "ABC证",
|
|
"type" : "input-table",
|
|
"id" : "eg-ABCCARDS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false,
|
|
"hidden" : true
|
|
}, {
|
|
"name" : "HR_EMPDOCUMENT_ID",
|
|
"label" : "附件ID",
|
|
"type" : "input-text",
|
|
"hidden" : true
|
|
} ],
|
|
"actions" : [ {
|
|
"type" : "button",
|
|
"label" : "保存",
|
|
"level" : "primary",
|
|
"actionType" : "ajax",
|
|
"api" : "POST:/api/flow/VIEW_HR_EMPLOYEE_UPDATEP",
|
|
"data" : {
|
|
"&" : "${&}"
|
|
}
|
|
} ]
|
|
}
|
|
} |