Files
eip4-platform/转换产物-attach/schema/f28b6e1b-0290-4117-89a6-576f0e6dcf34.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

299 lines
7.1 KiB
JSON

{
"type" : "page",
"title" : "劳务人员合同登记-编辑",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "LABORTEAMID",
"label" : "劳务队组信息",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/d20bca21-31d5-421b-8676-3a7ed28d9262/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "NAME",
"label" : "姓名",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BIRTHDAY",
"label" : "出生日期",
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "GENDER",
"label" : "性别",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SEX"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "NATIVEPLACE",
"label" : "籍贯",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "IDNUMBER",
"label" : "身份证号",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CURRENTADDRESS",
"label" : "现居住地",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CONTACTNUMBER",
"label" : "联系电话",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISCITY",
"label" : "是否城市户口",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "MARRY",
"label" : "婚姻状况",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_EMPLOYEE_MARRIAGE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "TECHNICALGRADE",
"label" : "技术等级",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SIGNINTIME",
"label" : "签订日期",
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "PACTSTARTTIME",
"label" : "合同开始日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PACTENDTIME",
"label" : "合同结束日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SERVICESTARTTIME",
"label" : "服务开始日期",
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SERVICEENDTIME",
"label" : "服务结束日期",
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISSAFETY",
"label" : "是否协保",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ISKEEPSECRET",
"label" : "保密协议",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISLIMIT",
"label" : "竞业条款",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "WORKTYPE",
"label" : "是否全日制",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "OLDNO",
"label" : "养老手册号",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "RECRUITTYPE",
"label" : "录用类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/recruittype"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CONTRACTSTATUS",
"label" : "合同状态",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/contractStatus"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TYPE",
"label" : "合同类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/contractType"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_LT_MEMBER&businessKey=${PM_LT_MEMBER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_LT_MEMBER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISSIGNIN",
"label" : "是否签订合同",
"required" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "1"
} ],
"actions" : [ ]
}
}