{ "type" : "page", "title" : "设备点检、测量编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "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}" } ] }, { "md" : 6, "body" : [ { "name" : "FILIALE", "label" : "单位名称", "type" : "static", "tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "DEVICEID", "label" : "设备名称", "type" : "static", "tpl" : "${DEVICEID_DISPLAY__ ? DEVICEID_DISPLAY__ : (EQUIPMENTID ? EQUIPMENTID : DEVICEID)}" } ] }, { "md" : 6, "body" : [ { "name" : "TYPE", "label" : "设备类型", "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_EquipmentType" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "EQUIPMENTNO", "label" : "设备编码", "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "REVIEWTIME", "label" : "点检日期", "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SPECIFICATIONS", "label" : "规格型号", "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "RESULTTYPE", "label" : "检查结果", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_resultType" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "COMMENT", "label" : "检查意见", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "检查单", "required" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_EQUIPMENTREVIEW&businessKey=${PM_EQUIPMENTREVIEW_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_EQUIPMENTREVIEW_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }