mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2025-10-29 09:28:48 +08:00
fix: 【BPM 工作流】避免在 BpmHttpRequestUtils 中重复添加 processInstanceId 参数
This commit is contained in:
@ -108,7 +108,9 @@ public class BpmHttpRequestUtils {
|
||||
Map<String, Object> processVariables = processInstance.getProcessVariables();
|
||||
MultiValueMap<String, String> body = new LinkedMultiValueMap<>();
|
||||
addHttpRequestParam(body, bodySettings, processVariables);
|
||||
body.add("processInstanceId", processInstance.getId());
|
||||
if (!body.containsKey("processInstanceId")) { // 避免重复添加
|
||||
body.add("processInstanceId", processInstance.getId());
|
||||
}
|
||||
return body;
|
||||
}
|
||||
|
||||
|
||||
@ -180,7 +180,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
#end
|
||||
},
|
||||
toolbarConfig: {
|
||||
refresh: { code: 'query' },
|
||||
refresh: true,
|
||||
search: true,
|
||||
},
|
||||
} as VxeTableGridOptions<${simpleClassName}Api.${simpleClassName}>,
|
||||
|
||||
@ -131,7 +131,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
enabled: true,
|
||||
},
|
||||
toolbarConfig: {
|
||||
refresh: { code: 'query' },
|
||||
refresh: true,
|
||||
search: true,
|
||||
},
|
||||
#else
|
||||
|
||||
@ -174,7 +174,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
#end
|
||||
},
|
||||
toolbarConfig: {
|
||||
refresh: { code: 'query' },
|
||||
refresh: true,
|
||||
search: true,
|
||||
},
|
||||
} as VxeTableGridOptions<${simpleClassName}Api.${simpleClassName}>,
|
||||
|
||||
@ -125,7 +125,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
enabled: true,
|
||||
},
|
||||
toolbarConfig: {
|
||||
refresh: { code: 'query' },
|
||||
refresh: true,
|
||||
search: true,
|
||||
},
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user