{ "type" : "page", "title" : "工程量日记账", "body" : { "type" : "crud", "api" : "/api/flow/PM_TASKQUOTAJOURNAL_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "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" : "UNITPROJECTID", "label" : "单位工程名称", "type" : "picker", "clearable" : true, "source" : "/api/picker/8f0f0e15-1574-4f6c-9f0b-e88c686b90cc/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "JOURNALDATE", "label" : "记账日期", "type" : "input-date-range" } ] }, "columns" : [ { "name" : "PM_TASKQUOTAJOURNAL_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTID_DISPLAY__", "label" : "工程名称", "width" : 200 }, { "name" : "UNITPROJECTID_DISPLAY__", "label" : "单位工程名称", "width" : 200 }, { "name" : "JOURNALDATE", "label" : "记账日期", "width" : 200, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "TASKQUOTAJOURNALDETAILCOUNT", "label" : "本次记账数量", "width" : 200 } ], "headerToolbar" : [ { "type" : "button", "id" : "删除", "label" : "删除", "level" : "danger", "actionType" : "ajax", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "confirmText" : "确认要删除此记录吗?", "api" : { "method" : "post", "url" : "/api/flow/PM_TASKQUOTAJOURNAL_DELETE", "data" : { "ids" : "${selectedItems|pick:PM_TASKQUOTAJOURNAL_ID|join:','}" } } }, "pagination" ], "primaryField" : "PM_TASKQUOTAJOURNAL_ID" } }