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
b3326db7
authored
Feb 18, 2025
by
lizhixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 调整获取预测接口的请求参数
parent
67371e75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
+2
-2
No files found.
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
View file @
b3326db7
...
@@ -162,7 +162,7 @@ const getApprovalDetail = async (row: any) => {
...
@@ -162,7 +162,7 @@ const getApprovalDetail = async (row: any) => {
const
data
=
await
ProcessInstanceApi
.
getApprovalDetail
({
const
data
=
await
ProcessInstanceApi
.
getApprovalDetail
({
processDefinitionId
:
row
.
id
,
processDefinitionId
:
row
.
id
,
activityId
:
NodeId
.
START_USER_NODE_ID
,
activityId
:
NodeId
.
START_USER_NODE_ID
,
processVariablesStr
:
JSON
.
stringify
(
row
.
processVariables
)
processVariablesStr
:
JSON
.
stringify
(
row
.
processVariables
Str
)
})
})
if
(
!
data
)
{
if
(
!
data
)
{
...
@@ -224,7 +224,7 @@ const submitForm = async () => {
...
@@ -224,7 +224,7 @@ const submitForm = async () => {
// 预测流程节点会因为输入的参数值而产生新的预测结果值,所以在提交时需重新预测一次
// 预测流程节点会因为输入的参数值而产生新的预测结果值,所以在提交时需重新预测一次
await
getApprovalDetail
({
await
getApprovalDetail
({
id
:
props
.
selectProcessDefinition
.
id
,
id
:
props
.
selectProcessDefinition
.
id
,
processVariablesStr
:
JSON
.
stringify
(
detailForm
.
value
?.
value
)
processVariablesStr
:
detailForm
.
value
?.
value
})
})
// 恢复已选择的审批人信息
// 恢复已选择的审批人信息
Object
.
keys
(
savedAssignees
).
forEach
((
id
)
=>
{
Object
.
keys
(
savedAssignees
).
forEach
((
id
)
=>
{
...
...
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