123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DZKJTaskStatisticsView.aspx.cs" Inherits="LYFZ.WeixinServers.DZKJ.DZKJTaskStatisticsView" %>
- <!--#include file="/WeiXinAPP/html/head.html" -->
- <!--#include file="/WeiXinAPP/html/leftMenu.html" -->
-
- <div class="content">
-
-
- <ul class="breadcrumb">
- <!--#include file="/WeiXinAPP/html/indexBread.html" -->
- <li class="active">点赞科技爆客系统使用分析统计</li>
- </ul>
- <div class="container-fluid">
- <div class="row-fluid">
- <div style="width:100%; min-height:700px;">
-
-
- <div style="height:32px;" class="btn-toolbar">
- <div style="width:100%;height:24px; float:left;">
- <form style="display:block;width:100%;height:24px; float:left;" id="tab2" >
- <label style="width:50px;height:100%; padding-top:5px; float:left;">关键字</label>
- <div style="width:200px;height:100%; float:left; margin-right:5px;">
- <input id="Keyword" name="Keyword" type="text" class="span12" />
- </div>
- <%-- <label style="width:70px;height:100%; padding-top:5px; float:left;">查询方式</label>--%>
- <div style="width:82px;height:100%; float:left; margin-right:5px;">
- <select style="width:80px;" name="viewtype" id="viewtype" class="input-xlarge">
- <option value="0">按年</option>
- <option value="1">按月</option>
- <option value="2">按日</option>
- </select>
- </div>
-
- <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" >
- <input style="width:90px;" id="form_date_day" size="16" type="text" value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>" readonly="readonly">
- <span id="btnremove" class="add-on"><i class="icon-remove"></i></span>
- <span id="btnaddon" class="add-on"><i class="icon-th"></i></span>
- </div>
- <input type="hidden" name="ExecDate" id="dtp_input" value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>" />
- <button style="float:left;" class="btn">查询</button>
-
- </form>
-
- </div>
- <!-- <button class="btn">Import</button>
- <button class="btn">Export</button>-->
- <div class="btn-group">
- </div>
- </div>
- <div class="well">
- <h4><%=TaskStatistics %></h4>
- <table class="table">
- <thead>
- <tr>
- <th style="width:220px;">企业名称</th>
- <th style="width:120px;">帐号</th>
- <th style="width:220px;">功能</th>
- <th style="width:100px;">使用次数</th>
- <th style="width:auto;">图形统计</th>
- </tr>
- </thead>
- <tbody>
- <%=this.TaskStatisticsViewListHtmlTb.ToString() %>
- </tbody>
- </table>
- </div>
- <%=PagingInfoHtml %>
-
- </div>
- <!--#include file="/WeiXinAPP/html/DeleteDialog.html" -->
- <!--#include file="/WeiXinAPP/html/footer.html" -->
-
- </div>
- </div>
- </div>
- <script type="text/javascript">
- $(document).ready(function () {
-
- $("#viewtype").val(2);
- var dateFormat = "yyyy-mm-dd";
- var dateStartView = 2;
- var dateMinView = 2;
-
- SetForm_date(dateFormat, dateStartView, dateMinView);
- $("#viewtype").change(function () {
- var vType = $(this).val();
- switch (vType)
- {
- case "0":
- dateFormat = "yyyy";
- dateStartView = 4;
- dateMinView = 4;
-
- break;
- case "1":
- dateFormat = "yyyy-mm";
- dateStartView = 3;
- dateMinView = 3;
- break;
- case "2":
- dateFormat = "yyyy-mm-dd";
- dateStartView = 2;
- dateMinView = 2;
- break;
- }
-
- SetForm_date(dateFormat, dateStartView, dateMinView);
-
- });
-
-
- var Keyword = GetQueryString("Keyword");
- if (Keyword) {
- $("#Keyword").val(Keyword);
- }
- var viewtype = GetQueryString("viewtype");
- if (viewtype) {
- $("#viewtype").val(viewtype);
- $("#viewtype").change();
- }
- let dtp_input = GetQueryString("ExecDate");
- if (dtp_input) {
- $("#dtp_input").val(dtp_input);
- // $('#form_date_day').val(dtp_input);
- var mydate = new Date(Date.parse(dtp_input.replace(/-/g, "/")));
- if (viewtype == 0) {
- $('#form_date_day').val(mydate.getFullYear());
- } else if (viewtype == 1) {
- $('#form_date_day').val(mydate.getFullYear() + "-" + (mydate.getMonth() + 1));
- } else {
- $('#form_date_day').val(dtp_input);
- }
- }
- $("#btnaddon").click(function () {
- $('#btnremove').click();
- });
-
- });
- function SetForm_date(dateFormat, dateStartView, dateMinView)
- {
- $('.form_date_day').datetimepicker('remove');
-
- $('.form_date_day').datetimepicker({
- format: dateFormat,
- weekStart: 1,
- todayHighlight: 1,
- autoclose: true,
- todayBtn: true,
- startView: dateStartView,
- minView: dateMinView,
- language: 'zh-CN',
- pickerPosition: "bottom-left"
- });
- // $('#form_date_day').val($("#dtp_input").val());
- // $('#btnremove').click();
- }
- </script>
- <!--#include file="/WeiXinAPP/html/bottom.html" -->
|