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>
118 lines
3.0 KiB
JSON
118 lines
3.0 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "印章刻制申请选择列表",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/OA_SEALENGRAVINGAPPLY_SEARCH_LISTINFO",
|
|
"syncLocation" : false,
|
|
"selectable" : true,
|
|
"checkOnItemClick" : true,
|
|
"filter" : {
|
|
"title" : "查询",
|
|
"body" : [ {
|
|
"name" : "SEALUSEBOUND",
|
|
"label" : "印章使用范围",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/OA_SEALTYPE_SEALUSEBOUND"
|
|
}, {
|
|
"name" : "SEALTYPEID",
|
|
"label" : "印章类型",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/56620018-dea6-4fe0-9934-f0404069a2de/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
}
|
|
}, {
|
|
"name" : "SEALNAME",
|
|
"label" : "印章名称",
|
|
"type" : "input-text"
|
|
} ]
|
|
},
|
|
"columns" : [ {
|
|
"name" : "OA_SEALENGRAVINGAPPLY_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "FORMNO",
|
|
"label" : "表单号",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "DEPART_ID_DISPLAY__",
|
|
"label" : "申请部门",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "APPLYNAME_DISPLAY__",
|
|
"label" : "申请人",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "APPLYDATE",
|
|
"label" : "申请日期",
|
|
"width" : 100,
|
|
"type" : "date",
|
|
"format" : "YYYY-MM-DD",
|
|
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
|
}, {
|
|
"name" : "SEALNAME",
|
|
"label" : "印章名称",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "SEALUSEBOUND",
|
|
"label" : "印章使用范围",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1370" : "总公司",
|
|
"1371" : "子公司类",
|
|
"1372" : "分公司类",
|
|
"1374" : "项目部"
|
|
}
|
|
}, {
|
|
"name" : "SEALTYPEID_DISPLAY__",
|
|
"label" : "印章类型",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "STATUS",
|
|
"label" : "审批状态",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "未提交",
|
|
"2" : "处理中",
|
|
"3" : "通过",
|
|
"4" : "未通过",
|
|
"5" : "重新提交",
|
|
"6" : "作废"
|
|
}
|
|
}, {
|
|
"name" : "APPLYREASON",
|
|
"label" : "申请刻制原因",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "REMARK",
|
|
"label" : "备注",
|
|
"width" : 100,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "PROJECTNAME_DISPLAY__",
|
|
"label" : "工程名称",
|
|
"width" : 100,
|
|
"toggled" : false
|
|
} ],
|
|
"headerToolbar" : [ "pagination" ],
|
|
"primaryField" : "OA_SEALENGRAVINGAPPLY_ID"
|
|
}
|
|
} |