{ "type" : "page", "title" : "选择机械合同", "body" : { "type" : "crud", "api" : "/api/flow/PM_MACHINECONTRACTREGISTER_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "DEPART", "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" : "PROJECTID", "label" : "工程名称", "type" : "picker", "clearable" : true, "source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "value" : "${currentProject}" }, { "name" : "CONTRACTNUMBER", "label" : "合同编号", "type" : "input-text" }, { "name" : "CONTRACTNAME", "label" : "合同名称", "type" : "input-text" }, { "name" : "CONTRACTFORM", "label" : "合同形式", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTFORM" }, { "name" : "CONTRACTTYPE", "label" : "合同类型", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/MACH_CONTRACTTYPE" }, { "name" : "CONTRACTCATEGORY", "label" : "合同类别", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTCATEGORY" }, { "name" : "MACHINENAME", "label" : "机械供应商", "type" : "picker", "clearable" : true, "source" : "/api/picker/d1f64d77-87fa-4196-9fa1-e4b2f225a4ac/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "SIGNUPTIME", "label" : "签约日期", "type" : "input-date-range" }, { "name" : "CONTRACTSTATUS", "label" : "合同状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTSTATUS" } ] }, "columns" : [ { "name" : "PM_MACHINECONTRACTREGISTER_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "DEPART_DISPLAY__", "label" : "(分)公司", "width" : 200 }, { "name" : "PROJECTID_DISPLAY__", "label" : "工程名称", "width" : 200 }, { "name" : "CONTRACTNUMBER", "label" : "合同编号", "width" : 200 }, { "name" : "CONTRACTNAME", "label" : "合同名称", "width" : 200 }, { "name" : "A_PART", "label" : "甲方", "width" : 200 }, { "name" : "MACHINENAME_DISPLAY__", "label" : "机械供应商", "width" : 200 }, { "name" : "CONTRACTFORM", "label" : "合同形式", "width" : 200, "type" : "mapping", "map" : { "1" : "总价合同", "2" : "单价合同" } }, { "name" : "CONTRACTTYPE", "label" : "合同类型", "width" : 200, "type" : "mapping", "map" : { "1" : "机械租赁合同", "2" : "大型设备安拆合同" } }, { "name" : "CONTRACTCATEGORY", "label" : "合同类别", "width" : 200, "type" : "mapping", "map" : { "1" : "普通合同", "2" : "集中合同" } }, { "name" : "CONTRACTMONEY", "label" : "合同价款", "width" : 200 }, { "name" : "SIGNUPTIME", "label" : "签约日期", "width" : 200, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "CONTRACTSTATUS", "label" : "合同状态", "width" : 200, "type" : "mapping", "map" : { "1" : "签订", "2" : "终止" } } ], "headerToolbar" : [ "pagination" ], "primaryField" : "PM_MACHINECONTRACTREGISTER_ID" } }