|
@@ -301,6 +301,7 @@ public class CommonBtnController extends BaseController {
|
|
|
// 调用执行脚本接口
|
|
|
fromUtils.triggerScript(commonEntity);
|
|
|
}
|
|
|
+ commonEntity.getCommMap().putAll(commonEntity.getBtnParametersMap());
|
|
|
commonService.edit(commonEntity);
|
|
|
return AjaxResult.success("执行脚本成功!");
|
|
|
} else if (commonEntity.getBasicMap().get("visible").toString().equals("false")) {
|
|
@@ -343,6 +344,7 @@ public class CommonBtnController extends BaseController {
|
|
|
echoNodeFormData.handleSubmitForm(bpmRunNodeFormDateVo);
|
|
|
return AjaxResult.success("启动流程成功!");
|
|
|
} else {
|
|
|
+ commonEntity.getCommMap().putAll(commonEntity.getBtnParametersMap());
|
|
|
toAjax(commonService.edit(commonEntity));
|
|
|
return AjaxResult.success("启动流程成功!");
|
|
|
}
|