From cacafd874f168a7a90a0ccd512ce97284972aad6 Mon Sep 17 00:00:00 2001 From: pengqiang Date: Wed, 17 Nov 2021 16:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/admin/act_model_list.ftl | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) 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); + } + }); + } }