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>
178 lines
4.5 KiB
JSON
178 lines
4.5 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" : "ISRULE",
|
|
"label" : "常规需盖公章文件",
|
|
"disabled" : true,
|
|
"type" : "checkbox",
|
|
"value" : "0"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "FILENAME",
|
|
"label" : "文件名称",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "FORMNO",
|
|
"label" : "表单号",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "LEDGERS",
|
|
"label" : "使用印章",
|
|
"type" : "static",
|
|
"tpl" : "${LEDGERS_DISPLAY__ ? LEDGERS_DISPLAY__ : (SEALNAME ? SEALNAME : LEDGERS)}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "SEALCOUNT",
|
|
"label" : "盖章文件份数",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "USEPEOPLE",
|
|
"label" : "使用人",
|
|
"type" : "static",
|
|
"tpl" : "${USEPEOPLE_DISPLAY__ ? USEPEOPLE_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : USEPEOPLE)}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "USEDEPART",
|
|
"label" : "用印部门",
|
|
"type" : "static",
|
|
"tpl" : "${USEDEPART_DISPLAY__ ? USEDEPART_DISPLAY__ : (NAME ? NAME : USEDEPART)}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "USEDATE",
|
|
"label" : "用印日期",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "USEREASON",
|
|
"label" : "用印事由",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTERNAME",
|
|
"label" : "登记人",
|
|
"type" : "static",
|
|
"tpl" : "${REGISTERNAME_DISPLAY__ ? REGISTERNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REGISTERNAME)}",
|
|
"value" : "${currentUser}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTERDATE",
|
|
"label" : "登记日期",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-date",
|
|
"value" : "${now}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "REMARK",
|
|
"label" : "备注",
|
|
"disabled" : true,
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "DOCUMENT",
|
|
"label" : "附件",
|
|
"disabled" : true,
|
|
"type" : "input-file",
|
|
"receiver" : "/api/file/upload?tableName=OA_SEALUSEREGISTER&businessKey=${OA_SEALUSEREGISTER_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"multiple" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "OA_SEALUSEREGISTER_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "SELECT_APPLYLIST",
|
|
"label" : "从使用申请中选择",
|
|
"type" : "static",
|
|
"tpl" : "${SELECT_APPLYLIST_DISPLAY__ ? SELECT_APPLYLIST_DISPLAY__ : (FILENAME ? FILENAME : SELECT_APPLYLIST)}",
|
|
"hidden" : true
|
|
}, {
|
|
"name" : "APPLYLIST",
|
|
"label" : "使用申请",
|
|
"hidden" : true,
|
|
"type" : "static",
|
|
"tpl" : "${APPLYLIST_DISPLAY__ ? APPLYLIST_DISPLAY__ : (FILENAME ? FILENAME : APPLYLIST)}"
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |