fix: 修复会签节点无法审批问题

rf
tony 2023-02-09 16:02:02 +08:00
parent e63dc6f458
commit 736db6506f
3 changed files with 4 additions and 4 deletions

View File

@ -1018,7 +1018,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
MultiInstanceLoopCharacteristics multiInstance = userTask.getLoopCharacteristics();
// 会签节点
if (Objects.nonNull(multiInstance)) {
flowNextDto.setVars(multiInstance.getElementVariable());
flowNextDto.setVars(multiInstance.getInputDataItem());
flowNextDto.setType(ProcessConstants.PROCESS_MULTI_INSTANCE);
flowNextDto.setDataType(ProcessConstants.DYNAMIC);
} else {
@ -1055,7 +1055,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
MultiInstanceLoopCharacteristics multiInstance = userTask.getLoopCharacteristics();
// 会签节点
if (Objects.nonNull(multiInstance)) {
flowNextDto.setVars(multiInstance.getElementVariable());
flowNextDto.setVars(multiInstance.getInputDataItem());
flowNextDto.setType(ProcessConstants.PROCESS_MULTI_INSTANCE);
flowNextDto.setDataType(ProcessConstants.DYNAMIC);
} else {

View File

@ -235,7 +235,7 @@ export default {
if (selection instanceof Array) {
const selectVal = selection.map(item => item.userId);
if (this.multiInstanceVars) {
this.checkValues = selection;
this.checkValues = selectVal;
} else {
this.checkValues = selectVal.join(',');
}

View File

@ -272,7 +272,7 @@ export default {
if (selection instanceof Array) {
const selectVal = selection.map(item => item.userId);
if (this.multiInstanceVars) {
this.$set(this.taskForm.variables, this.multiInstanceVars, selection);
this.$set(this.taskForm.variables, this.multiInstanceVars, selectVal);
} else {
this.$set(this.taskForm.variables, "approval", selectVal.join(','));
}