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>
534 lines
13 KiB
JSON
534 lines
13 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "施工组织设计执行情况检查-审批-验证编辑页面",
|
|
"body" : {
|
|
"type" : "form",
|
|
"id" : "eip4-edit-form",
|
|
"title" : "",
|
|
"mode" : "horizontal",
|
|
"horizontal" : {
|
|
"leftFixed" : 120
|
|
},
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "PROJECTID",
|
|
"label" : "工程名称",
|
|
"type" : "static",
|
|
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
|
|
"value" : "${currentProject}"
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "PROJECTPROGRESS",
|
|
"label" : "工程进度",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "FILIALE",
|
|
"label" : "(分)公司",
|
|
"type" : "static",
|
|
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CATEGORY",
|
|
"label" : "项目类别",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "NEEDCHANGE",
|
|
"label" : "是否整改",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/YESNO"
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REVIEWDEPARTTYPE",
|
|
"label" : "验证部门",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_reviewDepartType"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CONDITION1",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM1",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 500
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CONDITION2",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM2",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 500
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT3",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM3",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 500
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT4",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM4",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 500
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT5",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM5",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT6",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM6",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT7",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM7",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT8",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM8",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT9",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM9",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT10",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM10",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT11",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM11",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REQUREMENT12",
|
|
"label" : "检查情况",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
}, {
|
|
"md" : 7,
|
|
"body" : [ {
|
|
"name" : "PROBLEM12",
|
|
"label" : "存在问题",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CHECKUSER",
|
|
"label" : "检查人",
|
|
"type" : "static",
|
|
"tpl" : "${CHECKUSER_DISPLAY__ ? CHECKUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CHECKUSER)}"
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CHECKTIME",
|
|
"label" : "检查日期",
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "CHANGECOMMENT",
|
|
"label" : "整改措施",
|
|
"disabled" : true,
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CHANGER",
|
|
"label" : "整改人",
|
|
"type" : "static",
|
|
"tpl" : "${CHANGER_DISPLAY__ ? CHANGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CHANGER)}"
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "CHANGETIME",
|
|
"label" : "整改日期",
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "REVIEWCOMMENT",
|
|
"label" : "验证措施",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REVIEWER",
|
|
"label" : "验证人",
|
|
"required" : true,
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
},
|
|
"placeholder" : "请点击右侧的图标"
|
|
} ]
|
|
}, {
|
|
"md" : 5,
|
|
"body" : [ {
|
|
"name" : "REVIEWTIME",
|
|
"label" : "验证日期",
|
|
"required" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "DOCUMENT",
|
|
"label" : "附件",
|
|
"disabled" : true,
|
|
"type" : "input-file",
|
|
"receiver" : "/api/file/upload?tableName=PM_PUB_CONSTRUCTORGANAZEEXECUTECONDREVIEW&businessKey=${PM_PUB_CONSTRUCTORGANAZEEXECUTECONDREVIEW_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"multiple" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "PM_PUB_CONSTRUCTORGANAZEEXECUTECONDREVIEW_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "REQUREMENT1",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "REQUREMENT2",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION3",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION4",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION5",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION6",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION7",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION8",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION9",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION10",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION11",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
}, {
|
|
"name" : "CONDITION12",
|
|
"label" : "符合要求",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 100
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |