running-manage.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <!--[if lt IE 9]>
  10. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  11. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  12. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  13. <![endif]-->
  14. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
  15. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
  16. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
  17. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
  18. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  20. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  21. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  22. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  23. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqgrid/css/ui.jqgrid.css" />
  24. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  25. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/i18n/grid.locale-cn.js"></script>
  26. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/jquery.jqGrid.min.js"></script>
  27. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  28. <!--[if IE 6]>
  29. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  30. <script>DD_belatedPNG.fix('*');</script>
  31. <![endif]-->
  32. <script type="text/javascript">
  33. $(function() {
  34. $(window).resize(function(){
  35. $("#tree").setGridWidth($(window).width()-40); 
  36. });
  37. $("#tree").jqGrid({
  38. caption:'运行中流程查看',
  39. url : '${ctx}/myconsole/complaint/compactflow/selectRunFlow',
  40. editurl:"${ctx}/myconsole/loginlog/saveOrUpdate",
  41. mtype : "POST",
  42. datatype : "json",
  43. sidx : "opttime",
  44. sord : "desc",
  45. prmNames : {
  46. id: "keyid", 
  47. oper:"oper",    
  48. addoper:"add",
  49. editoper:"edit",
  50. deloper:"del" 
  51. },
  52. colModel : [{
  53. label : '执行ID',
  54. name : 'recordtime',
  55. editable: true,
  56. width : 60,
  57. formoptions:{
  58. elmsuffix:"*"
  59. },
  60. editrules:{required:true}
  61. },{
  62. label : '流程实例ID',
  63. name : 'sendstate',
  64. width : 35,
  65. editable: true,
  66. },{
  67. label : '流程定义ID',
  68. name : 'emailaddress',
  69. width : 80,
  70. editable: true,
  71. edittype:"text"
  72. },{
  73. label : '当前节点',
  74. name : 'infocontent',
  75. width : 80,
  76. editable: true,
  77. edittype:"text"
  78. },{
  79. label : '是否挂起',
  80. name : 'infocontent',
  81. width : 80,
  82. editable: true,
  83. edittype:"text"
  84. }],
  85. rownumbers : true,//添加左侧行号
  86. viewrecords : true,//是否在浏览导航栏显示记录总数
  87. rowNum : 10,//每页显示记录数
  88. rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
  89. autowidth : true,
  90. height : 'auto',
  91. pager : "#pager",
  92. });
  93. jQuery('#tree').navGrid('#pager',
  94. // the buttons to appear on the toolbar of the grid
  95. {
  96. edit : false,
  97. add : false,
  98. del : false,
  99. search : true,
  100. refresh : true,
  101. view : true,
  102. position : "left",
  103. cloneToTop : true
  104. },
  105. // options for the Delete Dailog
  106. {
  107. errorTextFormat : function(data) {
  108. return 'Error: ' + data.responseText
  109. }
  110. },{},{},{
  111. // search options 这里支持多条件查询
  112. multipleSearch: true,
  113. sopt:['eq','ne','cn','nc','lt','le','gt','ge'],
  114. afterSubmit: function(r, data) {
  115. var messageString = r.responseText;
  116. var mesObj = eval('(' + messageString + ')');
  117. return [mesObj.state, mesObj.message];
  118. }
  119. }
  120. );
  121. /* jQuery('#tree').jqGrid('bindKeys'); */
  122. })
  123. </script>
  124. <title>我的桌面</title>
  125. </head>
  126. <body>
  127. <div class="page-container">
  128. <table id="tree"></table>
  129. <div id="pager"></div>
  130. </div>
  131. <footer class="footer mt-20">
  132. <div class="container">
  133. <p></p>
  134. </div>
  135. </footer>
  136. </body>
  137. </html>