{ "type" : "page", "title" : "江苏省中标公告", "body" : { "type" : "crud", "api" : "/api/flow/PM_SPIDER_JSBIDWIN_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "PROJECTNAME", "label" : "项目名称", "type" : "input-text" }, { "name" : "PROJECTNUM", "label" : "项目编号", "type" : "input-text" }, { "name" : "BIDNUMBER", "label" : "标段编号", "type" : "input-text" }, { "name" : "BIDNAME", "label" : "标段名称", "type" : "input-text" }, { "name" : "BUILDUNIT", "label" : "建设单位", "type" : "input-text" }, { "name" : "PROJECTTYPE", "label" : "项目类型", "type" : "input-text" }, { "name" : "CONTRACTTYPE", "label" : "发包类型", "type" : "input-text" }, { "name" : "BIDCOMPANY", "label" : "中标公司", "type" : "input-text" }, { "name" : "PROFESSIONALGROUP", "label" : "专业组别", "type" : "input-text" }, { "name" : "PROJECTMANAGER", "label" : "项目经理", "type" : "input-text" }, { "name" : "BIDDATE", "label" : "中标日期", "type" : "input-date-range" }, { "name" : "PRECOMPLETIONDATE", "label" : "预计竣工日期", "type" : "input-date-range" }, { "name" : "BIDPRICE", "label" : "中标价(万元)", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "BIDTIME", "label" : "中标工期(天)", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "LOCATION", "label" : "工程地点", "hidden" : true, "type" : "input-text" }, { "name" : "GSURL", "label" : "中标公告链接", "hidden" : true, "type" : "input-text" }, { "name" : "BIDPRICES", "label" : "中标价(万元)>=", "type" : "input-number", "precision" : 2 }, { "name" : "REMARK_LIST", "label" : "备注", "type" : "input-text" }, { "name" : "CREATETIME", "label" : "创建时间", "type" : "input-date-range" }, { "name" : "UPDATETIME", "label" : "修改时间", "type" : "input-date-range" } ] }, "columns" : [ { "name" : "PM_SPIDER_JSBIDWIN_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTNAME", "label" : "项目名称", "width" : 300 }, { "name" : "PROJECTNUM", "label" : "项目编号", "width" : 200, "toggled" : false }, { "name" : "BIDNUMBER", "label" : "标段编号", "width" : 200, "toggled" : false }, { "name" : "BIDNAME", "label" : "标段名称", "width" : 300 }, { "name" : "BUILDUNIT", "label" : "建设单位", "width" : 200, "toggled" : false }, { "name" : "PROJECTTYPE", "label" : "项目类型", "width" : 100 }, { "name" : "CONTRACTTYPE", "label" : "发包类型", "width" : 100 }, { "name" : "BIDCOMPANY", "label" : "中标公司", "width" : 200 }, { "name" : "PROFESSIONALGROUP", "label" : "专业组别", "width" : 200 }, { "name" : "PROJECTMANAGER", "label" : "项目经理", "width" : 60 }, { "name" : "BIDDATE", "label" : "中标日期", "width" : 120, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "PRECOMPLETIONDATE", "label" : "预计竣工日期", "width" : 120, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "BIDPRICE", "label" : "中标价(万元)", "width" : 100 }, { "name" : "BIDTIME", "label" : "中标工期(天)", "width" : 80 }, { "name" : "LOCATION", "label" : "工程地点", "width" : 200, "toggled" : false }, { "name" : "GSURL", "label" : "中标公告链接", "width" : 200, "toggled" : false }, { "name" : "REMARK_LIST", "label" : "备注", "width" : 200 }, { "name" : "CREATETIME", "label" : "创建时间", "width" : 120, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "UPDATETIME", "label" : "修改时间", "width" : 120, "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]}" }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/7d297971-5c39-4e65-9c37-3d1129b32b27?format=amis", "api" : { "method" : "post", "url" : "/api/flow/PM_SPIDER_JSBIDWIN_LOAD?__egtpl=7d297971-5c39-4e65-9c37-3d1129b32b27", "data" : { "PM_SPIDER_JSBIDWIN_ID" : "${PM_SPIDER_JSBIDWIN_ID}" }, "responseData" : { "&" : "${result}" } } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/PM_SPIDER_JSBIDWIN_UPDATE?__egtpl=7d297971-5c39-4e65-9c37-3d1129b32b27", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "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/7d297971-5c39-4e65-9c37-3d1129b32b27?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/PM_SPIDER_JSBIDWIN_LOAD?__egtpl=7d297971-5c39-4e65-9c37-3d1129b32b27", "data" : { "PM_SPIDER_JSBIDWIN_ID" : "${PM_SPIDER_JSBIDWIN_ID}" }, "responseData" : { "&" : "${result}" } }, "onEvent" : { "inited" : { "actions" : [ { "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/script/execute-template", "data" : { "seq" : 1, "item" : "${&}", "templateId" : "1e9bcd2c-e1e2-4e35-a21a-a5c26b17741e" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } } }, "pagination" ], "primaryField" : "PM_SPIDER_JSBIDWIN_ID", "onEvent" : { "inited" : { "actions" : [ { "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/script/execute-template", "data" : { "seq" : 1, "item" : "${&}", "templateId" : "1e9bcd2c-e1e2-4e35-a21a-a5c26b17741e" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } }