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

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

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 })
}

View File

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