{ "type" : "page", "title" : "员工档案(带证书)编辑-ABC证", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CARDNO", "label" : "证书编号", "required" : true, "type" : "input-text", "maxLength" : 100 } ] }, { "md" : 6, "body" : [ { "name" : "KIND", "label" : "ABC种类", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CARDABC", "value" : "1" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "ISSUEDATE", "label" : "签发日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 6, "body" : [ { "name" : "VALIDDATE", "label" : "有效期至", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "SEALNO", "label" : "印章编号", "type" : "input-text", "maxLength" : 100 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=HR_SAFETYCARD&businessKey=${HR_SAFETYCARD_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "KEEPDEPARTID", "label" : "保管部门", "required" : true, "type" : "tree-select", "clearable" : true, "source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree", "value" : "${currentDepart}", "searchable" : true, "onlyLeaf" : true } ] } ] }, { "name" : "USERID", "label" : "姓名", "type" : "picker", "clearable" : true, "source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标", "hidden" : true }, { "name" : "IDCARD", "label" : "身份证号码", "type" : "input-text", "hidden" : true }, { "name" : "BIRTH", "label" : "出生年月", "disabled" : true, "type" : "input-date", "hidden" : true }, { "name" : "HOMEPHONE", "label" : "联系电话", "disabled" : true, "type" : "input-text", "hidden" : true }, { "name" : "ISCHANGE", "label" : "ISCHANGE", "hidden" : true, "type" : "input-number", "precision" : 0, "step" : 1, "value" : "1" }, { "name" : "HR_SAFETYCARD_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }