{ "type" : "page", "title" : "项目分包信息查询", "body" : { "type" : "crud", "api" : "/api/flow/PM_PROJECTSUBCONTRACT_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "type" : "picker", "clearable" : true, "source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "FILIALE", "label" : "所属(分)公司", "type" : "picker", "clearable" : true, "source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "CONTRACTPROJECTNUM", "label" : "承包项目数", "type" : "input-number", "precision" : 2 }, { "name" : "CONTRACTUNITNUM", "label" : "分包单位数", "type" : "input-number", "precision" : 2 }, { "name" : "QUANTITYNUM", "label" : "已备案数", "type" : "input-number", "precision" : 2 }, { "name" : "UNQUANTITYNUM", "label" : "未备案数", "type" : "input-number", "precision" : 2 }, { "name" : "REGISTER", "label" : "登记人", "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" : "REGISTERDATE", "label" : "登记日期", "type" : "input-date-range" }, { "name" : "CONFIRMTYPE", "label" : "确认状态", "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_PROJECTSUBCONTRACT_CONFIRMTYPE", "value" : "2" } ] }, "columns" : [ { "name" : "PM_PROJECTSUBCONTRACT_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTID_DISPLAY__", "label" : "工程名称", "width" : 300 }, { "name" : "FILIALE_DISPLAY__", "label" : "所属(分)公司", "width" : 200 }, { "name" : "ACTUALSTARTDATE", "label" : "计划开工日期", "width" : 120, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "ACTUALENDDATE", "label" : "计划竣工日期", "width" : 120, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "CONTRACTPROJECTNUM", "label" : "承包项目数", "width" : 110 }, { "name" : "CONTRACTUNITNUM", "label" : "分包单位数", "width" : 110 }, { "name" : "QUANTITYNUM", "label" : "已备案数", "width" : 100 }, { "name" : "UNQUANTITYNUM", "label" : "未备案数", "width" : 100 }, { "name" : "REGISTERDATE", "label" : "登记日期", "width" : 200, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "REGISTER_DISPLAY__", "label" : "登记人", "width" : 200 }, { "name" : "REMARK", "label" : "备注", "width" : 200, "toggled" : false }, { "name" : "CONFIRMTYPE", "label" : "确认状态", "width" : 100, "type" : "mapping", "map" : { "1" : "未确认", "2" : "已确认" } } ], "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/54d2eb6c-dbcf-403d-a511-07056ee4eb47?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/PM_PROJECTSUBCONTRACT_LOAD?__egtpl=54d2eb6c-dbcf-403d-a511-07056ee4eb47", "data" : { "PM_PROJECTSUBCONTRACT_ID" : "${PM_PROJECTSUBCONTRACT_ID}" }, "responseData" : { "&" : "${result}" } } } } }, "pagination" ], "primaryField" : "PM_PROJECTSUBCONTRACT_ID" } }