Skip to content

Commit 29a1801

Browse files
committed
增加会签或签
1 parent a0a3c5c commit 29a1801

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<el-form-item label="循环基数" key="loopCardinality">
1616
<el-input v-model="loopInstanceForm.loopCardinality" clearable @change="updateLoopCardinality" />
1717
</el-form-item>
18-
<el-form-item label="集合" key="collection">
18+
<el-form-item label="集合" key="collection" v-show="false">
1919
<el-input v-model="loopInstanceForm.collection" clearable @change="updateLoopBase" />
2020
</el-form-item>
2121
<el-form-item label="元素变量" key="elementVariable">
@@ -131,7 +131,7 @@ export default {
131131
if (type === "SequentialMultiInstance") {
132132
this.multiLoopInstance = window.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics", { isSequential: true });
133133
} else {
134-
this.multiLoopInstance = window.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics");
134+
this.multiLoopInstance = window.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics", { collection: "${coll_userList}" });
135135
}
136136
window.bpmnInstances.modeling.updateProperties(this.bpmnElement, {
137137
loopCharacteristics: this.multiLoopInstance

src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<el-option v-for="item in postOptions" :key="parseInt(item.id)" :label="item.name" :value="parseInt(item.id)" />
5454
</el-select>
5555
</el-form-item>
56-
<el-form-item v-if="form.type === 30" label="指定用户" prop="userIds">
56+
<el-form-item v-if="form.type === 30 || form.type === 31 || form.type === 32" label="指定用户" prop="userIds">
5757
<el-select v-model="form.userIds" multiple clearable style="width: 100%">
5858
<el-option v-for="item in userOptions" :key="parseInt(item.id)" :label="item.nickname" :value="parseInt(item.id)" />
5959
</el-select>
@@ -215,7 +215,7 @@ export default {
215215
this.form.deptIds.push(...row.options);
216216
} else if (row.type === 22) {
217217
this.form.postIds.push(...row.options);
218-
} else if (row.type === 30) {
218+
} else if (row.type === 30 || row.type === 31 || row.type === 32) {
219219
this.form.userIds.push(...row.options);
220220
} else if (row.type === 40) {
221221
this.form.userGroupIds.push(...row.options);
@@ -240,7 +240,7 @@ export default {
240240
form.options = form.deptIds;
241241
} else if (form.type === 22) {
242242
form.options = form.postIds;
243-
} else if (form.type === 30) {
243+
} else if (form.type === 30 || form.type === 31 || form.type === 32) {
244244
form.options = form.userIds;
245245
} else if (form.type === 40) {
246246
form.options = form.userGroupIds;
@@ -302,7 +302,7 @@ export default {
302302
return postOption.name;
303303
}
304304
}
305-
} else if (type === 30) {
305+
} else if (type === 30 || type === 31 || type === 32) {
306306
for (const userOption of this.userOptions) {
307307
if (userOption.id === option) {
308308
return userOption.nickname;

0 commit comments

Comments
 (0)