diff --git a/src/main/resources/templates/admin/act_model_list.ftl b/src/main/resources/templates/admin/act_model_list.ftl index 76e5b9a..220c877 100644 --- a/src/main/resources/templates/admin/act_model_list.ftl +++ b/src/main/resources/templates/admin/act_model_list.ftl @@ -191,16 +191,18 @@ var deploy = function (id) { - var params = {id: id}; - $.ajax({ - url: '${base}/actModel/deploy', - data: params, - dataType: "json", - async: false, - success: function (data) { - layer.msg(data.msg); - } - }); + if (window.confirm('部署后请在流程定义里配置任务审批人,新发起的审批将按最新的流程定义运行,确定要部署吗? ')) { + var params = {id: id}; + $.ajax({ + url: '${base}/actModel/deploy', + data: params, + dataType: "json", + async: false, + success: function (data) { + layer.msg(data.msg); + } + }); + } }