supervise.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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/layer/3.0.3/layer.js"></script>
  23. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  24. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  25. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqgrid/css/ui.jqgrid.css" />
  26. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  27. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/i18n/grid.locale-cn.js"></script>
  28. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/jquery.jqGrid.min.js"></script>
  29. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/formSelects-v4/formSelects-v4.css" />
  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. <script src="${ctx}/assets/js/validate.js" ></script>
  34. <!--[if IE 6]>
  35. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  36. <script>DD_belatedPNG.fix('*');</script>
  37. <![endif]-->
  38. <script type="text/javascript">
  39. function showFlowPic(executionId){
  40. layer.open({
  41. title:"查看流转",
  42. type: 1,
  43. anim: 2,
  44. area: ['600px', '400px'],
  45. content: "<div style='margin:5px;'><img style='width:100%' src='${ctx}/myconsole/myflow/show?executionId="+executionId+"'></div>"
  46. });
  47. }
  48. $(function() {
  49. $(window).resize(function(){
  50. $("#jqGrid").setGridWidth($(window).width()-41); 
  51. });
  52. $("#jqGrid").jqGrid({
  53. url : '${ctx}/myconsole/complaint/transact/getSuperviseWordPage',
  54. editurl:"${ctx}/myconsole/complaint/transact/",
  55. mtype : "POST",
  56. datatype : "json",
  57. page:${pagepp!1},
  58. multiselect: false,
  59. caption1:'我的待质检件',
  60. prmNames : { //定义表单的主键 // Default valuesprmNames: {page:“page”,rows:“rows”, sort: “sidx”,order: “sord”, search:“_search”, nd:“nd”, npage:null} 当参数为null时不会被发到服务器端
  61. id: "appealid", 
  62. oper:"oper",    
  63. addoper:"add",
  64. editoper:"edit",
  65. deloper:"del" 
  66. },
  67. colModel : [ {
  68. label : '数据编号',
  69. name : 'appealid',
  70. key : true,
  71. editable: false,
  72. hidden:true
  73. },{
  74. label : '结案状态',
  75. name : 'endstate',
  76. hidden:true
  77. },{
  78. label : '标志',
  79. name : 'remindflag',
  80. width : 30,
  81. align:'center',
  82. sortable: false,
  83. },{
  84. label : '案件流水号',
  85. name : 'serialnumber',
  86. width : 50,
  87. align:'center',
  88. },{
  89. label : '客诉人',
  90. name : 'tname',
  91. width : 30,
  92. align:'center',
  93. }, {
  94. label : '客诉来源',
  95. name : 'appealsource',
  96. width : 30,
  97. align:'center',
  98. }, {
  99. label : '客诉时间',
  100. name : 'appealdate',
  101. width : 50,
  102. align:'center',
  103. },{
  104. label : '截止日期',
  105. name : 'limitenddate',
  106. width : 30,
  107. align:'center',
  108. }, {
  109. label : '办结时间',
  110. name : 'enddate',
  111. width : 50,
  112. align:'center',
  113. },{
  114. label : '办结方式',
  115. name : 'endtype',
  116. width : 30,
  117. align:'center',
  118. },{
  119. label : '办结结果',
  120. name : 'endresultname1',
  121. width : 30,
  122. align:'center',
  123. },{
  124. label : '操作',
  125. name:'operMod',
  126. index:'operMod',
  127. align:"center",
  128. width:"150",
  129. sortable:false,
  130. formatter: function (cellvalue, options, rowdata) {
  131. var html ="";
  132. html = "<button class='btn btn-primary radius size-S' onclick=seeData('"+rowdata.appealid+"')>查看</button>"+
  133. "&nbsp; <button class='btn btn-success radius size-S' onclick=expWord('"+rowdata.appealid+"','1')>企业年金死亡领取</button>"+
  134. "&nbsp; <button class='btn btn-success radius size-S' onclick=expWord('"+rowdata.appealid+"','2')>收益波动</button>"+
  135. "&nbsp; <button class='btn btn-success radius size-S' onclick=expWord('"+rowdata.appealid+"','3')>中途取出</button>"+
  136. "&nbsp; <button class='btn btn-success radius size-S' onclick=expWord('"+rowdata.appealid+"','4')>自动续期</button>";
  137. return html;
  138. }
  139. }],
  140. rownumbers : true,//添加左侧行号
  141. viewrecords : true,//是否在浏览导航栏显示记录总数
  142. rowNum : ${rowpp!10},//每页显示记录数
  143. rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
  144. autowidth : true,
  145. sortname : 'RecordTime',
  146. sortorder : 'desc',
  147. height : 'auto',
  148. pager : "#jqGridPager",
  149. //屏蔽点击任意单元格选中checkbox的问题
  150. beforeSelectRow: function (rowid, e) {
  151. var $myGrid = $(this),
  152. i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
  153. cm = $myGrid.jqGrid('getGridParam', 'colModel');
  154. return (cm[i].name === 'cb');
  155. }
  156. });
  157. doSearch();
  158. });
  159. //查看信息 2017-07-24
  160. function seeData(appealid){
  161. fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
  162. }
  163. //导出word模板 2021-10-08
  164. function expWord(appealid,strWordType){
  165. $.post("${ctx}/myconsole/complaint/word/expSupervise",{"AppealID":appealid,"WordType":strWordType},function(data){
  166. var res=eval('(' + data + ')');
  167. if(res.flag){
  168. downFile(res.filepath,res.filename);
  169. }else{
  170. alert("没有数据导出!");
  171. }
  172. })
  173. }
  174. //下载附件
  175. function downFile(filePath,fileName)
  176. {
  177. window.open('${serverURL!}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  178. }
  179. function stringJoin(stringJont) {
  180. var stringA = '';
  181. for(var i=0;i<stringJont.length;i++){
  182. if (i == stringJont.length-1) {
  183. stringA = stringA + "'"+stringJont[i]+"'";
  184. }else {
  185. stringA = stringA + "'"+stringJont[i]+"',";
  186. }
  187. }
  188. return stringA;
  189. }
  190. function doSearch(){
  191. $('#search').click(function(){
  192. doTrim(form1);
  193. var TName = $('#TName').val();
  194. var BeginDate = $('#BeginDate').val();
  195. var EndDate = $('#EndDate').val();
  196. var LinkTel = $('#LinkTel').val();
  197. var SerialNumber = $('#SerialNumber').val();
  198. var AppealSourceID = stringJoin(formSelects.value('AppealSourceID', 'val'));
  199. var InsceTypeID2 = stringJoin(formSelects.value('InsceTypeID2', 'val'));
  200. $("#jqGrid").jqGrid('setGridParam',{
  201. page:1,
  202. postData:{"TName":TName, "AppealSourceID":AppealSourceID,"InsceTypeID2":InsceTypeID2,"BeginDate":BeginDate,"EndDate":EndDate,"LinkTel":LinkTel,"SerialNumber":SerialNumber}
  203. }).trigger('reloadGrid');
  204. });
  205. }
  206. </script>
  207. <title>我的桌面</title>
  208. </head>
  209. <body>
  210. <div>
  211. <div style="text-align:center;height:30px;padding-top:10px;">
  212. <form id="form1" method="post" class="form-horizontal" role="form">
  213. <table>
  214. <tr>
  215. <td valign="top" style="padding-top: 5px;text-align: left;width:1200px">
  216. <label class="radio-inline" style="font-weight:700" title="客诉人姓名">
  217. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓名:
  218. </label>
  219. <input type="text" class="form-control" style="width:100px" id="TName" name="TName" value="${TName!''}" maxlength="40" vmode="" vdisp="客诉人" vtype="string">
  220. <label class="radio-inline" style="font-weight:700">
  221. &nbsp;&nbsp;联系电话:
  222. </label>
  223. <input type="text" class="form-control" style="width:100px" id="LinkTel" name="LinkTel" value="${LinkTel!''}" maxlength="20" vmode="" vdisp="联系电话" vtype="phone">
  224. <label class="radio-inline" style="font-weight:700">
  225. &nbsp;&nbsp;客诉日期 :
  226. </label>
  227. <input type="text" class="form-control" style="width:80px" value="${BeginDate!''}" placeholder="" id="BeginDate" name="BeginDate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'BeginDate',maxDate:'#F{$dp.$D(\'EndDate\')}'})" title="选择开始日期" vmode="" vdisp="开始日期" vtype="string" readonly>
  228. <label class="radio-inline" style="font-weight:700">
  229. &nbsp;至:
  230. </label>
  231. <input type="text" class="form-control" style="width:80px" value="${EndDate!''}" 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>
  232. <label class="radio-inline" style="font-weight:700">
  233. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;客诉来源:
  234. </label>
  235. <select id="AppealSourceID" name="AppealSourceID" xm-select-height="16px" xm-select="AppealSourceID" class="form-control" vmode="" vdisp="客诉类别" vtype="string">
  236. <option value="">请选择</option>
  237. ${SourceType!''}
  238. </select>
  239. <label class="radio-inline" style="font-weight:700">
  240. &nbsp;&nbsp;流水号:
  241. </label>
  242. <input type="text" class="form-control" style="width:100px" id="SerialNumber" name="SerialNumber" value="${SerialNumber!''}" maxlength="60" vmode="" vdisp="流水编号" vtype="string">
  243. </td>
  244. <td valign="top" style="padding-top: 1px;">
  245. <label>
  246. <input type="button" id="search" value="搜 索" style="width: 50px;" class="form-control gui-input form-control input-sm btn btn-primary btn-block">
  247. <b class="tooltip tip-left-top"></b>
  248. <label for="cardno" class="field-icon"><i class="fa fa-credit-card"></i>
  249. </label>
  250. </label>
  251. </td>
  252. </tr>
  253. </table>
  254. </form>
  255. </div>
  256. <div class="page-container" style="margin-top:5px">
  257. <table id="jqGrid"></table>
  258. <div id="jqGridPager"></div>
  259. </div>
  260. </div>
  261. <script type="text/javascript" src="${ctx}/assets/lib/formSelects-v4/formSelects-v4.js" ></script>
  262. <script type="text/javascript">
  263. formSelects.render('InsceTypeID2','AppealSourceID');
  264. formSelects.btns('InsceTypeID2', ['select', 'reverse'], {show: 'name'});
  265. formSelects.btns('AppealSourceID', ['select', 'reverse'], {show: 'name'});
  266. </script>
  267. </body>
  268. </html>