transact.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
  10. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
  11. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
  12. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" >
  13. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  14. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  15. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  16. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  17. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
  18. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
  19. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
  20. <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
  21. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  22. <script src="${ctx}/assets/js/validate.js" ></script>
  23. <script type="text/javascript">
  24. function doSubmit(){
  25. if(doValidate(form1)){
  26. $('#form1').attr('action','${ctx}/myconsole/complaint/query/showTransactData');
  27. $('#form1').submit();
  28. }
  29. }
  30. function resultHandle(data){
  31. var res=eval('(' + data + ')');
  32. if(res.flag){
  33. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
  34. function(){
  35. layer.closeAll('dialog');
  36. window.location.reload();
  37. });
  38. }else{
  39. if(res.flag == false)
  40. {
  41. layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){});
  42. }
  43. }
  44. }
  45. //根据被诉分公司选择中支公司信息
  46. function setCentreCompanyID(respondentModel)
  47. {
  48. var filialeID=$('#'+respondentModel+"FilialeID").val();
  49. if(filialeID!='')
  50. {
  51. var filialeName=$('#'+respondentModel+"FilialeID").find("option:selected").text();
  52. $('#'+respondentModel+"FilialeName").val(filialeName);
  53. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getCentreCompanyIDData?RespondentModel='+respondentModel);
  54. $('#form1').ajaxSubmit(setCentreCompanyIDData);
  55. $('#RespondentModel').val(respondentModel); 
  56. }
  57. else
  58. {
  59. $("#"+respondentModel+"CentreCompanyID").empty(); 
  60. $('#'+respondentModel+"FilialeName").val(""); 
  61. }
  62. }
  63. //回写原因二类字典数据
  64. function setCentreCompanyIDData(data){
  65. var respondentModel=$('#RespondentModel').val(); 
  66. $("#"+respondentModel+"CentreCompanyID").empty();  
  67. $("#"+respondentModel+"CentreCompanyID").append("<option value=''>请选择</option>");
  68. $("#"+respondentModel+"CentreCompanyID").append(data);
  69. }
  70. function setBusinessHallID(respondentModel)
  71. {
  72. var centreCompanyID=$('#'+respondentModel+"CentreCompanyID").val();
  73. if(centreCompanyID!='')
  74. {
  75. var centreCompanyName=$('#'+respondentModel+"CentreCompanyID").find("option:selected").text();
  76. $('#'+respondentModel+"CentreCompanyName").val(centreCompanyName);
  77. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getBusinessHallIDData?RespondentModel='+respondentModel);
  78. $('#form1').ajaxSubmit(setBusinessHallIDData);
  79. $('#RespondentModel').val(respondentModel); 
  80. }
  81. else
  82. {
  83. $("#"+respondentModel+"BusinessHallID").empty(); 
  84. $('#'+respondentModel+"CentreCompanyName").val(""); 
  85. }
  86. }
  87. //回写被诉网点数据
  88. function setBusinessHallIDData(data){
  89. var respondentModel=$('#RespondentModel').val(); 
  90. $("#"+respondentModel+"BusinessHallID").empty();  
  91. $("#"+respondentModel+"BusinessHallID").append("<option value=''>请选择</option>");
  92. $("#"+respondentModel+"BusinessHallID").append(data);
  93. }
  94. function setBusinessHallName(respondentModel)
  95. {
  96. var idData=$("#"+respondentModel+"BusinessHallID").val();
  97. if(idData!='')
  98. {
  99. var nameData=$("#"+respondentModel+"BusinessHallID").find("option:selected").text();
  100. $("#"+respondentModel+"BusinessHallName").val(nameData);
  101. $("#"+respondentModel+"_2").show();
  102. }
  103. else
  104. {
  105. $("#"+respondentModel+"BusinessHallName").val(""); 
  106. $("#"+respondentModel+"_2").hide();
  107. }
  108. }
  109. </script>
  110. <!--/请在上方写此页面业务相关的脚本-->
  111. <title>投诉办理查询</title>
  112. <meta name="keywords" content="">
  113. <meta name="description" content="">
  114. </head>
  115. <body >
  116. <form id="form1" method="post" class="form-horizontal" role="form">
  117. <div style="display: none">
  118. <input type="hidden" id="Modal_Main" name="Modal_Main" value="appeal"/>
  119. <input type="hidden" id="RespondentModel" name="RespondentModel" value=""/>
  120. <input type="hidden" id="transactFilialeName" name="transact.FilialeName" value=""/>
  121. <input type="hidden" id="transactCentreCompanyName" name="transact.CentreCompanyName" value=""/>
  122. <input type="hidden" id="transactBusinessHallName" name="transact.BusinessHallName" value=""/>
  123. </div>
  124. <div class="container-fluid" style="margin-top:15px;">
  125. <div class="panel panel-primary">
  126. <div class="panel-heading">
  127. <div style="display:inline;" >客诉办理查询 &nbsp;&nbsp;</div>
  128. </div>
  129. <div id="collapseAppeal" class="panel-collapse collapse in">
  130. <div class="panel-body" style="font-size:14px">
  131. <div class="row" style="padding:5px">
  132. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  133. <label class="control-label" for="TName" id="Label_TName">姓名</label></div>
  134. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 " >
  135. <input type="text" class="form-control" value="" placeholder="" id="TName" name="transact.TName" maxlength="40" vmode="" vdisp="姓名" vtype="chinese">
  136. </div>
  137. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  138. <label class="control-label" for="LinkTel1">联系电话</label></div>
  139. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  140. <input type="text" class="form-control" value="" placeholder="" id="LinkTel1" name="transact.LinkTel1" maxlength="20" vmode="" vdisp="联系电话1" vtype="phone">
  141. </div>
  142. </div>
  143. <div class="row" style="padding:5px">
  144. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  145. <label class="control-label" for="AppealType">客诉类别</label>
  146. </div>
  147. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  148. <select id="AppealType" name="transact.AppealType" class="form-control" vmode="" vdisp="客诉类别" vtype="string">
  149. <option value="">请选择</option>
  150. ${AppealType!''}
  151. </select>
  152. </div>
  153. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  154. <label class="control-label" for="AppealSource">客诉来源</label>
  155. </div>
  156. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  157. <select id="AppealSource" name="transact.AppealSource" class="form-control" vmode="" vdisp="客诉来源" vtype="string">
  158. <option value="">请选择</option>
  159. ${AppealSource!''}
  160. </select>
  161. </div>
  162. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  163. <label class="control-label" for="UrgentLevel" >办理方式</label>
  164. </div>
  165. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
  166. <select id="TransactType" name="transact.TransactType" class="form-control" vmode="" vdisp="办理方式" vtype="string">
  167. <option value=''>请选择</option>
  168. <option value="转办">转办</option>
  169. <option value="上报">上报</option>
  170. <option value="会签">会签</option>
  171. <option value="送审核">送审核</option>
  172. <option value="结案归档">结案归档</option>
  173. </select>
  174. </div>
  175. </div>
  176. <div class="row" style="padding:5px">
  177. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  178. <label class="control-label" for="AppealDate">客诉时间从</label>
  179. </div>
  180. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  181. <div class="input-group">
  182. <input type="text" class="form-control" value="" placeholder="" id="BeginAppealDate" name="transact.BeginAppealDate" vmode="" vdisp="开始客诉时间" vtype="string" readonly>
  183. <div class="input-group-btn">
  184. <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'BeginAppealDate',maxDate:'#F{$dp.$D(\'EndAppealDate\')}'})" title="选择开始客诉时间">
  185. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  186. </button>
  187. </div>
  188. </div>
  189. </div>
  190. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  191. <label class="control-label" for="AppealDate">&nbsp;&nbsp;&nbsp;&nbsp;至</label>
  192. </div>
  193. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  194. <div class="input-group">
  195. <input type="text" class="form-control" value="${CurDate!''}" placeholder="" id="EndAppealDate" name="transact.EndAppealDate" vmode="" vdisp="结束客诉时间" vtype="string" readonly>
  196. <div class="input-group-btn">
  197. <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'EndAppealDate',minDate:'#F{$dp.$D(\'BeginAppealDate\')}',maxDate:new Date()})" title="选择结束客诉时间">
  198. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  199. </button>
  200. </div>
  201. </div>
  202. </div>
  203. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  204. <label class="control-label" for="DoState">办理状态</label>
  205. </div>
  206. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
  207. <select id="DoState" name="transact.DoState" class="form-control">
  208. <option value=''>请选择</option>
  209. <option value='暂存'>暂存</option>
  210. <option value='坐席办结'>已安抚化解</option>
  211. <option value='待接收'>待接收</option>
  212. <option value='受理'>受理</option>
  213. <option value='已办理'>已办理</option>
  214. <option value='办结'>办结</option>
  215. </select>
  216. </div>
  217. </div>
  218. <div class="row" style="padding:5px" id="respondent_1" >
  219. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  220. <label class="control-label" for="respondentFilialeID">办理分公司</label>
  221. </div>
  222. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  223. <select id="transactFilialeID" name="transact.FilialeID" onChange=setCentreCompanyID('transact') class="form-control" vmode='' vdisp='主被诉公司' vtype='string'>
  224. <option value="">请选择</option>
  225. ${filialeID!''}
  226. </select>
  227. </div>
  228. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
  229. <label class="control-label" for="respondentCentreCompanyID">办理中支</label>
  230. </div>
  231. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
  232. <select id="transactCentreCompanyID" name="transact.CentreCompanyID" onChange=setBusinessHallID('transact') class="form-control" vmode="" vdisp="被诉中支/部门" vtype="string">
  233. <option value="">请选择</option>
  234. </select>
  235. </div>
  236. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
  237. <label class="control-label" for="TransactDate">办理日期</label>
  238. </div>
  239. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
  240. <div class="input-group">
  241. <input type="text" class="form-control" value="" placeholder="" id="TransactDate" name="transact.TransactDate" vmode="" vdisp="办理日期" vtype="string" readonly>
  242. <div class="input-group-btn">
  243. <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'TransactDate',minDate:'#F{$dp.$D(\'BeginAppealDate\')}',maxDate:new Date()})" title="选择办理日期">
  244. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  245. </button>
  246. </div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="panel panel-success">
  254. <div class="panel-heading">选择显示的列</div>
  255. <div id="collapseFile" class="panel-collapse collapse in">
  256. <div class="panel-body" style="font-size:14px">
  257. <div class="row" style="padding:5px">
  258. <label class="checkbox-inline">
  259. &nbsp;&nbsp;&nbsp;&nbsp;<input type='checkbox' name='FieldName' value='serialnumber/客诉件流水号' checked>客诉件流水号
  260. </label>
  261. <label class="checkbox-inline">
  262. <input type='checkbox' name='FieldName' value='tname/姓名' checked>姓名
  263. </label>
  264. <label class="checkbox-inline">
  265. <input type='checkbox' name='FieldName' value='appealdate/客诉时间' checked>客诉时间
  266. </label>
  267. <label class="checkbox-inline">
  268. <input type='checkbox' name='FieldName' value='appealtype/客诉类别' checked>客诉类别
  269. </label>
  270. <label class="checkbox-inline">
  271. <input type='checkbox' name='FieldName' value='appealsource/客诉来源' checked>客诉来源
  272. </label>
  273. <label class="checkbox-inline">
  274. <input type='checkbox' name='FieldName' value='transactdate/办理时间' checked>办理时间
  275. </label>
  276. <label class="checkbox-inline">
  277. <input type='checkbox' name='FieldName' value='transactorgname/办理单位' checked>办理单位
  278. </label>
  279. <label class="checkbox-inline">
  280. <input type='checkbox' name='FieldName' value='transactusername/办理人员' >办理人员
  281. </label>
  282. <label class="checkbox-inline">
  283. <input type='checkbox' name='FieldName' value='transactidea/办理意见' >办理意见
  284. </label>
  285. <label class="checkbox-inline">
  286. <input type='checkbox' name='FieldName' value='enddate/结案日期' >结案日期
  287. </label>
  288. <label class="checkbox-inline">
  289. <input type='checkbox' name='FieldName' value='dotimeratio/办理效率' >办理效率
  290. </label>
  291. <label class="checkbox-inline">
  292. <input type='checkbox' name='FieldName' value='endtype/办结方式' >办结方式
  293. </label>
  294. <label class="checkbox-inline">
  295. <input type='checkbox' name='FieldName' value='dostate/办理状态' >办理状态
  296. </label>
  297. </div>
  298. </div>
  299. </div>
  300. </div>
  301. <div class="row" style="padding:5px">
  302. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align=center>
  303. <button type="button" class="btn btn-success" id="SubmitButton1" onclick="doSubmit()"> 查&nbsp;&nbsp;&nbsp;&nbsp;询</button>
  304. </div>
  305. </div>
  306. </div>
  307. </form>
  308.  
  309. </body>
  310. </html>