{ "type" : "page", "title" : "投标清单措施项信息", "body" : { "type" : "crud", "api" : "/api/flow/PM_BUDGETLIST_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "PM_PROJECT_ID", "label" : "工程名称", "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}", "value" : "${currentProject}" }, { "name" : "PM_BUDGETUNIT_ID", "label" : "预算单元", "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "LISTNO", "label" : "清单编码", "type" : "input-text" }, { "name" : "LISTNAME", "label" : "清单名称", "type" : "input-text" }, { "name" : "LISTTRAIT", "label" : "项目特征", "hidden" : true, "type" : "input-text" }, { "name" : "PM_UNITLIST_ID", "label" : "单位", "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "COMPREHENSIVEUNITPRICE", "label" : "综合单价", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "ENGINEERINGQUANTITY", "label" : "工程量", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "LABOURCOSTS", "label" : "单价组成-人工费", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "MATERIALCOSTS", "label" : "单价组成-材料费", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "MACHINERYCOSTS", "label" : "单价组成-机械费", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "MANAGEMENTEXPENSE", "label" : "单价组成-管理费", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "DROFIT", "label" : "单价组成-利润", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "COMPREHENSIVEVALENCE", "label" : "综合单价", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "DAYS", "label" : "总工日", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "ISLIST", "label" : "是否清单", "disabled" : true, "hidden" : true, "type" : "checkbox" }, { "name" : "CALCRULES", "label" : "计算规则", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "QUOTA_LIST", "label" : "定额列表", "hidden" : true, "type" : "select", "multiple" : true, "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" } ] }, "columns" : [ { "name" : "PM_BUDGETLIST_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PM_PROJECT_ID_DISPLAY__", "label" : "工程名称", "width" : 200, "toggled" : false }, { "name" : "PM_BUDGETUNIT_ID_DISPLAY__", "label" : "预算单元", "width" : 200, "toggled" : false }, { "name" : "LISTNO", "label" : "清单编码", "width" : 200 }, { "name" : "LISTNAME", "label" : "清单名称", "width" : 300 }, { "name" : "LISTTRAIT", "label" : "项目特征", "width" : 600 }, { "name" : "PM_UNITLIST_ID_DISPLAY__", "label" : "单位", "width" : 100 }, { "name" : "ENGINEERINGQUANTITY", "label" : "工程量", "width" : 200 }, { "name" : "COMPREHENSIVEUNITPRICE", "label" : "综合单价(元)", "width" : 200 }, { "name" : "COMPREHENSIVEVALENCE", "label" : "综合合价(元)", "width" : 200 }, { "name" : "LABOURCOSTS", "label" : "单价组成-人工费", "width" : 200, "toggled" : false }, { "name" : "MATERIALCOSTS", "label" : "单价组成-材料费", "width" : 200, "toggled" : false }, { "name" : "MACHINERYCOSTS", "label" : "单价组成-机械费", "width" : 200, "toggled" : false }, { "name" : "MANAGEMENTEXPENSE", "label" : "单价组成-管理费", "width" : 200, "toggled" : false }, { "name" : "DROFIT", "label" : "单价组成-利润", "width" : 200, "toggled" : false }, { "name" : "DAYS", "label" : "总工日", "width" : 200, "toggled" : false }, { "name" : "ISLIST", "label" : "是否清单", "width" : 200, "type" : "mapping", "map" : { "0" : "否", "1" : "是", "false" : "否", "true" : "是" } }, { "name" : "CALCRULES", "label" : "计算规则", "width" : 200, "toggled" : false }, { "name" : "QUOTA_LIST", "label" : "定额列表", "width" : 200, "toggled" : false } ], "headerToolbar" : [ { "type" : "button", "id" : "资源含量", "label" : "资源含量", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "资源含量", "size" : "lg", "data" : { "PM_BUDGETLIST_ID" : "${selectedItems[0].PM_BUDGETLIST_ID}" }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/4601b281-e9f8-4459-a197-9c143454f972?format=amis" }, "actions" : [ { "type" : "button", "label" : "关闭", "actionType" : "close" } ] } }, "pagination" ], "primaryField" : "PM_BUDGETLIST_ID", "onEvent" : { "inited" : { "actions" : [ { "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/script/execute-template", "data" : { "seq" : 1, "item" : "${&}", "templateId" : "95441a55-5f11-40c3-893a-f6a473e741d9" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } }