select02.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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 type="text/css">
  67. .margintop {
  68. margin-bottom: 5px;
  69. }
  70. .placeholder {
  71. height: 14px;
  72. }
  73. </style>
  74. <script type="text/javascript">
  75. function doSubmit(strNo) {
  76. var strBeginAppealDate = $("#BeginAppealDate").val();
  77. var strEndAppealDate = $("#EndAppealDate").val();
  78. if (isEmpty(strBeginAppealDate) || isEmpty(strEndAppealDate)) {
  79. layer.alert("投诉时间不能为空!", {skin: 'layui-layer-molv', closeBtn: 0}, function () {
  80. layer.closeAll('dialog');
  81. });
  82. return;
  83. } else {
  84. $('#form1').attr('action', '${ctx}/myconsole/complaint/report/selectinfo02_' + strNo);
  85. $('#form1').attr('target', '_self');
  86. $('#form1').submit();
  87. }
  88. }
  89. //根据分公司获取部门信息
  90. function setCentreCompanyID() {
  91. var filialeID = $("#FilialeID").val();
  92. $("#respondentFilialeID").val(filialeID);
  93. if (filialeID != '') {
  94. var filialeName = $("#FilialeID").find("option:selected").text();
  95. $("#FilialeName").val(filialeName);
  96. $('#form1').attr('action', '${ctx}/myconsole/complaint/register/getFilialeBusinessHallNameData?ParentID=' + filialeID);
  97. $('#form1').ajaxSubmit(setCentreCompanyIDData);
  98. } else {
  99. $("#CentreCompanyID").empty();
  100. $("#FilialeName").val("");
  101. }
  102. }
  103. //回写原因二类字典数据
  104. function setCentreCompanyIDData(data) {
  105. $("#BusinessHallID").empty();
  106. $("#BusinessHallID").append("<option value=''>请选择</option>");
  107. $("#BusinessHallID").append(data);
  108. }
  109. function setBusinessHallName() {
  110. var BusinessHallID = $("#BusinessHallID").val();
  111. if (BusinessHallID != '') {
  112. var BusinessHallName = $("#BusinessHallID").find("option:selected").text();
  113. $("#BusinessHallName").val(BusinessHallName);
  114. } else {
  115. $("#BusinessHallName").val("");
  116. }
  117. }
  118. //根据一级渠道获取二级渠道3
  119. function setSalesChannelName() {
  120. var idData = $('#SalesChannelID').val();
  121. if (idData != '') {
  122. var nameData = $("#SalesChannelID").find("option:selected").text();
  123. $("#SalesChannelName").val(nameData);
  124. $('#form1').attr('action', '${ctx}/myconsole/complaint/register/getSalesTypeIDData?ParentID=' + idData);
  125. $('#form1').ajaxSubmit(setSalesTypeIDData);
  126. } else {
  127. $("#SalesChannelName").val("");
  128. }
  129. }
  130. //回写二级渠道方式数据
  131. function setSalesTypeIDData(data) {
  132. $("#SalesTypeID").empty();
  133. $("#SalesTypeID").append("<option value=''>请选择</option>");
  134. $("#SalesTypeID").append(data);
  135. //动态绑定数据一定要加这句话否则没有效果
  136. $(".selectpicker").selectpicker('refresh');
  137. }
  138. function setSalesTypeName() {
  139. var idData = $('#SalesTypeID').val();
  140. if (idData != '') {
  141. var nameData = $("#SalesTypeID").find("option:selected").text();
  142. $("#SalesTypeName").val(nameData);
  143. } else {
  144. $("#SalesTypeName").val("");
  145. }
  146. }
  147. <!--根据下方table的id(tables)调用tableExport.js的tableExport方法导出表格-->
  148. function exportTable() {
  149. $("td:hidden").remove();
  150. $("#tables").tableExport({fileName: '客户案件综合统计表',type:"xls",escape:"false"});
  151. }
  152. //下载附件
  153. function downFile(filePath,fileName) {
  154. window.open('${ctx}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
  155. }
  156. $(function () {
  157. $('#tables').tablesMergeCell({
  158. cols: [0,1]
  159. });
  160. })
  161. </script>
  162. <style>
  163. body,html{padding:0;margin:0;}
  164. *{padding:0;margin:0;}
  165. .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;}
  166. .time{width:85%;padding:0;margin:0 auto;line-height:30px;font-size:14px; font-family:"Microsoft YaHei"; text-align:center;color:#8c8c8c}
  167. .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;}
  168. .time span{padding:0;margin:0;float:left;}
  169. .table{width:85%;margin:10px auto;padding:0;border-top: rgba(10, 10, 10, 0.96) 1px solid;border-left: #0a0a0a 1px solid;}
  170. .table tr{width:100%;margin:0;padding:0;}
  171. .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;}
  172. </style>
  173. <!--/请在上方写此页面业务相关的脚本-->
  174. <title>客户案件综合统计表</title>
  175. <meta name="keywords" content="">
  176. <meta name="description" content="">
  177. </head>
  178. <body style="line-height:1;">
  179. <form id="form1" method="post" class="form-horizontal" role="form">
  180. <div style="display: none">
  181. <input type="hidden" id="FilialeName" name="FilialeName" value=""/>
  182. <input type="hidden" id="BusinessHallName" name="BusinessHallName" value=""/>
  183. <input type="hidden" id="SalesChannelName" name="SalesChannelName" value=""/>
  184. <input type="hidden" id="SalesTypeName" name="SalesTypeName" value=""/>
  185. <input type="hidden" id="RespondentModel" name="RespondentModel" value="respondent"/>
  186. <input type="hidden" id="respondentFilialeID" name="respondent.FilialeID" value=""/>
  187. </div>
  188. <div class="container-fluid" style="margin-top:0px;">
  189. <div class="row" style="padding:15px">
  190. <div class="panel panel-primary">
  191. <div class="panel-heading">查询条件</div>
  192. <div id="collapsePerson" class="panel-collapse collapse in">
  193. <div class="panel-body" style="font-size:14px;width:98%">
  194. <div class="row" style="padding:5px">
  195. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback">
  196. <label class="control-label" for="xjstartDate">投诉时间</label>
  197. </div>
  198. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback"
  199. id="quarterStartDate">
  200. <div class="input-group">
  201. <input type="text" class="form-control" placeholder="" id="BeginAppealDate"
  202. name="BeginAppealDate" vmode="not null" vdisp="投诉时间" vtype="string"
  203. readonly>
  204. <div class="input-group-btn">
  205. <button type="button" class="btn btn-default" aria-label="Left Align"
  206. onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'BeginAppealDate',maxDate:new Date()})"
  207. title="选择投诉时间">
  208. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  209. </button>
  210. </div>
  211. </div>
  212. </div>
  213. <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 has-error has-feedback" id="property">
  214. <label class="control-label" for="xjendDate"
  215. id="property">&nbsp;&nbsp;至&nbsp;&nbsp;</label>
  216. </div>
  217. <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 has-error has-feedback" id="quarterEndDate">
  218. <div class="input-group">
  219. <input type="text" class="form-control" placeholder="" id="EndAppealDate"
  220. name="EndAppealDate" vmode="not null" vdisp="投诉时间 " vtype="string"
  221. readonly>
  222. <div class="input-group-btn">
  223. <button type="button" class="btn btn-default" aria-label="Left Align"
  224. onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'EndAppealDate',minDate:$('#BeginAppealDate').val(),maxDate:new Date()})"
  225. title="选择投诉时间">
  226. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  227. </button>
  228. </div>
  229. </div>
  230. </div>
  231. <!-- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 ">-->
  232. <!-- <label class="control-label">投诉来源</label>-->
  233. <!-- </div>-->
  234. <!-- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">-->
  235. <!-- <select id="AppealSource" name="AppealSource" class="form-control" vmode=""-->
  236. <!-- vdisp="投诉来源" vtype="string">-->
  237. <!-- <option value="">请选择</option>-->
  238. <!-- ${appealSource!''}-->
  239. <!-- </select>-->
  240. <!-- </div>-->
  241. </div>
  242. <div class="row" style="padding:5px" align=center>
  243. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
  244. <button type="button" class="btn btn-success" id="SubmitButton1"
  245. onclick="doSubmit('01')"> 查询
  246. </button>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. </form>
  255.  
  256. <div class="container-fluid" style="margin-top:1px;">
  257. <div class="time">
  258. <span><input class="dc" id="dc" value="导出Excel" type="${showFlag!''}" onclick="exportTable()" /></span>
  259. <div style="clear:both;"></div>
  260. </div>
  261. <table id="tables" width="85%" cellpadding="0" cellspacing="0" border="0" class="table">
  262. ${tableData!''}
  263. </table>
  264. </div>
  265. </body>
  266. </html>