File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/views/bpm/processInstance/detail Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1069,17 +1069,13 @@ const validateNormalForm = async () => {
1069
1069
return true
1070
1070
}
1071
1071
}
1072
- // TODO @小北 这里存在问题,如果当前节点没有可编辑的字段,在提交审批时 variables = {},会导致流程走向出错 @芋道
1073
- /** 场景:
1074
- 流程发起后,A节点字段可编辑,因为变量值变更,流程预测节点发生变化,A审批通过后,
1075
- B节点无可编辑字段且为审批人自选节点,在提交审批时variables = {}
1076
- */
1077
- /** 从可以编辑的流程表单字段,获取需要修改的流程实例的变量 */
1072
+
1078
1073
/**
1079
1074
* TODO @小北 TO @芋道
1080
1075
* 问题:这里存在一种场景会出现问题,流程发起后,A节点审批完成,B节点没有可编辑的流程字段且B节点为自选审批人节点,会导致流程审批人为空,
1081
1076
* 原因:因为没有可编辑的流程字段时props.writableFields为空,参数variables传递时也为空
1082
1077
*/
1078
+ /** 从可以编辑的流程表单字段,获取需要修改的流程实例的变量 */
1083
1079
const getUpdatedProcessInstanceVariables = () => {
1084
1080
const variables = {}
1085
1081
props .writableFields .forEach ((field ) => {
You can’t perform that action at this time.
0 commit comments