|
|
|
@ -357,12 +357,11 @@ export default { |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
'formData.userType': function(val, oldVal) { |
|
|
|
const types = ['assignee', 'candidateUsers', 'candidateGroups'] |
|
|
|
if (StrUtil.isNotBlank(oldVal)) { |
|
|
|
types.forEach(type => { |
|
|
|
delete this.element.businessObject.$attrs[`flowable:${type}`] |
|
|
|
delete this.formData[type] |
|
|
|
}) |
|
|
|
delete this.element.businessObject.$attrs[`flowable:${oldVal}`] |
|
|
|
delete this.formData[oldVal] |
|
|
|
// 清除已选人员数据 |
|
|
|
this.checkValues = ''; |
|
|
|
} |
|
|
|
// 写入userType节点信息到xml |
|
|
|
this.updateProperties({'flowable:userType': val}) |
|
|
|
|