diff --git a/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue b/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue index ffbf187d..09d6154f 100644 --- a/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue +++ b/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue @@ -26,19 +26,13 @@
-
未满足其它条件时,将进入此分支(该分支不可编辑和删除)
+
未满足其它条件时,将进入此分支(该分支不可编辑和删除)
- + - +
@@ -169,6 +164,7 @@ import { } from '../consts' import { getDefaultConditionNodeName } from '../utils' import { useFormFields } from '../node' +import { BpmModelFormType } from '@/utils/constants' const message = useMessage() // 消息弹窗 defineOptions({ name: 'ConditionNodeConfig' @@ -177,8 +173,8 @@ const formType = inject>('formType') // 表单类型 const conditionConfigTypes = computed(() => { return CONDITION_CONFIG_TYPES.filter((item) => { // 业务表单暂时去掉条件规则选项 - if (formType?.value !== 10) { - return item.value === ConditionType.RULE + if (formType?.value === BpmModelFormType.CUSTOM && item.value === ConditionType.RULE) { + return false } else { return true }