waitsavelist.html 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.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. <!--[if IE 6]>
  33. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  34. <script>DD_belatedPNG.fix('*');</script>
  35. <![endif]-->
  36. <script type="text/javascript">
  37. function showFlowPic(executionId){
  38. layer.open({
  39. title:"查看流转",
  40. type: 1,
  41. anim: 2,
  42. area: ['600px', '400px'],
  43. content: "<div style='margin:5px;'><img style='width:100%' src='${ctx}/myconsole/myflow/show?executionId="+executionId+"'></div>"
  44. });
  45. }
  46. $(function() {
  47. $(window).resize(function(){
  48. $("#jqGrid").setGridWidth($(window).width()-41); 
  49. });
  50. $("#jqGrid").jqGrid({
  51. url : '${ctx}/myconsole/complaint/register/getWaitSavePage',
  52. editurl:"${ctx}/myconsole/complaint/register/",
  53. mtype : "POST",
  54. datatype : "json",
  55. multiselect: false,
  56. caption1:'信息管理',
  57. prmNames : { //定义表单的主键 // Default valuesprmNames: {page:“page”,rows:“rows”, sort: “sidx”,order: “sord”, search:“_search”, nd:“nd”, npage:null} 当参数为null时不会被发到服务器端
  58. id: "appealid", 
  59. oper:"oper",    
  60. addoper:"add",
  61. editoper:"edit",
  62. deloper:"del" 
  63. },
  64. colModel : [ {
  65. label : '数据编号',
  66. name : 'appealid',
  67. key : true,
  68. editable: false,
  69. hidden:true
  70. },{
  71. label : '案件流水',
  72. name : 'serialnumber',
  73. width : 50,
  74. align:'center',
  75. },{
  76. label : '客诉人',
  77. name : 'tname',
  78. width : 30,
  79. align:'center',
  80. },{
  81. label : '联系电话',
  82. name : 'linktel1',
  83. width : 30,
  84. align:'center',
  85. }, {
  86. label : '客诉日期',
  87. name : 'appealdate',
  88. width : 30,
  89. align:'center',
  90. }, {
  91. label : '截止日期',
  92. name : 'limitenddate',
  93. width : 30,
  94. align:'center',
  95. },{
  96. label : '登记来源',
  97. align:'center',
  98. name : 'appealsource',
  99. width : 50,
  100. },{
  101. label : '操作',
  102. name:'operMod',
  103. index:'operMod',
  104. align:"center",
  105. width:"80",
  106. sortable:false,
  107. formatter: function (cellvalue, options, rowdata) {
  108. var html ="";
  109. if(rowdata.appealsource=='保监会投诉系统'){
  110. html ="<button class='btn btn-info radius size-S ml-5' onclick=doData('"+rowdata.appealid+"')>办理</button>"
  111. + "<button class='btn btn-warning radius size-S ml-5' onclick=doBack('"+rowdata.appealid+"')>案件退回</button>";
  112. if(rowdata.delayid==null){
  113. html =html+"<button class='btn btn-success radius size-S' data-toggle='modal' data-target='#riskModal' onclick=doDelay('"+rowdata.appealid+"')>申请延期</button>";
  114. }else
  115. {
  116. html =html+"<button class='btn btn-success radius size-S' data-toggle='modal' data-target='#riskModal' onclick=showDelay('"+rowdata.appealid+"')>查看延期</button>";
  117. }
  118. if(rowdata.doflow!=null){
  119. html =html+ "<button class='btn btn-primary radius size-S ml-5' onclick=doSupervise('"+rowdata.appealid+"')>督办回复</button>";
  120. }
  121. }else{
  122. html = "<button class='btn btn-primary radius size-S' onclick=doData('"+rowdata.appealid+"','"+rowdata.appealsource+"')>办理</button>";
  123. }
  124. return html;
  125. }
  126. }],
  127. rownumbers : true,//添加左侧行号
  128. viewrecords : true,//是否在浏览导航栏显示记录总数
  129. rowNum : 10,//每页显示记录数
  130. rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
  131. autowidth : true,
  132. sortname : 'a.RecordTime',
  133. sortorder : 'desc',
  134. height : 'auto',
  135. pager : "#jqGridPager",
  136. //屏蔽点击任意单元格选中checkbox的问题
  137. beforeSelectRow: function (rowid, e) {
  138. var $myGrid = $(this),
  139. i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
  140. cm = $myGrid.jqGrid('getGridParam', 'colModel');
  141. return (cm[i].name === 'cb');
  142. }
  143. });
  144. });
  145. //修改自主登记的信息办理 2017-07-19
  146. function doData(appealid,appealsource){
  147. if(appealsource=='保监会投诉系统'){
  148. fullOpen("${ctx}/myconsole/complaint/register/doTelCenter?appealid="+appealid);
  149. }else if(appealsource=='电话中心'){
  150. fullOpen("${ctx}/myconsole/complaint/register/doTelCenter?appealid="+appealid);
  151. }else if(appealsource=='互联网'){
  152. fullOpen("${ctx}/myconsole/complaint/register/doTelCenter?appealid="+appealid);
  153. }else{
  154. fullOpen("${ctx}/myconsole/complaint/register/putFlow?appealid="+appealid);
  155. }
  156. }
  157. //修改自主登记的信息 2017-07-19
  158. function updateData(appealid){
  159. fullOpen("${ctx}/myconsole/complaint/register/update?appealid="+appealid);
  160. }
  161. function doDelay(keyid){
  162. var lzck=$('<div id="dd"><iframe scrolling="auto" frameborder="0" src="${ctx}/myconsole/complaint/supervise/toDelay?AppealID='+keyid+'" style="width:100%;height:98%;"></iframe></div>');
  163. lzck.dialog({ title: '申请延期', width: 750, align: 'center', height:450, modal: true});
  164. }
  165. function showDelay(keyid){
  166. var lzck=$('<div id="dd"><iframe scrolling="auto" frameborder="0" src="${ctx}/myconsole/complaint/supervise/showDelay?AppealID='+keyid+'" style="width:100%;height:98%;"></iframe></div>');
  167. lzck.dialog({ title: '查看延期', width: 750, align: 'center', height:450, modal: true});
  168. }
  169. function doSupervise(keyid){
  170. var lzck=$('<div id="dd"><iframe scrolling="auto" frameborder="0" src="${ctx}/myconsole/complaint/supervise/toSupervise?AppealID='+keyid+'" style="width:100%;height:98%;"></iframe></div>');
  171. lzck.dialog({ title: '督办回复', width: 750, align: 'center', height:450, modal: true});
  172. }
  173. function doBack(keyid){
  174. var lzck=$('<div id="back"><iframe scrolling="auto" frameborder="0" src="${ctx}/myconsole/complaint/supervise/toBack?AppealID='+keyid+'" style="width:100%;height:98%;"></iframe></div>');
  175. lzck.dialog({ title: '案件退回', width: 750, align: 'center', height:450, modal: true});
  176. }
  177. </script>
  178. <title>我的桌面</title>
  179. </head>
  180. <body>
  181. <div>
  182. <div class="page-container">
  183. <table id="jqGrid"></table>
  184. <div id="jqGridPager"></div>
  185. </div>
  186. </div>
  187. </body>
  188. </html>