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>
348 lines
8.4 KiB
JSON
348 lines
8.4 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" : "ISEXTERNAL",
|
|
"label" : "是否外聘",
|
|
"type" : "checkbox",
|
|
"value" : "0"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "NAME",
|
|
"label" : "姓名",
|
|
"required" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "ORGID",
|
|
"label" : "(分)公司",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/SYS_ORG/list?perPage=500"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "IDCARD",
|
|
"label" : "身份证号",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "SEX",
|
|
"label" : "性别",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/SEX"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "BIRTH",
|
|
"label" : "出生日期",
|
|
"required" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "DEGREE",
|
|
"label" : "学历",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/EDUCATIONAL_HISTORY"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "NATION",
|
|
"label" : "民族",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/NATIONALITY"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "NATIVE",
|
|
"label" : "籍贯",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/NATIVE_PLACE"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "DOMICILE",
|
|
"label" : "户籍地址",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "EMERGENCYCONTACT",
|
|
"label" : "紧急联系人和电话",
|
|
"required" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PHONE",
|
|
"label" : "手机",
|
|
"required" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 11,
|
|
"minLength" : 11
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MARRIAGESTATUS",
|
|
"label" : "婚姻状况",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/HR_EMPLOYEE_MARRIAGE"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "POLITY",
|
|
"label" : "政治面貌",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/POLICITAL_STATUS"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "ADDRESS",
|
|
"label" : "家庭地址",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "FIRSTEMPLOYMENTTIME",
|
|
"label" : "首次就业时间",
|
|
"required" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "RETIREMENTMONEYNO",
|
|
"label" : "养老金编号",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PUBLICFUNDACCOUNT",
|
|
"label" : "公积金个人账号",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "POSITIONID",
|
|
"label" : "岗位",
|
|
"type" : "tree-select",
|
|
"clearable" : true,
|
|
"source" : "/api/template/feeee51d-d41b-410b-b7a4-67d61ec8c4df/tree",
|
|
"searchable" : true,
|
|
"onlyLeaf" : true
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PACTSTARTTIME",
|
|
"label" : "合同开始日期",
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PACTENDTIME",
|
|
"label" : "合同结束日期",
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "SALARY",
|
|
"label" : "岗位工资",
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "TRYSTARTTIME",
|
|
"label" : "试用开始日期",
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "TRYENDTIME",
|
|
"label" : "试用结束日期",
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "JOINTIME",
|
|
"label" : "任职日期",
|
|
"required" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "REASON",
|
|
"label" : "招聘原因",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "EMPLOYEEEDUEXP",
|
|
"label" : "员工教育经历",
|
|
"type" : "input-table",
|
|
"id" : "eg-EMPLOYEEEDUEXP",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "EMPLOYEEWORKEXPS",
|
|
"label" : "员工工作经历",
|
|
"type" : "input-table",
|
|
"id" : "eg-EMPLOYEEWORKEXPS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "DOCUMENT",
|
|
"label" : "附件",
|
|
"required" : true,
|
|
"type" : "input-file",
|
|
"receiver" : "/api/file/upload?tableName=HR_EMPLOYEEENTRYAPPLY&businessKey=${HR_EMPLOYEEENTRYAPPLY_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"multiple" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "HR_EMPLOYEEENTRYAPPLY_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "SERIALNO",
|
|
"label" : "员工工号",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"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" ]
|
|
},
|
|
"hidden" : true
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |