|
|
|
@ -1226,22 +1226,22 @@ public class BlockFormEnumUtil {
|
|
|
|
|
/**
|
|
|
|
|
* 表单功能明细 触发信息
|
|
|
|
|
* <per>
|
|
|
|
|
* onclick script 元素上发生鼠标点击时触发。
|
|
|
|
|
* ondblclick script 元素上发生鼠标双击时触发。
|
|
|
|
|
* ondrag script 元素被拖动时运行的脚本。
|
|
|
|
|
* ondragend script 在拖动操作末端运行的脚本。
|
|
|
|
|
* ondragenter script 当元素元素已被拖动到有效拖放区域时运行的脚本。
|
|
|
|
|
* ondragleave script 当元素离开有效拖放目标时运行的脚本。
|
|
|
|
|
* ondragover script 当元素在有效拖放目标上正在被拖动时运行的脚本。
|
|
|
|
|
* ondragstart script 在拖动操作开端运行的脚本。
|
|
|
|
|
* ondrop script 当被拖元素正在被拖放时运行的脚本。
|
|
|
|
|
* onmousedown script 当元素上按下鼠标按钮时触发。
|
|
|
|
|
* onmousemove script 当鼠标指针移动到元素上时触发。
|
|
|
|
|
* onmouseout script 当鼠标指针移出元素时触发。
|
|
|
|
|
* onmouseover script 当鼠标指针移动到元素上时触发。
|
|
|
|
|
* onmouseup script 当在元素上释放鼠标按钮时触发。
|
|
|
|
|
* onmousewheel script 当鼠标滚轮正在被滚动时运行的脚本。
|
|
|
|
|
* onscroll script 当元素滚动条被滚动时运行的脚本。
|
|
|
|
|
* onclick script 元素上发生鼠标点击时触发。
|
|
|
|
|
* ondblclick script 元素上发生鼠标双击时触发。
|
|
|
|
|
* ondrag script 元素被拖动时运行的脚本。
|
|
|
|
|
* ondragend script 在拖动操作末端运行的脚本。
|
|
|
|
|
* ondragenter script 当元素元素已被拖动到有效拖放区域时运行的脚本。
|
|
|
|
|
* ondragleave script 当元素离开有效拖放目标时运行的脚本。
|
|
|
|
|
* ondragover script 当元素在有效拖放目标上正在被拖动时运行的脚本。
|
|
|
|
|
* ondragstart script 在拖动操作开端运行的脚本。
|
|
|
|
|
* ondrop script 当被拖元素正在被拖放时运行的脚本。
|
|
|
|
|
* onmousedown script 当元素上按下鼠标按钮时触发。
|
|
|
|
|
* onmousemove script 当鼠标指针移动到元素上时触发。
|
|
|
|
|
* onmouseout script 当鼠标指针移出元素时触发。
|
|
|
|
|
* onmouseover script 当鼠标指针移动到元素上时触发。
|
|
|
|
|
* onmouseup script 当在元素上释放鼠标按钮时触发。
|
|
|
|
|
* onmousewheel script 当鼠标滚轮正在被滚动时运行的脚本。
|
|
|
|
|
* onscroll script 当元素滚动条被滚动时运行的脚本。
|
|
|
|
|
* </per>
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
@ -1429,4 +1429,54 @@ public class BlockFormEnumUtil {
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 菜单类型
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum MENU_TYPE {
|
|
|
|
|
FORM_METHOD(1, "FORM_METHOD", "表单功能"),
|
|
|
|
|
OUTER_CHAIN(2, "OUTER_CHAIN", "外链");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String name;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
MENU_TYPE(int value, String name, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.name = name;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
|
return name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static MENU_TYPE valueOf(int val) {
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|
if (values()[i].value == val) {
|
|
|
|
|
return values()[i];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static int descOf(String desc) {
|
|
|
|
|
int tmp = 1;
|
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
|
if (values()[i].name.equals(desc)) {
|
|
|
|
|
tmp = values()[i].value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|