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
d7664c92
authored
Feb 25, 2025
by
smallNorthLee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: processVariablesStr参数转string错误问题
parent
303bbbdd
Show 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 @
d7664c92
...
@@ -167,7 +167,7 @@ watch(
...
@@ -167,7 +167,7 @@ watch(
// 加载最新的审批详情
// 加载最新的审批详情
getApprovalDetail
({
getApprovalDetail
({
id
:
props
.
selectProcessDefinition
.
id
,
id
:
props
.
selectProcessDefinition
.
id
,
processVariablesStr
:
newValue
.
value
// 解决 GET 无法传递对象的问题,后端 String 再转 JSON
processVariablesStr
:
JSON
.
stringify
(
newValue
.
value
)
// 解决 GET 无法传递对象的问题,后端 String 再转 JSON
})
})
}
}
},
},
...
@@ -183,7 +183,7 @@ const getApprovalDetail = async (row: any) => {
...
@@ -183,7 +183,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
.
processVariablesStr
)
// 解决 GET 无法传递对象的问题,后端 String 再转 JSON
processVariablesStr
:
row
.
processVariablesStr
// 解决 GET 无法传递对象的问题,后端 String 再转 JSON
})
})
if
(
!
data
)
{
if
(
!
data
)
{
...
...
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