{ "type" : "page", "title" : "选择关联的危险源清单项", "body" : { "type" : "crud", "api" : "/api/flow/PM_SCHEMEDANGERRELATION_PROJECTDANGERLISTITEM_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "DANGERLISTNAME", "label" : "作业过程或活动", "type" : "tree-select", "clearable" : true, "source" : "/api/template/82b68117-5b61-4c9f-b188-4592782af30b/tree", "searchable" : true }, { "name" : "DANGERPROPERTY", "label" : "危险危害因素", "type" : "input-text" }, { "name" : "TROUBLE", "label" : "可能导致事故、事件", "type" : "input-text" }, { "name" : "DANGERGRADE", "label" : "危险级别", "type" : "picker", "clearable" : true, "source" : "/api/picker/7a4ca3c1-8ab7-4786-8b36-5c623d06bc4c/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "STAGE", "label" : "阶段", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PROJECT_D_P_STAGE" } ] }, "columns" : [ { "name" : "PM_PROJECTDANGERLISTITEM_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTID", "label" : "工程名称", "width" : 200, "toggled" : false }, { "name" : "DANGERLISTNAME_DISPLAY__", "label" : "作业过程或活动", "width" : 200 }, { "name" : "DANGERPROPERTY", "label" : "危险危害因素", "width" : 200 }, { "name" : "TROUBLE", "label" : "可能导致事故、事件", "width" : 200 }, { "name" : "DANGERGRADE_DISPLAY__", "label" : "危险级别", "width" : 200 }, { "name" : "STAGE", "label" : "阶段", "width" : 200, "type" : "mapping", "map" : { "1" : "已识别", "2" : "方案已审批", "3" : "已交底", "4" : "已封闭" } } ], "headerToolbar" : [ "pagination" ], "primaryField" : "PM_PROJECTDANGERLISTITEM_ID" } }