ProcessLookFrom.cshtml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. @{
  2. ViewBag.Title = "查看流程进度";
  3. Layout = "~/Views/Shared/_FlowForm.cshtml";
  4. }
  5. <script>
  6. var processSchemeId = request('processSchemeId');
  7. var ActivityId = request('activityId');
  8. $(function () {
  9. var schemeContent;
  10. $.SetForm({
  11. url: "../../FlowManage/FlowProcess/GetProcessSchemeJson",
  12. param: { keyValue: processSchemeId },
  13. success: function (data) {
  14. schemeContent = JSON.parse(JSON.parse(data.SchemeContent).SchemeContent);
  15. $('#FlowPanel').flowdesign({
  16. width: $(window).width()+3,
  17. height: $(window).height(),
  18. flowcontent: schemeContent.Flow,
  19. haveTool: false,
  20. isprocessing: true,
  21. activityId: ActivityId,
  22. nodeData: schemeContent.Flow.nodes
  23. });
  24. }
  25. });
  26. });
  27. </script>
  28. <div id="FlowPanel" class="tab-pane active">
  29. </div>
  30. <style>
  31. body {
  32. overflow: hidden;
  33. }
  34. </style>