{ "type" : "page", "title" : "实体属性编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "COLUMNNAME", "label" : "数据库列名", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "DISPLAYNAME", "label" : "显示名称", "required" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "ISENTITYDISPLAY", "label" : "是否实体显示列", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" } ] }, { "md" : 6, "body" : [ { "name" : "ISREADONLY", "label" : "是否只读", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "REFERENCEID", "label" : "属性类型", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/73d099d4-4d44-4440-9006-43433a8b6ea5/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, { "md" : 6, "body" : [ { "name" : "COLUMNSQL", "label" : "虚拟字段SQL表达式", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "REFERENCEVALUE", "label" : "引用值", "type" : "picker", "clearable" : true, "source" : "/api/picker/41d16b2f-48c7-4993-a1dc-2b864ff4e868/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, { "md" : 6, "body" : [ { "name" : "ENUMERATETYPE", "label" : "枚举组", "type" : "tree-select", "clearable" : true, "source" : "/api/template/7a5ee34a-137e-4ef8-971f-9b09ec764bce/tree", "searchable" : true, "onlyLeaf" : true } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "ISIDENTIFIER", "label" : "是否唯一", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" } ] }, { "md" : 6, "body" : [ { "name" : "ISCOMBIDENTIFIER", "label" : "是否业务主键", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "ISMANDATORY", "label" : "是否必填", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" } ] }, { "md" : 6, "body" : [ { "name" : "FIELDLENGTH", "label" : "文本长度", "type" : "input-number", "precision" : 0, "step" : 1 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "DEFAULTVALUE", "label" : "默认值", "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "VALUEMAX", "label" : "最大值", "type" : "input-number" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "VALUEMIN", "label" : "最小值", "type" : "input-number" } ] }, { "md" : 6, "body" : [ { "name" : "ENTITYDISPLAYSEQ", "label" : "排序", "required" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "DESCRIPTION", "label" : "描述", "type" : "input-text" } ] } ] }, { "name" : "SYS_ENTITYATTRIBUTE_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "METAID", "label" : "元属性", "hidden" : true, "type" : "input-text" }, { "name" : "ISKEY", "label" : "是否主键", "required" : true, "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO", "value" : "0" }, { "name" : "ENTITYID", "label" : "实体", "hidden" : true, "type" : "input-text" }, { "name" : "FUNC", "label" : "取值函数", "hidden" : true, "type" : "input-text" }, { "name" : "RULEID", "label" : "规则", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }