alreadyarchivelist.html 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  21. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  22. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.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/transact/getAlreadyArchivePage',
  52. editurl:"${ctx}/myconsole/complaint/transact/",
  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 : 'appealsource',
  83. width : 30,
  84. align:'center',
  85. }, {
  86. label : '客诉时间',
  87. name : 'appealdate',
  88. width : 50,
  89. align:'center',
  90. },{
  91. label : '截止日期',
  92. name : 'limitenddate',
  93. width : 30,
  94. align:'center',
  95. }, {
  96. label : '办结时间',
  97. name : 'enddate',
  98. width : 50,
  99. align:'center',
  100. },{
  101. label : '办结方式',
  102. name : 'endtype',
  103. width : 30,
  104. align:'center',
  105. }, {
  106. label : '归档状态',
  107. name : 'dotype',
  108. width : 50,
  109. align:'center',
  110. },{
  111. label : '操作',
  112. name:'operMod',
  113. index:'operMod',
  114. align:"center",
  115. width:"50",
  116. sortable:false,
  117. formatter: function (cellvalue, options, rowdata) {
  118. var html ="";
  119. html = "<button class='btn btn-primary radius size-S' onclick=seeData('"+rowdata.appealid+"')>查看</button>"+
  120. " <button class='btn btn-success radius size-S' onclick=followData('"+rowdata.appealid+"')>补录</button>";
  121. if(rowdata.checkstate==''||rowdata.checkstate==null)
  122. {
  123. html = html+" <button class='btn btn-warning radius size-S' onclick=applyCheckData('"+rowdata.appealid+"')>申请核查</button>";
  124. }
  125. return html;
  126. }
  127. }],
  128. rownumbers : true,//添加左侧行号
  129. viewrecords : true,//是否在浏览导航栏显示记录总数
  130. rowNum : 10,//每页显示记录数
  131. rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
  132. autowidth : true,
  133. sortname : 'RecordTime',
  134. sortorder : 'desc',
  135. height : 'auto',
  136. pager : "#jqGridPager",
  137. //屏蔽点击任意单元格选中checkbox的问题
  138. beforeSelectRow: function (rowid, e) {
  139. var $myGrid = $(this),
  140. i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
  141. cm = $myGrid.jqGrid('getGridParam', 'colModel');
  142. return (cm[i].name === 'cb');
  143. }
  144. });
  145. doSearch();
  146. });
  147. //查看信息 2017-07-24
  148. function seeData(appealid){
  149. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  150. }
  151. //修改自主登记的信息 2017-07-19
  152. function followData(appealid){
  153. fullOpen("${ctx}/myconsole/complaint/transact/followData?appealid="+appealid);
  154. }
  155. //申请核查 2022-05-05
  156. function applyCheckData(appealid){
  157. fullOpen("${ctx}/myconsole/complaint/transact/applyCheckData?appealid="+appealid);
  158. }
  159. //下载附件
  160. function downFile(filePath,fileName)
  161. {
  162. window.open('${serverURL!}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  163. }
  164. //导出档案信息 2021-06-23
  165. function excelData(strAppealID)
  166. {
  167. $.post("${ctx}/myconsole/complaint/list/excelData",{"AppealID":strAppealID},function(data){
  168. var res=eval('(' + data + ')');
  169. if(res.flag){
  170. downFile(res.filepath,res.filename);
  171. }else{
  172. alert("没有数据导出!");
  173. }
  174. })
  175. }
  176. function doSearch(){
  177. $('#search').click(function(){
  178. var TName = $('#TName').val();
  179. var BeginDate = $('#BeginDate').val();
  180. var EndDate = $('#EndDate').val();
  181. var LinkTel = $('#LinkTel').val();
  182. if(LinkTel.substring(0,1)=="1"&&LinkTel.length!=11)
  183. {
  184. layer.msg("手机号码必须为11位!");
  185. }
  186. else
  187. {
  188. $("#jqGrid").jqGrid('setGridParam',{
  189. postData:{"TName":TName,"BeginDate":BeginDate,"EndDate":EndDate,"LinkTel":LinkTel}
  190. }).trigger('reloadGrid');
  191. }
  192. });
  193. }
  194. </script>
  195. <title>我的桌面</title>
  196. </head>
  197. <body>
  198. <div>
  199. <div style="text-align:center;height:30px;padding-top:10px;">
  200. <form id="form1" method="post" class="form-horizontal" role="form">
  201. <table>
  202. <tr>
  203. <td valign="top" style="padding-top: 5px;text-align: left;width:1000px">
  204. <label class="radio-inline" style="font-weight:700">
  205. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;客诉人:
  206. </label>
  207. <input type="text" class="form-control" id="TName" name="TName" maxlength="40" vmode="" vdisp="客诉人" vtype="string">
  208. <label class="radio-inline" style="font-weight:700">
  209. 联系电话:
  210. </label>
  211. <input type="text" class="form-control" id="LinkTel" name="LinkTel" maxlength="20" vmode="" vdisp="联系电话" vtype="phone">
  212. <label class="radio-inline" style="font-weight:700">
  213. 客诉日期 从:
  214. </label>
  215. <input type="text" class="form-control" value="" placeholder="" id="BeginDate" name="BeginDate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'BeginDate',maxDate:'#F{$dp.$D(\'EndDate\')}'})" title="选择开始日期" vmode="" vdisp="开始日期" vtype="string" readonly>
  216. <label class="radio-inline" style="font-weight:700">
  217. &nbsp;至:
  218. </label>
  219. <input type="text" class="form-control" value="" placeholder="" id="EndDate" name="EndDate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'EndDate',minDate:'#F{$dp.$D(\'BeginDate\')}',maxDate:new Date()})" title="选择结束日期" vmode="" vdisp="结束日期" vtype="string" readonly>
  220. </td>
  221. <td valign="top" style="padding-top: 1px;">
  222. <label>
  223. <input type="button" id="search" value="搜 索" style="width: 50px;" class="form-control gui-input form-control input-sm btn btn-primary btn-block">
  224. <b class="tooltip tip-left-top"></b>
  225. <label for="cardno" class="field-icon"><i class="fa fa-credit-card"></i>
  226. </label>
  227. </label>
  228. </td>
  229. </tr>
  230. </table>
  231. </form>
  232. </div>
  233. <div class="page-container">
  234. <table id="jqGrid"></table>
  235. <div id="jqGridPager"></div>
  236. </div>
  237. </div>
  238. </body>
  239. </html>