alreadydutylist.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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/static/h-ui.admin/skin/default/skin.css" id="skin" />
  18. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" >
  20. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
  21. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  22. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  23. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  24. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  25. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  26. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqgrid/css/ui.jqgrid.css" />
  27. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  28. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/i18n/grid.locale-cn.js"></script>
  29. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/jquery.jqGrid.min.js"></script>
  30. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  31. <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
  32. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
  33. <!--[if IE 6]>
  34. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  35. <script>DD_belatedPNG.fix('*');</script>
  36. <![endif]-->
  37. <script type="text/javascript">
  38. function showFlowPic(executionId){
  39. layer.open({
  40. title:"查看流转",
  41. type: 1,
  42. anim: 2,
  43. area: ['600px', '400px'],
  44. content: "<div style='margin:5px;'><img style='width:100%' src='${ctx}/myconsole/myflow/show?executionId="+executionId+"'></div>"
  45. });
  46. }
  47. $(function() {
  48. $(window).resize(function(){
  49. $("#jqGrid").setGridWidth($(window).width()-41); 
  50. });
  51. $("#jqGrid").jqGrid({
  52. url : '${ctx}/myconsole/complaint/duty/getAlreadyDutyPage',
  53. editurl:"${ctx}/myconsole/complaint/duty/",
  54. mtype : "POST",
  55. datatype : "json",
  56. multiselect: false,
  57. caption1:'待办责任追究列表',
  58. prmNames : { //定义表单的主键 // Default valuesprmNames: {page:“page”,rows:“rows”, sort: “sidx”,order: “sord”, search:“_search”, nd:“nd”, npage:null} 当参数为null时不会被发到服务器端
  59. id: "appealid", 
  60. oper:"oper",    
  61. addoper:"add",
  62. editoper:"edit",
  63. deloper:"del" 
  64. },
  65. colModel : [ {
  66. label : '数据编号',
  67. name : 'appealid',
  68. key : true,
  69. editable: false,
  70. hidden:true
  71. },{
  72. label : '案件流水',
  73. name : 'serialnumber',
  74. width : 50,
  75. align:'center',
  76. },{
  77. label : '客诉来源',
  78. name : 'appealsource',
  79. width : 30,
  80. align:'center',
  81. },{
  82. label : '客诉人',
  83. name : 'tname',
  84. width : 30,
  85. align:'center',
  86. },{
  87. label : '客诉类别',
  88. name : 'appealtype',
  89. width : 30,
  90. align:'center',
  91. }, {
  92. label : '客诉日期',
  93. name : 'appealdate',
  94. width : 30,
  95. align:'center',
  96. }, {
  97. label : '截止日期',
  98. name : 'limitenddate',
  99. width : 30,
  100. align:'center',
  101. }, {
  102. label : '提交时间',
  103. name : 'recordtime',
  104. width : 60,
  105. align:'center',
  106. }, {
  107. label : '状态',
  108. name : 'dutystate',
  109. width : 30,
  110. align:'center',
  111. },{
  112. label : '操作',
  113. name:'operMod',
  114. index:'operMod',
  115. align:"center",
  116. width:"20",
  117. sortable:false,
  118. formatter: function (cellvalue, options, rowdata) {
  119. var html ="";
  120. html = "<button class='btn btn-primary radius size-S' onclick=seeData('"+rowdata.appealid+"')>查看</button>";
  121. return html;
  122. }
  123. }],
  124. rownumbers : true,//添加左侧行号
  125. viewrecords : true,//是否在浏览导航栏显示记录总数
  126. rowNum : 10,//每页显示记录数
  127. rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
  128. autowidth : true,
  129. sortname : 'RecordTime',
  130. sortorder : 'desc',
  131. height : 'auto',
  132. pager : "#jqGridPager",
  133. //屏蔽点击任意单元格选中checkbox的问题
  134. beforeSelectRow: function (rowid, e) {
  135. var $myGrid = $(this),
  136. i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
  137. cm = $myGrid.jqGrid('getGridParam', 'colModel');
  138. return (cm[i].name === 'cb');
  139. }
  140. });
  141. });
  142. //查看信息 2017-07-24
  143. function seeData(appealid){
  144. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  145. }
  146. </script>
  147. <title>我的桌面</title>
  148. </head>
  149. <body>
  150. <div>
  151. <div class="page-container">
  152. <table id="jqGrid"></table>
  153. <div id="jqGridPager"></div>
  154. </div>
  155. </div>
  156. </body>
  157. </html>