listFlowForDeal.jsp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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}/main.css"
  10. rel="stylesheet" type="text/css" />
  11. <link
  12. href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css"
  13. rel="stylesheet" type="text/css" />
  14. <script
  15. src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js"
  16. type="text/javascript"></script>
  17. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  18. <script type="text/javascript" src="/shares/js/constant.js"></script>
  19. <script type="text/javascript" src="/shares/js/common.js"></script>
  20. <script type="text/javascript">
  21. var grid = null;
  22. $(function() {
  23. grid = $("#maingrid4").ligerGrid(
  24. { columns : [ { display : '流程标题', name : 'insId.insName', width : 250,
  25. render : function (row){
  26. var html = row.insId.insName;
  27. return html;
  28. }},
  29. { display : '当前环节', name : 'tmodelId.tmodelName', width : 100,
  30. render : function (row){
  31. var html = row.tmodelId.tmodelName;
  32. return html;
  33. } },
  34. { display : '流程模版', name : 'modelId.modelName', width : 120,
  35. render : function (row){
  36. var html = row.modelId.modelName;
  37. return html;
  38. } },
  39. { display : '流程发起者', name : 'insId.creator.username', width : 100,
  40. render : function (row){
  41. var html = row.insId.creator.username;
  42. return html;
  43. } },
  44. { display : '流程发起时间', name : 'insId.createdate', width : 200,
  45. render : function (row){
  46. var html = row.insId.createdate;
  47. return html;
  48. } },
  49. { display : '操作', isAllowHide : false,
  50. render : function(row) {
  51. var html="";//操作的A标签
  52. return html;
  53. }
  54. } ],
  55. usePager : true,
  56. pageSize : 20,
  57. url : 'SampleAction.do?taks=xx&time=' + new Date().getTime(),
  58. pageParmName : 'p', //页索引参数名,(提交给服务器)
  59. pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器)
  60. width : '99.9%',
  61. height : '99%',//getParentHeight()-67,
  62. onError: function(){alert("数据加载失败,请刷新页面!");}
  63. });
  64. $("#pageloading").hide();
  65. });
  66. </script>
  67. </head>
  68. <body>
  69. <div class="container-layout">
  70. <div id="title" class="form-button" style="width: 100%;">
  71. <input onclick="" type="button" value="关闭" class="l-button">
  72. </div>
  73. <div id="maingrid4" style="margin: 0; padding: 0;clear: both;"></div>
  74. <div style="display: none;">
  75. </div>
  76. </div>
  77. <%@ include file="/include/message.jsp"%>
  78. </body>
  79. </html>