feat: 流程节点多实例元素变量动态绑定分配人员
This commit is contained in:
parent
b19c2805e1
commit
763441a8db
@ -160,7 +160,7 @@
|
||||
</el-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
<el-input v-model="formData.elementVariable" @change="elementVariableChange"> </el-input>
|
||||
<el-input v-model="formData.elementVariable" @input="elementVariableChange"> </el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="完成条件">
|
||||
<template #label>
|
||||
@ -402,6 +402,10 @@ const elementVariableChange = (newVal) => {
|
||||
}
|
||||
loopCharacteristics.elementVariable = newVal && newVal.length > 0 ? newVal : undefined;
|
||||
updateProperties({ loopCharacteristics: loopCharacteristics });
|
||||
|
||||
// 动态输入分配人员
|
||||
formData.value.assignee = `\$\{${newVal}\}`;
|
||||
blurAssignee(formData.value.assignee);
|
||||
};
|
||||
const completionConditionChange = (newVal) => {
|
||||
let loopCharacteristics = props.element.businessObject.get<ModdleElement>('loopCharacteristics');
|
||||
|
Loading…
x
Reference in New Issue
Block a user