Преглед изворни кода

!727 fix:simple设计器缺少“审批人自选“条件
Merge pull request !727 from SamllNorth_Lee/feature/bpm

芋道源码 пре 5 месеци
родитељ
комит
77a0801a37
2 измењених фајлова са 5 додато и 1 уклоњено
  1. 0 1
      src/api/bpm/model/index.ts
  2. 5 0
      src/components/SimpleProcessDesignerV2/src/node.ts

+ 0 - 1
src/api/bpm/model/index.ts

@@ -31,7 +31,6 @@ export const getModelList = async (name: string | undefined) => {
 }
 
 export const getModel = async (id: string) => {
-  debugger
   return await request.get({ url: '/bpm/model/get?id=' + id })
 }
 

+ 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 = `发起人自选`