fix: 修复会签节点无法审批问题
This commit is contained in:
@@ -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(',');
|
||||
}
|
||||
|
||||
@@ -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(','));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user