blackcatlist.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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() {
  38. $(window).resize(function(){
  39. $("#jqGrid").setGridWidth($(window).width()-41); 
  40. });
  41. $("#jqGrid").jqGrid({
  42. url : '${ctx}/myconsole/complaint/register/getBlackCatPage',
  43. editurl:"${ctx}/myconsole/complaint/register",
  44. mtype : "POST",
  45. datatype : "json",
  46. multiselect: false,
  47. caption1:'网站登记件',
  48. prmNames : { //定义表单的主键 // Default valuesprmNames: {page:“page”,rows:“rows”, sort: “sidx”,order: “sord”, search:“_search”, nd:“nd”, npage:null} 当参数为null时不会被发到服务器端
  49. id: "keyid", 
  50. oper:"oper",    
  51. addoper:"add",
  52. editoper:"edit",
  53. deloper:"del" 
  54. },
  55. colModel : [ {
  56. label : '数据编号',
  57. name : 'keyid',
  58. key : true,
  59. editable: false,
  60. hidden:true
  61. },{
  62. label : '案件流水',
  63. name : 'serialnumber',
  64. width : 50,
  65. align:"center",
  66. },{
  67. label : '客诉人',
  68. name : 'tname',
  69. width : 50,
  70. align:"center",
  71. },{
  72. label : '联系电话',
  73. name : 'linktel1',
  74. width : 50,
  75. align:'center',
  76. },{
  77. label : '投诉原因',
  78. name : 'reasonname1',
  79. width : 50,
  80. align:"center",
  81. },{
  82. label : '投诉日期',
  83. name : 'appealdate',
  84. width : 50,
  85. align:"center",
  86. }, {
  87. label : '状态',
  88. name : 'dostate',
  89. width : 30,
  90. align:"center",
  91. },{
  92. label : '操作',
  93. name:'operMod',
  94. index:'operMod',
  95. align:"center",
  96. width:"50",
  97. sortable:false,
  98. formatter: function (cellvalue, options, rowdata) {
  99. var html ="";
  100. html = "<button class='btn btn-primary radius size-S' onclick=doData('"+rowdata.appealid+"')>办理</button>";
  101. return html;
  102. }
  103. }],
  104. rownumbers : true,//添加左侧行号
  105. viewrecords : true,//是否在浏览导航栏显示记录总数
  106. rowNum : 10,//每页显示记录数
  107. rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
  108. autowidth : true,
  109. sortname : 'RecordTime',
  110. sortorder : 'desc',
  111. height : 'auto',
  112. pager : "#jqGridPager",
  113. //屏蔽点击任意单元格选中checkbox的问题
  114. beforeSelectRow: function (rowid, e) {
  115. var $myGrid = $(this),
  116. i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
  117. cm = $myGrid.jqGrid('getGridParam', 'colModel');
  118. return (cm[i].name === 'cb');
  119. }
  120. });
  121. $('#jqGrid')
  122. .navGrid('#jqGridPager',{edit:false,add:false,del:false,search:false})
  123. .navButtonAdd("#jqGridPager",
  124. { caption:"新建",
  125. buttonicon:"ui-icon-excel",
  126. onClickButton: function(){
  127. location.href="${ctx}/myconsole/complaint/register/self?AppealSourceID=008";
  128. }, position:"last" });
  129. });
  130. //集团官网登记的信息办理 2017-07-19
  131. function doData(appealid){
  132. fullOpen("${ctx}/myconsole/complaint/register/doTelCenter?appealid="+appealid);
  133. }
  134. </script>
  135. <title>我的桌面</title>
  136. </head>
  137. <body>
  138. <div>
  139. <div class="page-container">
  140. <table id="jqGrid"></table>
  141. <div id="jqGridPager"></div>
  142. </div>
  143. </div>
  144. </body>
  145. </html>