diff --git a/src/main/resources/templates/admin/act_model_list.ftl b/src/main/resources/templates/admin/act_model_list.ftl index 220c877..aa68f8d 100644 --- a/src/main/resources/templates/admin/act_model_list.ftl +++ b/src/main/resources/templates/admin/act_model_list.ftl @@ -78,7 +78,7 @@ @@ -205,12 +205,19 @@ } } - - $(function () { - - - }); - + var design = function (id) { + layer.open({ + type: 2, + title: '', + shadeClose: true, + shade: 0.8, + area: ['90%', '90%'], + content: '${base}/activiti-editor/modeler.html?modelId==' + id, + end: function () { + location.reload(); + } + }); + }; diff --git a/src/main/resources/templates/admin/act_proc_def_list.ftl b/src/main/resources/templates/admin/act_proc_def_list.ftl index 4670920..ff15939 100644 --- a/src/main/resources/templates/admin/act_proc_def_list.ftl +++ b/src/main/resources/templates/admin/act_proc_def_list.ftl @@ -78,7 +78,7 @@