fix: 修复流程设计时流程候选人员无法回显问题
parent
f982d2f7fe
commit
0a2d2f0c3c
|
|
@ -493,7 +493,7 @@ export default {
|
|||
const val = attrs["flowable:candidateUsers"];
|
||||
if (attrs["flowable:dataType"] === "dynamic") {
|
||||
this.checkValues = that.expList.find(item => item.expression == val).name;
|
||||
this.selectValues = that.expList.filter(item => item.expression == val).id;
|
||||
this.selectValues = that.expList.find(item => item.expression == val).id;
|
||||
} else {
|
||||
const newArr = that.userList.filter(i => val.split(',').includes(i.userId))
|
||||
this.checkValues = newArr.map(item => item.nickName).join(',');
|
||||
|
|
@ -504,7 +504,7 @@ export default {
|
|||
const val = businessObject["candidateGroups"] || attrs["flowable:candidateGroups"];
|
||||
if (attrs["flowable:dataType"] === "dynamic") {
|
||||
this.checkValues = that.expList.find(item => item.expression == val).name;
|
||||
this.selectValues = that.expList.filter(item => item.expression == val).id;
|
||||
this.selectValues = that.expList.find(item => item.expression == val).id;
|
||||
} else {
|
||||
const newArr = that.groupList.filter(i => val.split(',').includes(i.roleId))
|
||||
this.checkValues = newArr.map(item => item.roleName).join(',');
|
||||
|
|
|
|||
Loading…
Reference in New Issue