@@ -14,7 +14,7 @@ public interface FlowConst { | |||||
public static final int NEW = 1;//新增 | public static final int NEW = 1;//新增 | ||||
public static final int EDIT = 2;//编辑 | public static final int EDIT = 2;//编辑 | ||||
} | } | ||||
//流程按钮 | //流程按钮 | ||||
class Button extends StrEnum { | class Button extends StrEnum { | ||||
public static Button instance = new Button(); | public static Button instance = new Button(); | ||||
@@ -32,7 +32,7 @@ public interface FlowConst { | |||||
//新增 | //新增 | ||||
public static StrEnumBean ADD = instance.addEnum("add", "新增"); | public static StrEnumBean ADD = instance.addEnum("add", "新增"); | ||||
//删除 | //删除 | ||||
public static StrEnumBean DEL = instance.addEnum("del", "删除"); | |||||
public static StrEnumBean DEL = instance.addEnum("remove", "删除"); | |||||
//保存 | //保存 | ||||
public static StrEnumBean SAVE = instance.addEnum("save", "保存"); | public static StrEnumBean SAVE = instance.addEnum("save", "保存"); | ||||
@@ -108,7 +108,9 @@ | |||||
"dataset": "flow", | "dataset": "flow", | ||||
"field": "pri_task_id" | "field": "pri_task_id" | ||||
}, | }, | ||||
"events": {}, | |||||
"events": { | |||||
"on-change": "onTaskChange" | |||||
}, | |||||
"vars": { | "vars": { | ||||
"$ref": "$ref" | "$ref": "$ref" | ||||
} | } | ||||
@@ -589,7 +591,7 @@ | |||||
"id": "${newId()}", | "id": "${newId()}", | ||||
"type": "fx-select", | "type": "fx-select", | ||||
"props": { | "props": { | ||||
"name":"flowSelComment", | |||||
"name":"flowSelCommentRef", | |||||
"label": "备选意见", | "label": "备选意见", | ||||
"clearable": true, | "clearable": true, | ||||
"labelWidth": 100, | "labelWidth": 100, | ||||
@@ -598,7 +600,12 @@ | |||||
"field": "selComment", | "field": "selComment", | ||||
"size": "default" | "size": "default" | ||||
}, | }, | ||||
"events": {} | |||||
"events": { | |||||
"on-change": "onSelCommentChange" | |||||
}, | |||||
"vars": { | |||||
"$ref": "$ref" | |||||
} | |||||
}, | }, | ||||
{ | { | ||||
"id": "${newId()}", | "id": "${newId()}", | ||||
@@ -760,7 +767,7 @@ | |||||
"id": "${newId()}", | "id": "${newId()}", | ||||
"type": "fx-select", | "type": "fx-select", | ||||
"props": { | "props": { | ||||
"name":"flowSelComment", | |||||
"name":"flowSelCommentRef", | |||||
"label": "备选意见", | "label": "备选意见", | ||||
"clearable": true, | "clearable": true, | ||||
"labelWidth": 100, | "labelWidth": 100, | ||||
@@ -769,7 +776,12 @@ | |||||
"field": "selComment", | "field": "selComment", | ||||
"size": "default" | "size": "default" | ||||
}, | }, | ||||
"events": {} | |||||
"events": { | |||||
"on-change": "onSelCommentChange" | |||||
}, | |||||
"vars": { | |||||
"$ref": "$ref" | |||||
} | |||||
}, | }, | ||||
{ | { | ||||
"id": "${newId()}", | "id": "${newId()}", | ||||