Browse Source

fix:simple设计器缺少“审批人自选“条件

smallNorthLee 5 months ago
parent
commit
9e5726d599
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/components/SimpleProcessDesignerV2/src/node.ts

+ 5 - 0
src/components/SimpleProcessDesignerV2/src/node.ts

@@ -310,6 +310,11 @@ export function useNodeForm(nodeType: NodeType) {
       showText = `表单内部门负责人`
     }
 
+    // 审批人自选
+    if (configForm.value?.candidateStrategy === CandidateStrategy.APPROVE_USER_SELECT) {
+      showText = `审批人自选`
+    }
+
     // 发起人自选
     if (configForm.value?.candidateStrategy === CandidateStrategy.START_USER_SELECT) {
       showText = `发起人自选`