{ "type" : "page", "title" : "中标公示", "body" : { "type" : "crud", "api" : "/api/flow/PM_SPIDER_BIDWIN_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "PROJECTNAME", "label" : "工程名称", "type" : "input-text" }, { "name" : "AREA", "label" : "所属地区", "type" : "input-text" }, { "name" : "BIDKIND", "label" : "招标类型", "type" : "input-text" }, { "name" : "COMPANY", "label" : "中标单位", "type" : "input-text" }, { "name" : "BIDPRICE", "label" : "中标价格(万元)", "type" : "input-text" }, { "name" : "BIDTIMES", "label" : "中标工期(天)", "hidden" : true, "type" : "input-text" }, { "name" : "QUALITY", "label" : "中标质量标准", "type" : "input-text" }, { "name" : "ISUNION", "label" : "联合体从体", "hidden" : true, "type" : "input-text" }, { "name" : "PROJECTMANAGER", "label" : "中标项目经理", "type" : "input-text" }, { "name" : "LEVEL", "label" : "等级", "type" : "input-text" }, { "name" : "QUANUMBER", "label" : "资质证书编号", "hidden" : true, "type" : "input-text" }, { "name" : "RESOURCEINFO", "label" : "信息来源", "hidden" : true, "type" : "input-text" }, { "name" : "OCCURTIME", "label" : "发布时间", "type" : "input-date-range" } ] }, "columns" : [ { "name" : "PM_SPIDER_BIDWIN_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTNAME", "label" : "工程名称", "width" : 500 }, { "name" : "COMPANY", "label" : "中标单位", "width" : 400 }, { "name" : "BIDPRICE", "label" : "中标价格(万元)", "width" : 200 }, { "name" : "BIDTIMES", "label" : "中标工期(天)", "width" : 200 }, { "name" : "OCCURTIME", "label" : "发布时间", "width" : 200, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "QUALITY", "label" : "中标质量标准", "width" : 200, "toggled" : false }, { "name" : "ISUNION", "label" : "联合体从体", "width" : 200, "toggled" : false }, { "name" : "PROJECTMANAGER", "label" : "中标项目经理", "width" : 200 }, { "name" : "LEVEL", "label" : "等级", "width" : 200, "toggled" : false }, { "name" : "QUANUMBER", "label" : "资质证书编号", "width" : 200, "toggled" : false }, { "name" : "RESOURCEINFO", "label" : "信息来源", "width" : 200, "toggled" : false }, { "name" : "CREATETIME", "label" : "创建时间", "width" : 200, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "UPDATETIME", "label" : "更新时间", "width" : 200, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" } ], "headerToolbar" : [ { "type" : "button", "id" : "查看", "label" : "查看", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "查看", "size" : "lg", "data" : { "&" : "${selectedItems[0]}", "__readonly" : true }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/1f1476fd-7d46-48e6-9ddd-26d3a871e4da?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/PM_SPIDER_BIDWIN_LOAD?__egtpl=1f1476fd-7d46-48e6-9ddd-26d3a871e4da", "data" : { "PM_SPIDER_BIDWIN_ID" : "${PM_SPIDER_BIDWIN_ID}" }, "responseData" : { "&" : "${result}" } }, "onEvent" : { "inited" : { "actions" : [ { "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/script/execute-template", "data" : { "seq" : 1, "item" : "${&}", "templateId" : "4d4d019b-5f5c-4207-9a21-a1dec198c5d0" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } } }, "pagination" ], "primaryField" : "PM_SPIDER_BIDWIN_ID", "onEvent" : { "inited" : { "actions" : [ { "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/script/execute-template", "data" : { "seq" : 1, "item" : "${&}", "templateId" : "4d4d019b-5f5c-4207-9a21-a1dec198c5d0" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } }