feat: 流程节点多实例元素变量动态绑定分配人员

This commit is contained in:
Nicky_213 2024-11-06 11:22:00 +08:00
parent b19c2805e1
commit 763441a8db

View File

@ -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');