DZKJCTaskOneView.aspx 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DZKJTaskOneView.aspx.cs" Inherits="LYFZ.WeixinServers.DZKJ.DZKJTaskOneView" %>
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <title>点赞科技爆客系统使用分析统计</title>
  7. <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <meta name="description" content="">
  10. <meta name="author" content="">
  11. <link rel="stylesheet" type="text/css" href="/WeiXinAPP/lib/bootstrap/css/bootstrap.min.css">
  12. <link rel="stylesheet" type="text/css" href="/WeiXinAPP/lib/bootstrap/css/bootstrap-datetimepicker.min.css">
  13. <link rel="stylesheet" type="text/css" href="/WeiXinAPP/stylesheets/theme.css">
  14. <link rel="stylesheet" href="/WeiXinAPP/lib/font-awesome/css/font-awesome.css">
  15. <script src="/WeiXinAPP/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
  16. <script type="text/javascript">
  17. function GetQueryString(name) {
  18. var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
  19. var r = location.search.substr(1).match(reg);
  20. if (r != null) return unescape(decodeURI(r[2])); return null;
  21. }
  22. </script>
  23. <!-- Demo page code -->
  24. <style type="text/css">
  25. #line-chart {
  26. height: 300px;
  27. width: 800px;
  28. margin: 0px auto;
  29. margin-top: 1em;
  30. }
  31. .brand {
  32. font-family: georgia, serif;
  33. }
  34. .brand .first {
  35. color: #ccc;
  36. font-style: italic;
  37. }
  38. .brand .second {
  39. color: #fff;
  40. font-weight: bold;
  41. }
  42. /*分页样式一*/
  43. .page_css {
  44. padding-top: 15px;
  45. }
  46. .page_css a {
  47. padding: 4px 6px;
  48. border: solid 1px #ddd;
  49. background: #fff;
  50. text-decoration: none;
  51. margin-right: 3px;
  52. margin-left: 3px;
  53. }
  54. .page_css a:visited {
  55. padding: 4px 6px;
  56. border: solid 1px #ddd;
  57. background: #fff;
  58. text-decoration: none;
  59. }
  60. .page_css a:hover {
  61. color: #fff;
  62. background: #0A8EE2;
  63. border-color: #0A8EE2;
  64. text-decoration: none;
  65. }
  66. .page_css .nowpage {
  67. color:#0A8EE2;
  68. padding: 4px 6px;
  69. font-weight: bold;
  70. border: none;
  71. }
  72. /*分页样式二*/
  73. .pages {
  74. padding-top: 15px;
  75. }
  76. .pages a {
  77. padding: 4px 6px;
  78. border: solid 1px #ddd;
  79. background: #fff;
  80. text-decoration: none;
  81. margin-right: 3px;
  82. margin-left: 3px;
  83. }
  84. .pages a:visited {
  85. padding: 4px 6px;
  86. border: solid 1px #ddd;
  87. background: #fff;
  88. text-decoration: none;
  89. }
  90. .pages .cpb {
  91. padding: 4px 6px;
  92. font-weight: bold;
  93. color: #000000;
  94. border: none;
  95. }
  96. .pages a:hover {
  97. color: #fff;
  98. background: #ffa501;
  99. border-color: #ffa501;
  100. text-decoration: none;
  101. }
  102. #loading {
  103. position: fixed;
  104. _position: absolute;
  105. top: 50%;
  106. left: 50%;
  107. width: 124px;
  108. height: 124px;
  109. overflow: hidden;
  110. background: url(/weixinapp/images/LoadBox.gif) no-repeat;
  111. z-index: 7000;
  112. margin: -62px 0 0 -62px;
  113. }
  114. </style>
  115. <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
  116. <!--[if lt IE 9]>
  117. <script src="/weixinapp/lib/html5.js"></script>
  118. <![endif]-->
  119. <!-- Le fav and touch icons -->
  120. </head>
  121. <!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
  122. <!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
  123. <!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
  124. <!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
  125. <!--[if (gt IE 9)|!(IE)]><!-->
  126. <body class="">
  127. <!--<![endif]-->
  128. <div style="margin-left:0px;" class="content">
  129. <ul class="breadcrumb">
  130. <li class="active">点赞科技爆客系统使用分析统计</li>
  131. </ul>
  132. <div class="container-fluid">
  133. <div class="row-fluid">
  134. <div style="width:100%; min-height:700px;">
  135. <div style="height:32px;" class="btn-toolbar">
  136. <div style="width:100%;height:24px; float:left;">
  137. <form style="display:block;width:100%;height:24px; float:left;" id="tab2" >
  138. <label style="width:40px;height:100%; padding-top:5px; float:left;">查询</label>
  139. <div style="width:82px;height:100%; float:left; margin-right:5px;">
  140. <select style="width:80px;" name="viewtype" id="viewtype" class="input-xlarge">
  141. <option value="0">按年</option>
  142. <option value="1">按月</option>
  143. <option value="2">按日</option>
  144. </select>
  145. </div>
  146. <div id="myForm_date_day" style="float:left;width:160px; height:24px; " class="controls input-append date form_date_day" data-date="" data-date-format="yyyy-mm-dd" data-link-field="dtp_input" data-link-format="yyyy-mm-dd" >
  147. <input style="width:90px;" id="form_date_day" size="16" type="text" value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>" readonly="readonly">
  148. <span id="btnremove" class="add-on"><i class="icon-remove"></i></span>
  149. <span id="btnaddon" class="add-on"><i class="icon-th"></i></span>
  150. </div>
  151. <input type="hidden" name="ExecDate" id="dtp_input" value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>" />
  152. <input type="hidden" name="Account" id="Account" value="" />
  153. <button style="float:left;" class="btn">查询</button>
  154. </form>
  155. </div>
  156. <!-- <button class="btn">Import</button>
  157. <button class="btn">Export</button>-->
  158. <div class="btn-group">
  159. </div>
  160. </div>
  161. <div class="well">
  162. <h4>企业名称:<%=CompanyName %></h4>
  163. <table class="table">
  164. <thead>
  165. <tr>
  166. <th style="width:155px;">功能</th>
  167. <th style="width:80px;">使用次数</th>
  168. <th style="width:auto;">图形统计</th>
  169. </tr>
  170. </thead>&nbsp;
  171. <tbody>
  172. <%=this.TaskStatisticsViewListHtmlTb.ToString() %>
  173. </tbody>
  174. </table>
  175. </div>
  176. <%=PagingInfoHtml %>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <script type="text/javascript">
  182. $(document).ready(function () {
  183. $("#viewtype").val(2);
  184. var dateFormat = "yyyy-mm-dd";
  185. var dateStartView = 2;
  186. var dateMinView = 2;
  187. SetForm_date(dateFormat, dateStartView, dateMinView);
  188. $("#viewtype").change(function () {
  189. var vType = $(this).val();
  190. switch (vType) {
  191. case "0":
  192. dateFormat = "yyyy";
  193. dateStartView = 4;
  194. dateMinView = 4;
  195. break;
  196. case "1":
  197. dateFormat = "yyyy-mm";
  198. dateStartView = 3;
  199. dateMinView = 3;
  200. break;
  201. case "2":
  202. dateFormat = "yyyy-mm-dd";
  203. dateStartView = 2;
  204. dateMinView = 2;
  205. break;
  206. }
  207. SetForm_date(dateFormat, dateStartView, dateMinView);
  208. });
  209. var Account = GetQueryString("Account");
  210. if (Account) {
  211. $("#Account").val(Account);
  212. }
  213. var viewtype = GetQueryString("viewtype");
  214. if (viewtype) {
  215. $("#viewtype").val(viewtype);
  216. $("#viewtype").change();
  217. }
  218. var dtp_input = GetQueryString("ExecDate");
  219. if (dtp_input) {
  220. $("#dtp_input").val(dtp_input);
  221. // $('#form_date_day').val(dtp_input);
  222. var mydate = new Date(Date.parse(dtp_input.replace(/-/g, "/")));
  223. if (viewtype == 0) {
  224. $('#form_date_day').val(mydate.getFullYear());
  225. } else if (viewtype == 1) {
  226. $('#form_date_day').val(mydate.getFullYear() + "-" + (mydate.getMonth() + 1));
  227. } else {
  228. $('#form_date_day').val(dtp_input);
  229. }
  230. }
  231. $("#btnaddon").click(function () {
  232. $('#btnremove').click();
  233. });
  234. });
  235. function SetForm_date(dateFormat, dateStartView, dateMinView) {
  236. $('.form_date_day').datetimepicker('remove');
  237. $('.form_date_day').datetimepicker({
  238. format: dateFormat,
  239. weekStart: 1,
  240. todayHighlight: 1,
  241. autoclose: true,
  242. todayBtn: true,
  243. startView: dateStartView,
  244. minView: dateMinView,
  245. language: 'zh-CN',
  246. pickerPosition: "bottom-left"
  247. });
  248. // $('#form_date_day').val($("#dtp_input").val());
  249. // $('#btnremove').click();
  250. }
  251. </script>
  252. <script src="/WeiXinAPP/lib/bootstrap/js/bootstrap.min.js"></script>
  253. <script type="text/javascript" src="/WeiXinAPP/lib/bootstrap/js/bootstrap-datetimepicker.min.js" charset="UTF-8"></script>
  254. <script type="text/javascript" src="/WeiXinAPP/lib/bootstrap/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
  255. <script type="text/javascript">
  256. $("[rel=tooltip]").tooltip();
  257. $(function () {
  258. $('.demo-cancel-click').click(function () { return false; });
  259. });
  260. </script>
  261. </body>
  262. </html>