Commit 449e0d73 authored by 赵啸非's avatar 赵啸非

添加cad 级联组件

parent f3471e9a
Pipeline #2971 canceled with stages
...@@ -19,7 +19,8 @@ public enum ComponentEnum { ...@@ -19,7 +19,8 @@ public enum ComponentEnum {
AREA("area", "区域选择栏"), AREA("area", "区域选择栏"),
IMAGE("@image", "图片选择"), IMAGE("@image", "图片选择"),
LIST("list", "横向单列表"), LIST("list", "横向单列表"),
DYNAMIC_TABLE("dt", "动态表格"); DYNAMIC_TABLE("dt", "动态表格"),
CASCADE("csd", "级联选择");
private String value; private String value;
private String desc; private String desc;
......
...@@ -40,6 +40,9 @@ public abstract class DesignComponent { ...@@ -40,6 +40,9 @@ public abstract class DesignComponent {
return new DesignListComponent(type); return new DesignListComponent(type);
} else if (type.equals(ComponentEnum.DYNAMIC_TABLE.getValue())) { } else if (type.equals(ComponentEnum.DYNAMIC_TABLE.getValue())) {
return new DesignDynamicTableComponent(type); return new DesignDynamicTableComponent(type);
} else if (type.equals(ComponentEnum.CASCADE.getValue())) {
//return new DesignCascadeComponent(type);
return null;
} }
// else if (type.equals(ComponentEnum.AREA.getValue())) { // else if (type.equals(ComponentEnum.AREA.getValue())) {
// return new AreaComponent(type); // return new AreaComponent(type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment