{ "type" : "page", "title" : "安全事故登记编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "FILIALE", "label" : "填报单位", "type" : "static", "tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}" } ] }, { "md" : 6, "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "required" : true, "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}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "BRANCHLEADER", "label" : "(分)公司负责人", "type" : "picker", "clearable" : true, "source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标" } ] }, { "md" : 6, "body" : [ { "name" : "ACCIDENTTYPE", "label" : "事故类别 ", "type" : "input-text", "maxLength" : 50 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CASUALTIES", "label" : "伤亡人数", "required" : true, "type" : "input-number", "precision" : 0, "step" : 1, "value" : "0" } ] }, { "md" : 6, "body" : [ { "name" : "PLACEDATE", "label" : "发生日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MEASURESLEADER", "label" : "落实措施负责人", "type" : "input-text", "maxLength" : 50 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "ANALYSIS", "label" : "主要原因分析", "required" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "VICTIMESINFO", "label" : "伤亡者信息", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "AFTERACCIDENT", "label" : "事故经过", "required" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "PREVENTIONREPEAT", "label" : "预防事故重复发生的措施", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "ENDCASEDATE", "label" : "结案时间", "disabled" : true, "type" : "input-datetime" } ] } ] }, { "name" : "PM_PUB_SAFETYACCIDENTS_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }