Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5b6616a1
authored
Mar 04, 2025
by
smallNorthLee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review: 修改接口名称
parent
3b5a0ae2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/api/bpm/processInstance/index.ts
+5
-6
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
+1
-1
No files found.
src/api/bpm/processInstance/index.ts
View file @
5b6616a1
...
...
@@ -93,6 +93,11 @@ export const getApprovalDetail = async (params: any) => {
return
await
request
.
get
({
url
:
'/bpm/process-instance/get-approval-detail'
,
params
})
}
// 获取下一个执行的流程节点
export
const
getNextApprovalNodes
=
async
(
params
:
any
)
=>
{
return
await
request
.
get
({
url
:
'/bpm/process-instance/get-next-approval-nodes'
,
params
})
}
// 获取表单字段权限
export
const
getFormFieldsPermission
=
async
(
params
:
any
)
=>
{
return
await
request
.
get
({
url
:
'/bpm/process-instance/get-form-fields-permission'
,
params
})
...
...
@@ -102,8 +107,3 @@ export const getFormFieldsPermission = async (params: any) => {
export
const
getProcessInstanceBpmnModelView
=
async
(
id
:
string
)
=>
{
return
await
request
.
get
({
url
:
'/bpm/process-instance/get-bpmn-model-view?id='
+
id
})
}
// 获取下一个执行的流程节点
export
const
getNextFlowNodes
=
async
(
params
:
any
)
=>
{
return
await
request
.
get
({
url
:
'/bpm/process-instance/get-next-flow-nodes'
,
params
})
}
\ No newline at end of file
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
View file @
5b6616a1
...
...
@@ -718,7 +718,7 @@ const closePopover = (type: string, formRef: FormInstance | undefined) => {
const
initNextAssigneesFormField
=
async
()
=>
{
// 获取修改的流程变量, 暂时只支持流程表单
const
variables
=
getUpdatedProcessInstanceVariables
()
const
data
=
await
ProcessInstanceApi
.
getNext
Flow
Nodes
({
const
data
=
await
ProcessInstanceApi
.
getNext
Approval
Nodes
({
processInstanceId
:
props
.
processInstance
.
id
,
taskId
:
runningTask
.
value
.
id
,
processVariablesStr
:
JSON
.
stringify
(
variables
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment