mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 08:22:41 +08:00
fix: 【BPM 工作流】修复 BPMN 屏蔽用户任务表单内用户字段的特殊处理逻辑
This commit is contained in:
parent
8afc7fd7aa
commit
f28778723d
@ -354,12 +354,13 @@ const resetTaskForm = () => {
|
|||||||
const changeCandidateStrategy = () => {
|
const changeCandidateStrategy = () => {
|
||||||
userTaskForm.value.candidateParam = []
|
userTaskForm.value.candidateParam = []
|
||||||
deptLevel.value = 1
|
deptLevel.value = 1
|
||||||
if (userTaskForm.value.candidateStrategy === CandidateStrategy.FORM_USER) {
|
// 注释 by 芋艿:这个交互很多用户反馈费解,https://t.zsxq.com/xNmas 所以暂时屏蔽
|
||||||
// 特殊处理表单内用户字段,当只有发起人选项时应选中发起人
|
// if (userTaskForm.value.candidateStrategy === CandidateStrategy.FORM_USER) {
|
||||||
if (!userFieldOnFormOptions.value || userFieldOnFormOptions.value.length <= 1) {
|
// // 特殊处理表单内用户字段,当只有发起人选项时应选中发起人
|
||||||
userTaskForm.value.candidateStrategy = CandidateStrategy.START_USER
|
// if (!userFieldOnFormOptions.value || userFieldOnFormOptions.value.length <= 1) {
|
||||||
}
|
// userTaskForm.value.candidateStrategy = CandidateStrategy.START_USER
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
updateElementTask()
|
updateElementTask()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user