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>
175 lines
4.5 KiB
JSON
175 lines
4.5 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "工程选择框-选择工程(无权限控制)",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/VIEW_PM_PROJECT_SEARCH",
|
|
"syncLocation" : false,
|
|
"selectable" : true,
|
|
"checkOnItemClick" : true,
|
|
"filter" : {
|
|
"title" : "查询",
|
|
"body" : [ {
|
|
"name" : "BUILDCOMPANY",
|
|
"label" : "建设单位",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"searchable" : true,
|
|
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
|
|
}, {
|
|
"name" : "ACREAGE",
|
|
"label" : "建筑面积(m2)",
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
}, {
|
|
"name" : "TOTALPRICE",
|
|
"label" : "工程造价(元)",
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
}, {
|
|
"name" : "PROJECTNAME",
|
|
"label" : "工程名称",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "AREA",
|
|
"label" : "地区分布",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_AREA"
|
|
}, {
|
|
"name" : "PROJECTSTAGE",
|
|
"label" : "工程阶段",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_PROJECTSTAGE"
|
|
}, {
|
|
"name" : "PROPERTY",
|
|
"label" : "工程专业",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
|
|
}, {
|
|
"name" : "MANAGEMENTMODE",
|
|
"label" : "经营模式",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_ManagementMode"
|
|
}, {
|
|
"name" : "CATEGORY",
|
|
"label" : "工程类别",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
|
|
}, {
|
|
"name" : "FILIALE",
|
|
"label" : "所属(分)公司",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"searchable" : true,
|
|
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
|
|
} ]
|
|
},
|
|
"columns" : [ {
|
|
"name" : "VIEW_PM_PROJECT_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "PROJECTNAME",
|
|
"label" : "工程名称",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "PROJECTSHORTNAME",
|
|
"label" : "工程简称",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "BUILDCOMPANY_DISPLAY__",
|
|
"label" : "建设单位",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "PROPERTY",
|
|
"label" : "工程专业",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "土建",
|
|
"2" : "装饰",
|
|
"3" : "安装",
|
|
"4" : "市政",
|
|
"5" : "园林绿化",
|
|
"6" : "古建筑",
|
|
"7" : "钢结构"
|
|
}
|
|
}, {
|
|
"name" : "CATEGORY",
|
|
"label" : "工程类别",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "Ⅰ类工程",
|
|
"2" : "Ⅱ类工程",
|
|
"3" : "Ⅲ类工程"
|
|
}
|
|
}, {
|
|
"name" : "ACREAGE",
|
|
"label" : "建筑面积(m2)",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "TOTALPRICE",
|
|
"label" : "工程造价(元)",
|
|
"width" : 100
|
|
}, {
|
|
"name" : "AREA",
|
|
"label" : "地区分布",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "苏州市",
|
|
"2" : "省内",
|
|
"3" : "省外"
|
|
}
|
|
}, {
|
|
"name" : "PROJECTSTAGE",
|
|
"label" : "工程阶段",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"3" : "报名已申请",
|
|
"-15" : "未入围",
|
|
"-100" : "投标终止",
|
|
"-10" : "入围",
|
|
"-1" : "未中标",
|
|
"5" : "招标文件已评审",
|
|
"6" : "投标文件已评审",
|
|
"7" : "投标登记",
|
|
"8" : "中标",
|
|
"9" : "合同洽谈",
|
|
"10" : "合同实施",
|
|
"15" : "工程终止",
|
|
"20" : "主体完工",
|
|
"50" : "工程完成",
|
|
"70" : "项目已送审",
|
|
"80" : "项目退场",
|
|
"100" : "工程竣工",
|
|
"120" : "保修到期"
|
|
}
|
|
}, {
|
|
"name" : "MANAGEMENTMODE",
|
|
"label" : "经营模式",
|
|
"width" : 100,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "直营",
|
|
"2" : "全费用承包",
|
|
"3" : "直营过渡项目",
|
|
"4" : "直营部分分包"
|
|
}
|
|
}, {
|
|
"name" : "FILIALE_DISPLAY__",
|
|
"label" : "所属(分)公司",
|
|
"width" : 200
|
|
} ],
|
|
"headerToolbar" : [ "pagination" ],
|
|
"primaryField" : "VIEW_PM_PROJECT_ID"
|
|
}
|
|
} |