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>
509 lines
15 KiB
JSON
509 lines
15 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "工程信息查看页面-五建定制",
|
|
"body" : {
|
|
"type" : "form",
|
|
"id" : "eip4-edit-form",
|
|
"title" : "",
|
|
"mode" : "horizontal",
|
|
"horizontal" : {
|
|
"leftFixed" : 120
|
|
},
|
|
"body" : [ {
|
|
"type" : "tabs",
|
|
"tabs" : [ {
|
|
"title" : "工程信息",
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "BUILDCOMPANY",
|
|
"label" : "建设单位",
|
|
"type" : "static",
|
|
"tpl" : "${BUILDCOMPANY_DISPLAY__ ? BUILDCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : BUILDCOMPANY)}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITPROPERTY",
|
|
"label" : "单位性质",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/UNITPROPERTY"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITPHONE",
|
|
"label" : "联系电话",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITADDRESS",
|
|
"label" : "单位地址",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PROJECTNAME",
|
|
"label" : "工程名称",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 600
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "PROVINCE",
|
|
"label" : "所在省份",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_PROVINCE"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROJECTCODE",
|
|
"label" : "工程编码",
|
|
"disabled" : true,
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROJECTSHORTNAME",
|
|
"label" : "工程简称",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "AREA",
|
|
"label" : "地区分布",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_AREA"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "ADDRESS",
|
|
"label" : "工程地址",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROPERTY",
|
|
"label" : "工程专业",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "TYPE",
|
|
"label" : "工程类型",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CATEGORY",
|
|
"label" : "工程类别",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "INVITEBIDS_TYPE",
|
|
"label" : "招标形式",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "TOTALPRICE",
|
|
"label" : "工程造价(元)",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "ACREAGE",
|
|
"label" : "建筑面积(m2)",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "CAPITAL",
|
|
"label" : "大写",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "STRUCTURE",
|
|
"label" : "结构",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "NUMBER",
|
|
"label" : "层次",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "ACTUALSTARTDATE",
|
|
"label" : "计划开工日期",
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "ACTUALENDDATE",
|
|
"label" : "计划竣工日期",
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "FILIALE",
|
|
"label" : "所属(分)公司",
|
|
"type" : "static",
|
|
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROJECTMANAGER",
|
|
"label" : "项目经理",
|
|
"type" : "static",
|
|
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MANAGEMENTMODE",
|
|
"label" : "经营模式",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_ManagementMode"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "INVOICEFORM",
|
|
"label" : "征税方式",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/INVOICE_INVOICEFORM"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "TAXRATE",
|
|
"label" : "税率(%)",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CONTRACTOR",
|
|
"label" : "承包人",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "LONGITUDETEXT",
|
|
"label" : "经度",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "LATITUDETEXT",
|
|
"label" : "纬度",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "BUILDINGHEIGHT",
|
|
"label" : "高度",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CREATEBY",
|
|
"label" : "登记人",
|
|
"type" : "static",
|
|
"tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CREATETIME",
|
|
"label" : "登记日期",
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"title" : "项目现场人员",
|
|
"body" : [ {
|
|
"name" : "PM_PROJECT_USERS",
|
|
"label" : "项目部人员",
|
|
"disabled" : true,
|
|
"type" : "input-table",
|
|
"id" : "eg-PM_PROJECT_USERS",
|
|
"addable" : false,
|
|
"removable" : false,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ {
|
|
"name" : "USERID",
|
|
"label" : "用户",
|
|
"quickEdit" : {
|
|
"name" : "USERID",
|
|
"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" : "请点击右侧的图标"
|
|
}
|
|
}, {
|
|
"name" : "ROLE",
|
|
"label" : "项目角色",
|
|
"quickEdit" : {
|
|
"name" : "ROLE",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECTMANAGERROLE"
|
|
}
|
|
} ],
|
|
"needConfirm" : false
|
|
} ]
|
|
}, {
|
|
"title" : "项目备案人员",
|
|
"body" : [ {
|
|
"name" : "PROJECTLIST",
|
|
"label" : "项目备案人员",
|
|
"disabled" : true,
|
|
"type" : "input-table",
|
|
"id" : "eg-PROJECTLIST",
|
|
"addable" : false,
|
|
"removable" : false,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ {
|
|
"name" : "USERID",
|
|
"label" : "项目人员",
|
|
"quickEdit" : {
|
|
"name" : "USERID",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/ac35b7e4-a338-4ca6-b5cd-98d5d1c54bab/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
}
|
|
}
|
|
}, {
|
|
"name" : "ROLEID",
|
|
"label" : "项目角色",
|
|
"quickEdit" : {
|
|
"name" : "ROLEID",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECTMANAGERROLE"
|
|
}
|
|
} ],
|
|
"needConfirm" : false
|
|
}, {
|
|
"name" : "PM_PROJECT_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "PREDICTSTARTTIME",
|
|
"label" : "预计开工日期",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "PREDICTINVEST",
|
|
"label" : "预计投资(元)",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
}, {
|
|
"name" : "EVOLVE",
|
|
"label" : "进展",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "PROJECTSTAGE",
|
|
"label" : "工程阶段",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_PROJECTSTAGE",
|
|
"value" : "9"
|
|
}, {
|
|
"name" : "ISSHARE",
|
|
"label" : "项目是否共享",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/YESNO",
|
|
"value" : "0",
|
|
"hidden" : true
|
|
}, {
|
|
"name" : "OPPONENTS",
|
|
"label" : "潜在竞争对手",
|
|
"hidden" : true,
|
|
"type" : "static",
|
|
"tpl" : "${OPPONENTS_DISPLAY__ ? OPPONENTS_DISPLAY__ : (SHOWNAME ? SHOWNAME : OPPONENTS)}"
|
|
}, {
|
|
"name" : "BIDTIME",
|
|
"label" : "投标报名截止时间",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-datetime"
|
|
}, {
|
|
"name" : "SIGNUPENDTIME",
|
|
"label" : "内部报名截止时间",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-datetime"
|
|
} ]
|
|
} ]
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |