select05.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  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"
  8. content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
  9. <meta http-equiv="Cache-Control" content="no-siteapp"/>
  10. <LINK rel="Bookmark" href="/favicon.ico">
  11. <LINK rel="Shortcut Icon" href="/favicon.ico"/>
  12. <script type="text/javascript">
  13. var ctx = "${ctx}";
  14. </script>
  15. <!--[if lt IE 9]>
  16. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  17. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  18. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  19. <![endif]-->
  20. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css"/>
  21. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css"/>
  22. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin"/>
  23. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css"/>
  24. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/webuploader/0.1.5/webuploader.css"/>
  25. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css"/>
  26. <!--_footer 作为公共模版分离出去-->
  27. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  28. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  29. <script type="text/javascript" src="${ctx}/assets/lib/icheck/jquery.icheck.min.js"></script>
  30. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
  31. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/validate-methods.js"></script>
  32. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
  33. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  34. <script type="text/javascript" src="${ctx}/assets/static/h-ui.admin/js/H-ui.admin.js"></script>
  35. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  36. <!--/_footer /作为公共模版分离出去-->
  37. <!--请在下方写此页面业务相关的脚本-->
  38. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  39. <script type="text/javascript" src="${ctx}/assets/lib/webuploader/0.1.5/webuploader.min.js"></script>
  40. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  41. <link href="${ctx}/assets/lib/jquery.sumoselect/sumoselect.css" rel="stylesheet"/>
  42. <script type="text/javascript" src="${ctx}/assets/lib/jquery.sumoselect/jquery.sumoselect.min.js"></script>
  43. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  44. <!--[if IE 6]>
  45. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js"></script>
  46. <script>DD_belatedPNG.fix('*');</script>
  47. <![endif]-->
  48. <!--/meta 作为公共模版分离出去-->
  49. <script type="text/javascript">
  50. var contextPath = "${ctx}";
  51. </script>
  52. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.config.js"></script>
  53. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.all.js"></script>
  54. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
  55. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/colorpicker/evol-colorpicker.css"/>
  56. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
  57. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
  58. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
  59. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
  60. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
  61. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
  62. <script src="${ctx}/assets/js/validate.js"></script>
  63. <script src="${ctx}/assets/js/common.js"></script>
  64. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/tableExport.js"></script>
  65. <script type="text/javascript" src="${ctx}/assets/js/tablesMergeCell.js"></script>
  66. <style>
  67. body,html{padding:0;margin:0;}
  68. *{padding:0;margin:0;}
  69. .title{width:85%;padding:0;margin:10px auto 20px auto;line-height:20px;font-size:20px;font-weight:bold; font-family:"Microsoft YaHei"; text-align:center; color:#404040;}
  70. .time{width:85%;padding:0;margin:0 auto;line-height:30px;font-size:14px; font-family:"Microsoft YaHei"; text-align:center;color:#8c8c8c}
  71. .time .dc{width:auto;padding:0 10px;background:#7ea6d2;height:24px;line-height:20px;color:#fff; outline:none;border:#9ebfe4 1px solid; cursor:pointer; border-radius:5px; display:block;margin:3px 0; float:left;}
  72. .time span{padding:0;margin:0;float:left;}
  73. .table{width:85%;margin:10px auto;padding:0;border-top: rgba(10, 10, 10, 0.96) 1px solid;border-left: #0a0a0a 1px solid;}
  74. .table tr{width:100%;margin:0;padding:0;}
  75. .table tr td{margin:0;padding:0;border-bottom: #0a0a0a 1px solid;border-right: #0a0a0a 1px solid;min-height:30px;line-height:24px;padding:5px;font-size:14px; font-family:"Microsoft YaHei"; text-align:center;color:#4e4e4e;}
  76. </style>
  77. <style type="text/css">
  78. .margintop {
  79. margin-bottom: 5px;
  80. }
  81. .placeholder {
  82. height: 14px;
  83. }
  84. </style>
  85. <script type="text/javascript">
  86. function doSubmit(strNo) {
  87. var strBeginAppealDate = $("#BeginAppealDate").val();
  88. var strEndAppealDate = $("#EndAppealDate").val();
  89. if (isEmpty(strBeginAppealDate) || isEmpty(strEndAppealDate)) {
  90. layer.alert("投诉时间不能为空!", {skin: 'layui-layer-molv', closeBtn: 0}, function () {
  91. layer.closeAll('dialog');
  92. });
  93. return;
  94. } else {
  95. $('#form1').attr('action', '${ctx}/myconsole/complaint/report/selectinfo05_' + strNo);
  96. $('#form1').attr('target', '_self');
  97. $('#form1').submit();
  98. }
  99. }
  100. //根据分公司获取部门信息
  101. function setCentreCompanyID() {
  102. var filialeID = $("#FilialeID").val();
  103. $("#respondentFilialeID").val(filialeID);
  104. if (filialeID != '') {
  105. var filialeName = $("#FilialeID").find("option:selected").text();
  106. $("#FilialeName").val(filialeName);
  107. $('#form1').attr('action', '${ctx}/myconsole/complaint/register/getFilialeBusinessHallNameData?ParentID=' + filialeID);
  108. $('#form1').ajaxSubmit(setCentreCompanyIDData);
  109. } else {
  110. $("#CentreCompanyID").empty();
  111. $("#FilialeName").val("");
  112. }
  113. }
  114. //回写原因二类字典数据
  115. function setCentreCompanyIDData(data) {
  116. $("#BusinessHallID").empty();
  117. $("#BusinessHallID").append("<option value=''>请选择</option>");
  118. $("#BusinessHallID").append(data);
  119. }
  120. function setBusinessHallName() {
  121. var BusinessHallID = $("#BusinessHallID").val();
  122. if (BusinessHallID != '') {
  123. var BusinessHallName = $("#BusinessHallID").find("option:selected").text();
  124. $("#BusinessHallName").val(BusinessHallName);
  125. } else {
  126. $("#BusinessHallName").val("");
  127. }
  128. }
  129. //根据一级渠道获取二级渠道3
  130. function setSalesChannelName()
  131. {
  132. var idData=$('#SalesChannelID').val();
  133. if(idData!='')
  134. {
  135. var nameData=$("#SalesChannelID").find("option:selected").text();
  136. $("#SalesChannelName").val(nameData);
  137. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getSalesTypeIDData?ParentID='+idData);
  138. $('#form1').ajaxSubmit(setSalesTypeIDData);
  139. }else {
  140. $("#SalesChannelName").val("");
  141. }
  142. }
  143. function setSalesTypeName()
  144. {
  145. var idData=$('#SalesTypeID').val();
  146. if(idData!='')
  147. {
  148. var nameData=$("#SalesTypeID").find("option:selected").text();
  149. $("#SalesTypeName").val(nameData);
  150. }
  151. else
  152. {
  153. $("#SalesTypeName").val("");
  154. }
  155. }
  156. //setAppealaffiliationID2()选择二级诉求类别
  157. function setAppealAffiliationID2()
  158. {
  159. var AppealAffiliationID1=$('#AppealAffiliationID1').val();
  160. var nameData="";
  161. if(AppealAffiliationID1!='')
  162. {
  163. nameData=$("#AppealAffiliationID1").find("option:selected").text();
  164. $("#AppealAffiliationName1").val(nameData);
  165. $('#form1').attr('action','${ctx}/myconsole/complaint/register/getAppealAffiliation2Data?ParentID='+AppealAffiliationID1);
  166. $('#form1').ajaxSubmit(setAppealAffiliation2Data);
  167. }
  168. else
  169. {
  170. $("#AppealAffiliationID2").empty();
  171. }
  172. }
  173. //回写归属二类字典数据
  174. function setAppealAffiliation2Data(data)
  175. {
  176. $("#AppealAffiliationID2").empty();
  177. $("#AppealAffiliationID2").append("<option value=''>请选择</option>");
  178. $("#AppealAffiliationID2").append(data);
  179. }
  180. //回写二级渠道方式数据
  181. function setSalesTypeIDData(data)
  182. {
  183. $("#SalesTypeID").empty();
  184. $("#SalesTypeID").append("<option value=''>请选择</option>");
  185. $("#SalesTypeID").append(data);
  186. //动态绑定数据一定要加这句话否则没有效果
  187. $(".selectpicker" ).selectpicker('refresh');
  188. }
  189. <!--根据下方table的id(tables)调用tableExport.js的tableExport方法导出表格-->
  190. function exportTable() {
  191. $("td:hidden").remove();
  192. $("#tables").tableExport({fileName: '投诉类别统计表', type: "xls", escape: "false"});
  193. }
  194. //下载附件
  195. function downFile(filePath, fileName) {
  196. window.open('${ctx}/downloadFile.do?FileDownloadPath=' + filePath + '&FileDownloadName=' + fileName, 'Derek', 'resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  197. }
  198. $(function () {
  199. $('#tables').tablesMergeCell({
  200. cols: [0,1]
  201. });
  202. })
  203. </script>
  204. <!--/请在上方写此页面业务相关的脚本-->
  205. <title>投诉类别统计表</title>
  206. <meta name="keywords" content="">
  207. <meta name="description" content="">
  208. </head>
  209. <body style="line-height:1;">
  210. <form id="form1" method="post" class="form-horizontal" role="form">
  211. <div style="display: none">
  212. <input type="hidden" id="FilialeName" name="FilialeName" value=""/>
  213. <input type="hidden" id="BusinessHallName" name="BusinessHallName" value=""/>
  214. <input type="hidden" id="SalesChannelName" name="SalesChannelName" value=""/>
  215. <input type="hidden" id="SalesTypeName" name="SalesTypeName" value=""/>
  216. <input type="hidden" id="RespondentModel" name="RespondentModel" value="respondent"/>
  217. <input type="hidden" id="respondentFilialeID" name="respondent.FilialeID" value=""/>
  218. </div>
  219. <div class="container-fluid" style="margin-top:0px;">
  220. <div class="row" style="padding:15px">
  221. <div class="panel panel-primary">
  222. <div class="panel-heading">查询条件</div>
  223. <div id="collapsePerson" class="panel-collapse collapse in">
  224. <div class="panel-body" style="font-size:14px;width:98%">
  225. <div class="row" style="padding:5px">
  226. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback">
  227. <label class="control-label" for="xjstartDate">投诉时间</label>
  228. </div>
  229. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback"
  230. id="quarterStartDate">
  231. <div class="input-group">
  232. <input type="text" class="form-control" placeholder="" id="BeginAppealDate"
  233. name="BeginAppealDate" vmode="not null" vdisp="投诉时间" vtype="string"
  234. readonly>
  235. <div class="input-group-btn">
  236. <button type="button" class="btn btn-default" aria-label="Left Align"
  237. onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'BeginAppealDate',maxDate:new Date()})"
  238. title="选择投诉时间">
  239. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  240. </button>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" id="property">
  245. <label class="control-label" for="xjendDate"
  246. id="property">&nbsp;&nbsp;至&nbsp;&nbsp;</label>
  247. </div>
  248. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback" id="quarterEndDate">
  249. <div class="input-group">
  250. <input type="text" class="form-control" placeholder="" id="EndAppealDate"
  251. name="EndAppealDate" vmode="not null" vdisp="投诉时间 " vtype="string"
  252. readonly>
  253. <div class="input-group-btn">
  254. <button type="button" class="btn btn-default" aria-label="Left Align"
  255. onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'EndAppealDate',minDate:$('#BeginAppealDate').val(),maxDate:new Date()})"
  256. title="选择投诉时间">
  257. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  258. </button>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <div class="row" style="padding:5px" align=center>
  264. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
  265. <button type="button" class="btn btn-success" id="SubmitButton1"
  266. onclick="doSubmit('01')"> 查询
  267. </button>
  268. </div>
  269. </div>
  270. </div>
  271. </div>
  272. </div>
  273. </div>
  274. </div>
  275. </form>
  276.  
  277. <div class="container-fluid" style="margin-top:1px;">
  278. <div class="time">
  279. <span><input class="dc" id="dc" value="导出Excel" type="${showFlag!''}" onclick="exportTable()" /></span>
  280. <div style="clear:both;"></div>
  281. </div>
  282. <table id="tables" width="85%" cellpadding="0" cellspacing="0" border="0" class="table">
  283. ${tableData!''}
  284. </table>
  285. </div>
  286. </body>
  287. </html>