self.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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="Bookmark" href="/favicon.ico" >
  10. <LINK rel="Shortcut Icon" href="/favicon.ico" />
  11. <script type="text/javascript">
  12. var ctx="${ctx}";
  13. </script>
  14. <!--[if lt IE 9]>
  15. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  16. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  17. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  18. <![endif]-->
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
  20. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
  21. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
  22. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
  23. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
  24. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  25. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/webuploader/0.1.5/webuploader.css" />
  26. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  27. <!--_footer 作为公共模版分离出去-->
  28. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  29. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  30. <script type="text/javascript" src="${ctx}/assets/lib/icheck/jquery.icheck.min.js"></script>
  31. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
  32. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/validate-methods.js"></script>
  33. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
  34. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  35. <script type="text/javascript" src="${ctx}/assets/static/h-ui.admin/js/H-ui.admin.js"></script>
  36. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  37. <!--/_footer /作为公共模版分离出去-->
  38. <!--请在下方写此页面业务相关的脚本-->
  39. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  40. <script type="text/javascript" src="${ctx}/assets/lib/webuploader/0.1.5/webuploader.min.js"></script>
  41. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  42. <link href="${ctx}/assets/lib/jquery.sumoselect/sumoselect.css" rel="stylesheet" />
  43. <script type="text/javascript" src="${ctx}/assets/lib/jquery.sumoselect/jquery.sumoselect.min.js"></script>
  44. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  45. <!--[if IE 6]>
  46. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  47. <script>DD_belatedPNG.fix('*');</script>
  48. <![endif]-->
  49. <!--/meta 作为公共模版分离出去-->
  50. <script type="text/javascript">
  51. var contextPath="${ctx}";
  52. </script>
  53. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.config.js"></script>
  54. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.all.js"> </script>
  55. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
  56. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/colorpicker/evol-colorpicker.css" />
  57. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
  58. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
  59. <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
  60. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
  61. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
  62. <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
  63. <script src="${ctx}/assets/js/validate.js" ></script>
  64. <style type="text/css">
  65. .margintop{margin-bottom:5px;}
  66. .placeholder{height:14px;}
  67. </style>
  68. <script type="text/javascript">
  69. function doSubmit(){
  70. if(doValidate(form1)){
  71. $('#form1').attr('action','${ctx}/myconsole/complaint/report/selfinfo');
  72. $('#form1').submit();
  73. }
  74. }
  75. //回写显示行
  76. function setRowData(data){
  77. //alert(data);
  78. //$("#rowData").innerHTML="";
  79. //$("#rowData").innerHTML=data;
  80. //$("#rowData").html("");
  81. $("#rowData").html(data);
  82. }
  83. //回写显示列
  84. function setcolData(data){
  85. //alert(data);
  86. //$("#rowData").innerHTML="";
  87. //$("#rowData").innerHTML=data;
  88. //$("#rowData").html("");
  89. $("#colData").html(data);
  90. }
  91. //回写显示指标
  92. function settargetData(data){
  93. //alert(data);
  94. //$("#rowData").innerHTML="";
  95. //$("#rowData").innerHTML=data;
  96. //$("#rowData").html("");
  97. $("#targetData").html(data);
  98. }
  99. $(function(){
  100. $("#ReportTable").change(function(){
  101. strUpperid=$("#ReportTable").val();
  102. $('#form1').attr('action','${ctx}/myconsole/complaint/report/getReportDataRow');
  103. $('#form1').ajaxSubmit(setRowData);
  104. //$("#ReportRow").html("");
  105. $('#form1').attr('action','${ctx}/myconsole/complaint/report/getReportDataCol');
  106. $('#form1').ajaxSubmit(setcolData);
  107. $('#form1').attr('action','${ctx}/myconsole/complaint/report/getReportDataTarget');
  108. $('#form1').ajaxSubmit(settargetData);
  109. });
  110. });
  111. </script>
  112. <!--/请在上方写此页面业务相关的脚本-->
  113. <title>自定义报表</title>
  114. <meta name="keywords" content="">
  115. <meta name="description" content="">
  116. </head>
  117. <body style="line-height:1;">
  118. <form id="form1" method="post">
  119. <div style="display: none">
  120. <input type="hidden" id="siteid" name="web.siteid" value=""/>
  121. </div>
  122. <div class="container-fluid" style="margin-top:15px;">
  123. <div class="panel panel-primary">
  124. <div class="panel-heading">自定义报表</div>
  125. <div class="panel-body">
  126. <div class="row" style="padding:5px">
  127. <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 " >
  128. <table>
  129. <tr>
  130. <td style="width:105px"><label class="form-label" for="web.title">数据来源</label></td>
  131. <td>
  132. <select id="ReportTable" name="ReportTable" class="form-control" vdisp='数据来源' vtype='string' >
  133. <option value="">请选择</option>
  134. ${selfReport!''}
  135. </select>
  136. </td>
  137. </tr>
  138. </table>
  139. </div>
  140. <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 " >
  141. <table>
  142. <tr>
  143. <td style="width:105px"><label class="form-label" for="web.title">报表标题</label>
  144. </td>
  145. <td><input type="text" class="input-text required" value="" placeholder="" id="Title" name="Title" vdisp='报表标题' vtype='chinese'></td>
  146. </tr>
  147. </table>
  148. </div>
  149. </div>
  150. <div class="row" style="padding:5px">
  151. <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
  152. <table>
  153. <tr>
  154. <td style="width:105px"><label class="form-label" for="web.title">投诉起始日期</label></td>
  155. <td>
  156. <div class="input-group">
  157. <input type="text" class="input-text required" value="${beginDate}" placeholder="" id="AppealDateBegin" name="AppealDateBegin" readonly>
  158. <div class="input-group-btn">
  159. <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'AppealDateBegin',maxDate:new Date()})">
  160. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  161. </button>
  162. </div>
  163. </div>
  164. </td>
  165. </tr>
  166. </table>
  167. </div>
  168. <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4" >
  169. <table>
  170. <tr>
  171. <td style="width:105px"><label class="form-label" for="web.title">投诉结束日期</label></td>
  172. <td>
  173. <div class="input-group">
  174. <input type="text" class="input-text required" value="${curDate}" placeholder="" id="AppealDateEnd" name="AppealDateEnd" readonly>
  175. <div class="input-group-btn">
  176. <button type="button" class="btn btn-default" aria-label="Left Align" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'AppealDateEnd',maxDate:new Date()})">
  177. <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
  178. </button>
  179. </div>
  180. </div>
  181. </td>
  182. </tr>
  183. </table>
  184. </div>
  185. <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 " >
  186. <table>
  187. <tr>
  188. <td style="width:105px"><label class="form-label" for="web.title">办理单位</label>
  189. </td>
  190. <td><input type="text" class="input-text required" value="${orgname}" placeholder="" id="FilialeName" name="FilialeName" vdisp='办理单位' vtype='chinese' readonly></td>
  191. </tr>
  192. </table>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="panel panel-success">
  198. <div class="panel-heading">选择显示的行</div>
  199. <div class="panel-body">
  200. <div>
  201. <table><tr><td id="rowData"></td></tr> </table>
  202. </div>
  203. </div>
  204. </div>
  205. <div class="panel panel-success">
  206. <div class="panel-heading">选择显示的列</div>
  207. <div class="panel-body">
  208. <div>
  209. <table><tr><td id="colData"></td></tr> </table>
  210. </div>
  211. </div>
  212. </div>
  213. <div class="panel panel-success">
  214. <div class="panel-heading">选择显示的指标</div>
  215. <div class="panel-body">
  216. <div>
  217. <table><tr><td id="targetData"></td></tr> </table>
  218. </div>
  219. </div>
  220. </div>
  221. <div class="row" style="padding:5px">
  222. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" >
  223. <table>
  224. <tr>
  225. <td style="width:270px" align="center">
  226. <button type="button" class="btn btn-success" id="SubmitButton1" onclick="doSubmit()"> 查&nbsp;&nbsp;&nbsp;&nbsp;询</button>
  227. </td>
  228. </tr>
  229. </table>
  230. </div>
  231. </div>
  232. </div>
  233. </form>
  234.  
  235. </body>
  236. </html>