Skip to content

Commit 77a0801

Browse files
YunaiVgitee-org
authored andcommitted
!727 fix:simple设计器缺少“审批人自选“条件
Merge pull request !727 from SamllNorth_Lee/feature/bpm
2 parents 0e452aa + 1d17c18 commit 77a0801

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/api/bpm/model/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const getModelList = async (name: string | undefined) => {
3131
}
3232

3333
export const getModel = async (id: string) => {
34-
debugger
3534
return await request.get({ url: '/bpm/model/get?id=' + id })
3635
}
3736

src/components/SimpleProcessDesignerV2/src/node.ts

+5
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ export function useNodeForm(nodeType: NodeType) {
310310
showText = `表单内部门负责人`
311311
}
312312

313+
// 审批人自选
314+
if (configForm.value?.candidateStrategy === CandidateStrategy.APPROVE_USER_SELECT) {
315+
showText = `审批人自选`
316+
}
317+
313318
// 发起人自选
314319
if (configForm.value?.candidateStrategy === CandidateStrategy.START_USER_SELECT) {
315320
showText = `发起人自选`

0 commit comments

Comments
 (0)