Files
eip4-platform/转换产物-attach/schema/e937ea7d-6254-43d3-892f-c7a94637262d.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

236 lines
5.8 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" : "PRJNAME",
"label" : "工程名称",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PRJNUMBER",
"label" : "合同备案编号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "DATANUMBER",
"label" : "数据指纹",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "APITYPE",
"label" : "接口类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/GB_PROJECT_APITYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SITEID",
"label" : "联通项目ID",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SECRET",
"label" : "联通项目密钥",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "GBWEBSERVICE",
"label" : "群耀接口service",
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "GBNAMESPACE",
"label" : "群耀接口service空间名",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "BSGSBH",
"label" : "群耀供应商ID",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "DEVICETYPE",
"label" : "考勤设备型号",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/GB_PROJECTCREATE_DEVICETYPE",
"value" : "1"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ISREALTIME",
"label" : "是否实时上传",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "1"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISNEEDIMAGE",
"label" : "是否上传现场图片",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ISONLYFACE",
"label" : "是否只允许人脸",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CUSTOMAPIS",
"label" : "定制接口",
"type" : "input-table",
"id" : "eg-CUSTOMAPIS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "APITYPE",
"label" : "接口类型",
"quickEdit" : {
"name" : "APITYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/GB_CUSTOM_API_TYPE"
}
}, {
"name" : "PARAM1",
"label" : "参数1",
"quickEdit" : {
"name" : "PARAM1",
"type" : "input-text"
}
}, {
"name" : "PARAM2",
"label" : "参数2",
"quickEdit" : {
"name" : "PARAM2",
"type" : "input-text"
}
}, {
"name" : "PARAM3",
"label" : "参数3",
"quickEdit" : {
"name" : "PARAM3",
"type" : "input-text"
}
}, {
"name" : "PARAM4",
"label" : "参数4",
"quickEdit" : {
"name" : "PARAM4",
"type" : "input-text"
}
}, {
"name" : "PARAM5",
"label" : "参数5",
"quickEdit" : {
"name" : "PARAM5",
"type" : "input-text"
}
}, {
"name" : "ISACTIVE",
"label" : "启用",
"quickEdit" : {
"name" : "ISACTIVE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "true"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "GB_PROJECTCREATE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "LTSERVICEIP",
"label" : "联通项目IP",
"type" : "input-text",
"hidden" : true
}, {
"name" : "ISTOSMARTPLAT",
"label" : "是否传到智慧工地",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0",
"hidden" : true
} ],
"actions" : [ ]
}
}