Pre Merge pull request !152 from Nicky_213/dev_nicky

This commit is contained in:
Nicky_213 2024-11-06 03:29:19 +00:00 committed by Gitee
commit 2ed8e3d485
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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