Skip to content

Commit 5b6616a

Browse files
committed
review: 修改接口名称
1 parent 3b5a0ae commit 5b6616a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/api/bpm/processInstance/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ export const getApprovalDetail = async (params: any) => {
9393
return await request.get({ url: '/bpm/process-instance/get-approval-detail', params })
9494
}
9595

96+
// 获取下一个执行的流程节点
97+
export const getNextApprovalNodes = async (params: any) => {
98+
return await request.get({ url: '/bpm/process-instance/get-next-approval-nodes', params })
99+
}
100+
96101
// 获取表单字段权限
97102
export const getFormFieldsPermission = async (params: any) => {
98103
return await request.get({ url: '/bpm/process-instance/get-form-fields-permission', params })
@@ -102,8 +107,3 @@ export const getFormFieldsPermission = async (params: any) => {
102107
export const getProcessInstanceBpmnModelView = async (id: string) => {
103108
return await request.get({ url: '/bpm/process-instance/get-bpmn-model-view?id=' + id })
104109
}
105-
106-
// 获取下一个执行的流程节点
107-
export const getNextFlowNodes = async (params: any) => {
108-
return await request.get({ url: '/bpm/process-instance/get-next-flow-nodes', params })
109-
}

src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ const closePopover = (type: string, formRef: FormInstance | undefined) => {
718718
const initNextAssigneesFormField = async () => {
719719
// 获取修改的流程变量, 暂时只支持流程表单
720720
const variables = getUpdatedProcessInstanceVariables()
721-
const data = await ProcessInstanceApi.getNextFlowNodes({
721+
const data = await ProcessInstanceApi.getNextApprovalNodes({
722722
processInstanceId: props.processInstance.id,
723723
taskId: runningTask.value.id,
724724
processVariablesStr: JSON.stringify(variables)

0 commit comments

Comments
 (0)