{ "type" : "page", "title" : "新APP配置项编辑界面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MODULENAME", "label" : "模块名称", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "IFDISPLAY", "label" : "是否展示", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "1" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MODULEPATH", "label" : "模块路径/属性", "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "MENUNAME", "label" : "菜单别名", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SEQ", "label" : "排序", "required" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "ZIMODULE", "label" : "子模块", "type" : "input-table", "id" : "eg-ZIMODULE", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "IFDISPLAY", "label" : "是否显示", "quickEdit" : { "name" : "IFDISPLAY", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "1" } }, { "name" : "MODULENAME", "label" : "模块名称", "quickEdit" : { "name" : "MODULENAME", "required" : true, "type" : "input-text" } }, { "name" : "MODULEPATH", "label" : "模块路径/属性", "quickEdit" : { "name" : "MODULEPATH", "type" : "input-text" } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "SCRIPT", "label" : "脚本", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=APP_CONFIG&businessKey=${APP_CONFIG_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "APP_CONFIG_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }