diff --git a/skyeye-web/src/main/webapp/js/planproject/planprojectlist.js b/skyeye-web/src/main/webapp/js/planproject/planprojectlist.js index 5b91017a8cba8d0c59374c6fcd99f51868ce02fb..75b96efc55282ff84f5bea33a90bfdf57420feef 100644 --- a/skyeye-web/src/main/webapp/js/planproject/planprojectlist.js +++ b/skyeye-web/src/main/webapp/js/planproject/planprojectlist.js @@ -47,6 +47,8 @@ layui.config({ del(data, obj); }else if (layEvent === 'edit') { //编辑 edit(data); + }else if (layEvent === 'flowChart') { //流程图设计 + flowChart(data); }else if (layEvent === 'projectDesc') { //项目简介 layer.open({ id: '项目简介', @@ -103,6 +105,24 @@ layui.config({ }}); } + //流程图设计 + function flowChart(data){ + rowId = data.id; + _openNewWindows({ + url: "../../tpl/flowchart/makeflowchart.html", + title: "流程图设计", + pageId: "planprojectedit", + maxmin: true, + callBack: function(refreshCode){ + if (refreshCode == '0') { + top.winui.window.msg("操作成功", {icon: 1,time: 2000}); + loadTable(); + } else if (refreshCode == '-9999') { + top.winui.window.msg("操作失败", {icon: 2,time: 2000}); + } + }}); + } + //刷新数据 $("body").on("click", "#reloadTable", function(){ loadTable(); diff --git a/skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html b/skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html index a9b5b62973360db0467fbf9dad488460e1dcc50f..91a233e420e864334035a62b22c0f3090b01409a 100644 --- a/skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html +++ b/skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html @@ -8,63 +8,67 @@ -
-
- +
+
- -
- -
+
+
+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • |
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • + +
  • + +
  • +
  • |
  • +
  • + +
  • +
  • + +
  • +
  • |
  • +
  • + +
  • +
  • + +
  • +
+
+ +
+ +
+
+
- -
-
+
+