Skip to content

Commit b3326db

Browse files
committed
fix: 调整获取预测接口的请求参数
1 parent 67371e7 commit b3326db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ const getApprovalDetail = async (row: any) => {
162162
const data = await ProcessInstanceApi.getApprovalDetail({
163163
processDefinitionId: row.id,
164164
activityId: NodeId.START_USER_NODE_ID,
165-
processVariablesStr: JSON.stringify(row.processVariables)
165+
processVariablesStr: JSON.stringify(row.processVariablesStr)
166166
})
167167
168168
if (!data) {
@@ -224,7 +224,7 @@ const submitForm = async () => {
224224
// 预测流程节点会因为输入的参数值而产生新的预测结果值,所以在提交时需重新预测一次
225225
await getApprovalDetail({
226226
id: props.selectProcessDefinition.id,
227-
processVariablesStr: JSON.stringify(detailForm.value?.value)
227+
processVariablesStr: detailForm.value?.value
228228
})
229229
// 恢复已选择的审批人信息
230230
Object.keys(savedAssignees).forEach((id) => {

0 commit comments

Comments
 (0)