Skip to content

Commit f287787

Browse files
committed
fix: 【BPM 工作流】修复 BPMN 屏蔽用户任务表单内用户字段的特殊处理逻辑
1 parent 8afc7fd commit f287787

File tree

1 file changed

+7
-6
lines changed
  • src/components/bpmnProcessDesigner/package/penal/task/task-components

1 file changed

+7
-6
lines changed

src/components/bpmnProcessDesigner/package/penal/task/task-components/UserTask.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,13 @@ const resetTaskForm = () => {
354354
const changeCandidateStrategy = () => {
355355
userTaskForm.value.candidateParam = []
356356
deptLevel.value = 1
357-
if (userTaskForm.value.candidateStrategy === CandidateStrategy.FORM_USER) {
358-
// 特殊处理表单内用户字段,当只有发起人选项时应选中发起人
359-
if (!userFieldOnFormOptions.value || userFieldOnFormOptions.value.length <= 1) {
360-
userTaskForm.value.candidateStrategy = CandidateStrategy.START_USER
361-
}
362-
}
357+
// 注释 by 芋艿:这个交互很多用户反馈费解,https://t.zsxq.com/xNmas 所以暂时屏蔽
358+
// if (userTaskForm.value.candidateStrategy === CandidateStrategy.FORM_USER) {
359+
// // 特殊处理表单内用户字段,当只有发起人选项时应选中发起人
360+
// if (!userFieldOnFormOptions.value || userFieldOnFormOptions.value.length <= 1) {
361+
// userTaskForm.value.candidateStrategy = CandidateStrategy.START_USER
362+
// }
363+
// }
363364
updateElementTask()
364365
}
365366

0 commit comments

Comments
 (0)