mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
fix: processVariablesStr参数转string错误问题
This commit is contained in:
parent
303bbbdd7f
commit
d7664c92cd
@ -167,7 +167,7 @@ watch(
|
||||
// 加载最新的审批详情
|
||||
getApprovalDetail({
|
||||
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) => {
|
||||
const data = await ProcessInstanceApi.getApprovalDetail({
|
||||
processDefinitionId: row.id,
|
||||
activityId: NodeId.START_USER_NODE_ID,
|
||||
processVariablesStr: JSON.stringify(row.processVariablesStr) // 解决 GET 无法传递对象的问题,后端 String 再转 JSON
|
||||
processVariablesStr: row.processVariablesStr // 解决 GET 无法传递对象的问题,后端 String 再转 JSON
|
||||
})
|
||||
|
||||
if (!data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user