{ "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" : "CHECKYEAR", "label" : "检查年份", "required" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ] }, { "md" : 6, "body" : [ { "name" : "CHECKMONTHQUARTERLY", "label" : "检查月份", "required" : true, "type" : "select", "clearable" : true } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "BRANCHSUBENTRYID", "label" : "问题发生部位", "type" : "picker", "clearable" : true, "source" : "/api/picker/2d2aaf39-4cfb-4cc3-8f1d-a755a45363c4/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "RECTIFYSTARTDATE", "label" : "整改开始日期", "type" : "input-date", "value" : "${now}" } ] }, { "md" : 6, "body" : [ { "name" : "RECTIFYENDDATE", "label" : "整改结束日期", "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "RECTIFICATION", "label" : "整改记录", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "RECTIFICATIONLEADER", "label" : "整改提交人", "type" : "static", "tpl" : "${RECTIFICATIONLEADER_DISPLAY__ ? RECTIFICATIONLEADER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : RECTIFICATIONLEADER)}", "value" : "${currentUser}" } ] }, { "md" : 6, "body" : [ { "name" : "RECTIFICATIONDATE", "label" : "整改提交日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_PUB_CHECKQUARTER&businessKey=${PM_PUB_CHECKQUARTER_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_PUB_CHECKQUARTER_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "ISRECTIFICATION", "label" : "是否整改", "type" : "checkbox", "hidden" : true }, { "name" : "AUTHENTICATIONRESULTS", "label" : "验证记录", "hidden" : true, "type" : "textarea" }, { "name" : "AUTHENTICATIONPART", "label" : "验证部门", "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_authenticationPart" }, { "name" : "AUTHENTICATIONTOR", "label" : "验证人", "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "AUTHENTICATIONDATE", "label" : "验证日期", "hidden" : true, "type" : "input-date" } ], "actions" : [ ] } }