{ "type" : "page", "title" : "填写印章刻制申请", "body" : { "type" : "form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "FORMNO", "label" : "表单号", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "PROJECTNAME", "label" : "工程名称", "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" ] } } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "SEALNAME", "label" : "印章名称", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SEALUSEBOUND", "label" : "印章使用范围", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/OA_SEALTYPE_SEALUSEBOUND" } ] }, { "md" : 6, "body" : [ { "name" : "SEALTYPEID", "label" : "印章类型", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/56620018-dea6-4fe0-9934-f0404069a2de/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" : "DEPART_ID", "label" : "申请部门", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/SYS_DEPART/list?perPage=500", "value" : "${currentDepart}" } ] }, { "md" : 6, "body" : [ { "name" : "APPLYNAME", "label" : "申请人", "type" : "static", "tpl" : "${APPLYNAME_DISPLAY__ ? APPLYNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLYNAME)}", "value" : "${currentUser}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "APPLYDATE", "label" : "申请日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "APPLYREASON", "label" : "申请刻制原因", "required" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] }, { "name" : "OA_SEALENGRAVINGAPPLY_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "ajax", "api" : "POST:/api/flow/OA_SEALENGRAVINGAPPLY_ADD", "data" : { "&" : "${&}" } }, { "type" : "button", "label" : "保存并提交审批", "level" : "primary", "actionType" : "ajax", "api" : "POST:/api/flow/OA_SEALENGRAVINGAPPLY_ADDSUBMIT", "data" : { "&" : "${&}" } } ] } }