| | |
| | | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="GwStatisProfit.aspx.cs" Inherits="_GwStatisProfit" %>
|
| | |
|
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| | | <html xmlns="http://www.w3.org/1999/xhtml">
|
| | | <head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
| | | <meta name="renderer" content="webkit" />
|
| | | <meta http-equiv="Cache-Control" content="no-siteapp" />
|
| | | <title>利润统计</title>
|
| | | <!--[if lt IE 9]>
|
| | | <meta http-equiv="refresh" content="0;ie.html" />
|
| | | <![endif]-->
|
| | | <link rel="shortcut icon" href="favicon.ico" />
|
| | | <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet" />
|
| | | <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet" />
|
| | | <link href="css/plugins/iCheck/custom.css" rel="stylesheet" />
|
| | | <link href="css/animate.min.css" rel="stylesheet" />
|
| | | <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet" />
|
| | | <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet" />
|
| | | <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet" />
|
| | | <link href="css/jquery.numberedtextarea.css" rel="stylesheet" />
|
| | | <script src="js/loading.js" type="text/javascript"></script>
|
| | | <script src="js/jquery.min.js?v=2.1.4"></script>
|
| | | <script src="js/json.js"></script>
|
| | | <script src="js/bootstrap.min.js?v=3.3.6"></script>
|
| | | <script src="js/content.min.js?v=1.0.0"></script>
|
| | | <script src="js/plugins/iCheck/icheck.min.js"></script>
|
| | | <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
|
| | | <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
|
| | | <script type="text/javascript" src="/js/jquery-loading.js"></script>
|
| | | <script type="text/javascript" src="/js/jquery-form.js"></script>
|
| | | <script type="text/javascript" src="/js/jquery.numberedtextarea.js"></script>
|
| | | <script type="text/javascript" src="/js/mytek-pager.js"></script>
|
| | | <script src="js/mytek-pagination.js?r=11" type="text/javascript"></script>
|
| | | <style>
|
| | | body { font-size: 12px; color: #111111; }
|
| | | .mask { position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777; z-index: 1002; left: 0px; opacity: 0.5; -moz-opacity: 0.5; text-align: center; display: none; }
|
| | | .mask span { height: 70%; display: inline-block; vertical-align: middle; }
|
| | | .mask span img { vertical-align: middle; }
|
| | | </style>
|
| | | <script>
|
| | | (function ($) {
|
| | | $.ajaxBak = $.ajax;
|
| | |
|
| | | $.ajax = function (options) {
|
| | | options.timeout = 300000;
|
| | | options.url = options.url + (options.url.indexOf("?") > 0 ? "&" : "?") + "r=" + Math.random();
|
| | |
|
| | | options.complete = function (e) {
|
| | | $("body").hideLoading();
|
| | | }
|
| | |
|
| | | if (options.showloading !== false) {
|
| | | $("body").showLoading();
|
| | | }
|
| | |
|
| | | try {
|
| | | return $.ajaxBak.call(this, options);
|
| | | } catch (e) {
|
| | | if (options.showloading !== false) {
|
| | | $("body").hideLoading();
|
| | | }
|
| | | }
|
| | | return this;
|
| | | }
|
| | | })(jQuery);
|
| | |
|
| | | $(document).ready(function(){
|
| | | $(".icheck-me").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",});
|
| | | $(".input-group.date").datepicker({todayBtn:"linked",keyboardNavigation:!1,forceParse:!1,calendarWeeks:!0,autoclose:!0});
|
| | | $("[data-toggle='tooltip']").tooltip();
|
| | | $("[data-toggle=popover]").popover()
|
| | | });
|
| | | </script>
|
| | | |
| | | <script type="text/javascript">
|
| | | $(function () {
|
| | |
|
| | | $(".action-query").on("click", function () {
|
| | | var clientid = $("#clientid").val();
|
| | | var spid = $("#spid").val();
|
| | | var apid = $("#apid").val();
|
| | | var opid = $("#opid").val();
|
| | | var begintime = $("#begintime").val();
|
| | | var endtime = $("#endtime").val();
|
| | | var statistype = $("#statistype").val();
|
| | |
|
| | | var statisoption = 0;
|
| | |
|
| | | $(".statusoption").each(function () {
|
| | | var me = $(this);
|
| | | if (me.is(":checked"))
|
| | | statisoption += parseInt(me.val());
|
| | | });
|
| | |
|
| | | $.post("GwStatisProfit.ashx", {action: "loadStatisProfit",
|
| | | clientid: clientid, spid: spid, apid: apid, opid: opid, statistype: statistype, statisoption: statisoption, begintime: begintime, endtime: endtime
|
| | | }, function (result) {
|
| | | if (!result.OK)
|
| | | alert(result.Message);
|
| | | else {
|
| | | $("#resultTable").html(result.Message);
|
| | | }
|
| | | }, "json");
|
| | | });
|
| | | });
|
| | | </script>
|
| | | </head>
|
| | | <body class="white-bg">
|
| | | |
| | | <div class="wrapper wrapper-content table-responsive">
|
| | | |
| | | <div class="searchCanvas form-inline">
|
| | | <div class="ibox">
|
| | | <div class="form-group ">
|
| | | <div class="input-group m-b">
|
| | | <span class="input-group-addon">通道</span>
|
| | | <select name="opid" id="opid" class="form-control"> |
| | | <%=this.GenerateOPIDOptions()%>
|
| | | </select>
|
| | | </div>
|
| | | </div>
|
| | | <div class="form-group ">
|
| | | <div class="input-group m-b">
|
| | | <span class="input-group-addon">帐号</span>
|
| | | <select name="spid" id="spid" class="form-control">
|
| | | <%=this.GenerateSpIDOptions()%>
|
| | | </select>
|
| | | </div>
|
| | | </div>
|
| | | <div class="form-group ">
|
| | | <div class="input-group m-b">
|
| | | <span class="input-group-addon">报表类型</span>
|
| | | <select name="statistype" id="statistype" class="form-control">
|
| | | |
| | | |
| | | <% |
| | | __w.Write("<option value='YYYY\"年\"MM\"月\"DD\"日\' ");
|
| | | __w.Write(this.StatisType == "YYYY\"年\"MM\"月\"DD\"日\"" ? "selected" : "");
|
| | | __w.Write(">\r\n 日报表</option>\r\n <option value='YYYY\"年\"MM\"月\"' ");
|
| | | __w.Write(this.StatisType == "YYYY\"年\"MM\"月\"" ? "selected" : "");
|
| | | __w.Write(">\r\n 月报表</option>\r\n <option value='YYYY\"年第\"WW\"周\"' ");
|
| | | __w.Write(this.StatisType == "YYYY\"年第\"WW\"周\"" ? "selected" : "");
|
| | | __w.Write(">\r\n 周报表</option>\r\n "); |
| | | |
| | | %> |
| | | |
| | | |
| | | <%-- <option value='YYYY"年"MM"月"DD"日"' >
|
| | | 日报表</option>
|
| | | <option value='YYYY"年"MM"月"' >
|
| | | 月报表</option>
|
| | | <option value='YYYY"年第"WW"周"' >
|
| | | 周报表</option> --%>
|
| | | |
| | | |
| | | </select>
|
| | | </div>
|
| | | </div> |
| | | <div class="input-group m-b" style="margin-bottom: 0px;">
|
| | | <div class="input-group date m-b">
|
| | | <span class="input-group-addon">时间范围 <i class="fa fa-calendar"></i></span>
|
| | | <input type="text" class="input-sm form-control" name="begintime" id="begintime"
|
| | | value="<%=this.StartTime.ToString("yyyy-MM-dd")%>" />
|
| | | <span class="input-group-addon">到</span>
|
| | | </div>
|
| | | <div class=" input-group date m-b" style="margin-left: -4px;">
|
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
| | | <input type="text" class="input-sm form-control" name="endtime" id="endtime" value="<%=this.EndTime.ToString("yyyy-MM-dd")%>" />
|
| | | </div>
|
| | | </div>
|
| | | <div class="form-group ">
|
| | | <div class="input-group m-b">
|
| | | |
| | | |
| | | <%
|
| | | |
| | | __w.Write("<input type=\"checkbox\" class=\"statusoption icheck-me\" data-color=\"blue\" data-skin=\"minimal\"\r\n name=\"StatisOption\" value=\"2\" ");
|
| | | __w.Write((this.SelectedOptions & Dao.StatisOption.OPID) == Dao.StatisOption.OPID ? "checked" : "");
|
| | | __w.Write(" />\r\n 通道\r\n <input type=\"checkbox\" class=\"statusoption icheck-me\" data-color=\"blue\" data-skin=\"minimal\"\r\n name=\"StatisOption\" value=\"4\" ");
|
| | | __w.Write((this.SelectedOptions & Dao.StatisOption.SpID) == Dao.StatisOption.SpID ? "checked" : "");
|
| | | __w.Write(" />\r\n 账号\r\n "); |
| | | |
| | | %> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div>
|
| | | </div>
|
| | | <div class="form-group ">
|
| | | <div class="input-group m-b">
|
| | | <input type="button" value="查询" class="btn-primary btn action-query " />
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | <div class="table-responsive">
|
| | | <table class="table table-striped table-bordered table-hover" id="resultTable">
|
| | | </table>
|
| | | </div>
|
| | | <div>
|
| | | <h4>
|
| | | 统计说明</h4>
|
| | | <ul>
|
| | | <li class="text-info">业务统计为非实时统计,由后台进程每2小时统计一次。</li>
|
| | | <li>AP接收总费用:代理商提交到网关的计费总数;</li>
|
| | | <li>AP成功费用:代理商提交成功到网关的计费总数;</li> |
| | | <li>OP提交总费用:此网关提交到运营商通道的计费总数;</li>
|
| | | <li>OP成功费用:此网关提交成功到运营商通道的计费总数;</li>
|
| | | <li>毛利润:AP接收总费用与OP提交总费用之间的差值;</li>
|
| | | <li>净利润:AP成功费用与OP成功费用之间的差值;</li>
|
| | | </ul>
|
| | | </div>
|
| | |
|
| | | <div id="mask" class="mask">
|
| | | <span></span>
|
| | | <img src="img/spinning-circles.svg" alt="载入中..." /></div>
|
| | | </div>
|
| | | </body>
|
| | | </html>
|
| | | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="GwStatisProfit.aspx.cs" Inherits="_GwStatisProfit" %> |
| | | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> |
| | | <meta name="renderer" content="webkit" /> |
| | | <meta http-equiv="Cache-Control" content="no-siteapp" /> |
| | | <title>利润统计</title> |
| | | <!--[if lt IE 9]> |
| | | <meta http-equiv="refresh" content="0;ie.html" /> |
| | | <![endif]--> |
| | | <link rel="shortcut icon" href="favicon.ico" /> |
| | | <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet" /> |
| | | <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet" /> |
| | | <link href="css/plugins/iCheck/custom.css" rel="stylesheet" /> |
| | | <link href="css/animate.min.css" rel="stylesheet" /> |
| | | <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet" /> |
| | | <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet" /> |
| | | <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet" /> |
| | | <link href="css/jquery.numberedtextarea.css" rel="stylesheet" /> |
| | | <script src="js/loading.js" type="text/javascript"></script> |
| | | <script src="js/jquery.min.js?v=2.1.4"></script> |
| | | <script src="js/json.js"></script> |
| | | <script src="js/bootstrap.min.js?v=3.3.6"></script> |
| | | <script src="js/content.min.js?v=1.0.0"></script> |
| | | <script src="js/plugins/iCheck/icheck.min.js"></script> |
| | | <script src="js/plugins/sweetalert/sweetalert.min.js"></script> |
| | | <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script> |
| | | <script type="text/javascript" src="/js/jquery-loading.js"></script> |
| | | <script type="text/javascript" src="/js/jquery-form.js"></script> |
| | | <script type="text/javascript" src="/js/jquery.numberedtextarea.js"></script> |
| | | <script type="text/javascript" src="/js/mytek-pager.js"></script> |
| | | <script src="js/mytek-pagination.js?r=11" type="text/javascript"></script> |
| | | <style> |
| | | body { font-size: 12px; color: #111111; } |
| | | .mask { position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777; z-index: 1002; left: 0px; opacity: 0.5; -moz-opacity: 0.5; text-align: center; display: none; } |
| | | .mask span { height: 70%; display: inline-block; vertical-align: middle; } |
| | | .mask span img { vertical-align: middle; } |
| | | </style> |
| | | <script> |
| | | (function ($) { |
| | | $.ajaxBak = $.ajax; |
| | | |
| | | $.ajax = function (options) { |
| | | options.timeout = 300000; |
| | | options.url = options.url + (options.url.indexOf("?") > 0 ? "&" : "?") + "r=" + Math.random(); |
| | | |
| | | options.complete = function (e) { |
| | | $("body").hideLoading(); |
| | | } |
| | | |
| | | if (options.showloading !== false) { |
| | | $("body").showLoading(); |
| | | } |
| | | |
| | | try { |
| | | return $.ajaxBak.call(this, options); |
| | | } catch (e) { |
| | | if (options.showloading !== false) { |
| | | $("body").hideLoading(); |
| | | } |
| | | } |
| | | return this; |
| | | } |
| | | })(jQuery); |
| | | |
| | | $(document).ready(function(){ |
| | | $(".icheck-me").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",}); |
| | | $(".input-group.date").datepicker({todayBtn:"linked",keyboardNavigation:!1,forceParse:!1,calendarWeeks:!0,autoclose:!0}); |
| | | $("[data-toggle='tooltip']").tooltip(); |
| | | $("[data-toggle=popover]").popover() |
| | | }); |
| | | </script> |
| | | |
| | | <script type="text/javascript"> |
| | | $(function () { |
| | | |
| | | $(".action-query").on("click", function () { |
| | | var clientid = $("#clientid").val(); |
| | | var spid = $("#spid").val(); |
| | | var apid = $("#apid").val(); |
| | | var opid = $("#opid").val(); |
| | | var begintime = $("#begintime").val(); |
| | | var endtime = $("#endtime").val(); |
| | | var statistype = $("#statistype").val(); |
| | | |
| | | var statisoption = 0; |
| | | |
| | | $(".statusoption").each(function () { |
| | | var me = $(this); |
| | | if (me.is(":checked")) |
| | | statisoption += parseInt(me.val()); |
| | | }); |
| | | |
| | | $.post("GwStatisProfit.ashx", {action: "loadStatisProfit", |
| | | clientid: clientid, spid: spid, apid: apid, opid: opid, statistype: statistype, statisoption: statisoption, begintime: begintime, endtime: endtime |
| | | }, function (result) { |
| | | if (!result.OK) |
| | | alert(result.Message); |
| | | else { |
| | | $("#resultTable").html(result.Message); |
| | | } |
| | | }, "json"); |
| | | }); |
| | | }); |
| | | </script> |
| | | </head> |
| | | <body class="white-bg"> |
| | | |
| | | <div class="wrapper wrapper-content table-responsive"> |
| | | |
| | | <div class="searchCanvas form-inline"> |
| | | <div class="ibox"> |
| | | <div class="form-group "> |
| | | <div class="input-group m-b"> |
| | | <span class="input-group-addon">通道</span> |
| | | <select name="opid" id="opid" class="form-control"> |
| | | <%=this.GenerateOPIDOptions()%> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="form-group "> |
| | | <div class="input-group m-b"> |
| | | <span class="input-group-addon">帐号</span> |
| | | <select name="spid" id="spid" class="form-control"> |
| | | <%=this.GenerateSpIDOptions()%> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="form-group "> |
| | | <div class="input-group m-b"> |
| | | <span class="input-group-addon">报表类型</span> |
| | | <select name="statistype" id="statistype" class="form-control"> |
| | | |
| | | |
| | | <% |
| | | __w.Write("<option value='YYYY\"年\"MM\"月\"DD\"日\' "); |
| | | __w.Write(this.StatisType == "YYYY\"年\"MM\"月\"DD\"日\"" ? "selected" : ""); |
| | | __w.Write(">\r\n 日报表</option>\r\n <option value='YYYY\"年\"MM\"月\"' "); |
| | | __w.Write(this.StatisType == "YYYY\"年\"MM\"月\"" ? "selected" : ""); |
| | | __w.Write(">\r\n 月报表</option>\r\n <option value='YYYY\"年第\"WW\"周\"' "); |
| | | __w.Write(this.StatisType == "YYYY\"年第\"WW\"周\"" ? "selected" : ""); |
| | | __w.Write(">\r\n 周报表</option>\r\n "); |
| | | |
| | | %> |
| | | |
| | | |
| | | <%-- <option value='YYYY"年"MM"月"DD"日"' > |
| | | 日报表</option> |
| | | <option value='YYYY"年"MM"月"' > |
| | | 月报表</option> |
| | | <option value='YYYY"年第"WW"周"' > |
| | | 周报表</option> --%> |
| | | |
| | | |
| | | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="input-group m-b" style="margin-bottom: 0px;"> |
| | | <div class="input-group date m-b"> |
| | | <span class="input-group-addon">时间范围 <i class="fa fa-calendar"></i></span> |
| | | <input type="text" class="input-sm form-control" name="begintime" id="begintime" |
| | | value="<%=this.StartTime.ToString("yyyy-MM-dd")%>" /> |
| | | <span class="input-group-addon">到</span> |
| | | </div> |
| | | <div class=" input-group date m-b" style="margin-left: -4px;"> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | <input type="text" class="input-sm form-control" name="endtime" id="endtime" value="<%=this.EndTime.ToString("yyyy-MM-dd")%>" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group "> |
| | | <div class="input-group m-b"> |
| | | |
| | | |
| | | <% |
| | | |
| | | __w.Write("<input type=\"checkbox\" class=\"statusoption icheck-me\" data-color=\"blue\" data-skin=\"minimal\"\r\n name=\"StatisOption\" value=\"2\" "); |
| | | __w.Write((this.SelectedOptions & Dao.StatisOption.OPID) == Dao.StatisOption.OPID ? "checked" : ""); |
| | | __w.Write(" />\r\n 通道\r\n <input type=\"checkbox\" class=\"statusoption icheck-me\" data-color=\"blue\" data-skin=\"minimal\"\r\n name=\"StatisOption\" value=\"4\" "); |
| | | __w.Write((this.SelectedOptions & Dao.StatisOption.SpID) == Dao.StatisOption.SpID ? "checked" : ""); |
| | | __w.Write(" />\r\n 账号\r\n "); |
| | | |
| | | %> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="form-group "> |
| | | <div class="input-group m-b"> |
| | | <input type="button" value="查询" class="btn-primary btn action-query " /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="table-responsive"> |
| | | <table class="table table-striped table-bordered table-hover" id="resultTable"> |
| | | </table> |
| | | </div> |
| | | <div> |
| | | <h4> |
| | | 统计说明</h4> |
| | | <ul> |
| | | <li class="text-info">业务统计为非实时统计,由后台进程每2小时统计一次。</li> |
| | | <li>AP接收总费用:代理商提交到网关的计费总数;</li> |
| | | <li>AP成功费用:代理商提交成功到网关的计费总数;</li> |
| | | <li>OP提交总费用:此网关提交到运营商通道的计费总数;</li> |
| | | <li>OP成功费用:此网关提交成功到运营商通道的计费总数;</li> |
| | | <li>毛利润:AP接收总费用与OP提交总费用之间的差值;</li> |
| | | <li>净利润:AP成功费用与OP成功费用之间的差值;</li> |
| | | </ul> |
| | | </div> |
| | | |
| | | <div id="mask" class="mask"> |
| | | <span></span> |
| | | <img src="img/spinning-circles.svg" alt="载入中..." /></div> |
| | | </div> |
| | | </body> |
| | | </html> |