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

Merge pull request !727 from SamllNorth_Lee/feature/bpm
This commit is contained in:
芋道源码 authored and Gitee committed 2025-03-12 22:54:05 +00:00
commit 77a0801a37
2 files changed
+5 -1

No files matched your search

-1
View File
@@ -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 })
}
@@ -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 = `发起人自选`