{ "type" : "page", "title" : "公司危险源清单项编辑", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 7, "body" : [ { "name" : "DANGERPROPERTY", "label" : "危险危害因素", "required" : true, "type" : "input-text" } ] }, { "md" : 5, "body" : [ { "name" : "TROUBLE", "label" : "可能导致事故", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 7, "body" : [ { "name" : "DANGERSTATUS", "label" : "状态", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/DANGER_STATUS", "value" : "1" } ] }, { "md" : 5, "body" : [ { "name" : "TENSE", "label" : "时态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/DANGER_TENSE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 7, "body" : [ { "name" : "EVALUATIONMETHOD", "label" : "评价方法", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/evaluationmethod" } ] }, { "md" : 5, "body" : [ { "name" : "DANGERGRADE", "label" : "危险级别", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_DANGERRISKLEVEL/list?perPage=500" } ] } ] }, { "name" : "test", "label" : "test", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "SCORE", "label" : "得分", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "LIST", "label" : "分数项", "type" : "input-table", "id" : "eg-LIST", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "MARK", "label" : "标识", "type" : "tpl", "tpl" : "${MARK_DISPLAY__ ? MARK_DISPLAY__ : MARK}", "quickEdit" : false }, { "name" : "SCORE", "label" : "得分", "quickEdit" : { "name" : "SCORE", "required" : true, "type" : "input-number", "precision" : 2 } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "CONTROLMEASURE", "label" : "建议控制措施", "type" : "textarea" } ] } ] }, { "name" : "PM_DANGERLISTITEM_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "DANGERID", "label" : "作业过程或活动", "required" : true, "hidden" : true, "type" : "tree-select", "clearable" : true, "source" : "/api/template/82b68117-5b61-4c9f-b188-4592782af30b/tree", "searchable" : true } ], "actions" : [ ] } }