listFlowForDealing.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  8. <title>流程列表</title>
  9. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  11. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  12. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  13. <script type="text/javascript" src="/shares/js/constant.js"></script>
  14. <script type="text/javascript" src="/shares/js/common.js"></script>
  15. <script type="text/javascript">
  16. var grid = null;
  17. $(function() {
  18. grid = $("#maingrid4")
  19. .ligerGrid(
  20. {
  21. columns : [
  22. {
  23. display : '流程标题',
  24. name : 'insName',
  25. width : 250
  26. },
  27. {
  28. display : '流程类型',
  29. name : 'modelId.typeId.typeName',
  30. width : 120,
  31. render: function(row){
  32. var html = row.modelId.typeId.typeName;
  33. return html;
  34. }
  35. },
  36. {
  37. display : '流程模版',
  38. name : 'modelId.modelName',
  39. width : 120,
  40. render: function(row){
  41. var html = row.modelId.modelName;
  42. return html;
  43. }
  44. },
  45. {
  46. display : '流程状态',
  47. name : 'state.dataName',
  48. width : 100,
  49. render: function(row){
  50. var html = row.state.dataName;
  51. return html;
  52. }
  53. },
  54. {
  55. display : '流程发起者',
  56. name : 'creator.username',
  57. width : 100,
  58. render: function(row){
  59. var html = row.creator.username;
  60. return html;
  61. }
  62. },
  63. {
  64. display : '流程发起时间',
  65. name : 'createdate',
  66. width : 200
  67. },
  68. {
  69. display : '操作',
  70. isAllowHide : false,
  71. render : function(row) {
  72. var html = "";//操作A标签
  73. return html;
  74. }
  75. } ],
  76. usePager : true,
  77. pageSize : 20,
  78. url : 'SampleAction.do?task=xxx&time='
  79. + new Date().getTime(),
  80. pageParmName : 'p', //页索引参数名,(提交给服务器)
  81. pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器)
  82. width : '99.9%',
  83. height : '99%',
  84. onError: function(){alert("数据加载失败,请刷新页面!");}
  85. });
  86. $("#pageloading").hide();
  87. });
  88. </script>
  89. </head>
  90. <body>
  91. <div class="container-layout">
  92. <div id="title" class="form-button" style="width: 100%;">
  93. <input onclick="" type="button" value="关闭" class="l-button">
  94. </div>
  95. <div id="maingrid4" style="margin: 0; padding: 0; clear: both;"></div>
  96. <div style="display: none;">
  97. </div>
  98. </div>
  99. <%@ include file="/include/message.jsp"%>
  100. </body>
  101. </html>