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