| | |
| | | <%@ Page Language="C#" masterpagefile="~/Main.master" AutoEventWireup="true" CodeFile="GwSp.aspx.cs" Inherits="_GwSp" %> |
| | | <asp:Content runat="server" ID="Content1" ContentPlaceHolderID="head"> |
| | | <link href="../static/select2/select2.css" type="text/css" rel="stylesheet" /> |
| | | <script src="../static/select2/select2.js" language="javascript" type="text/javascript"></script> |
| | | |
| | | |
| | | <script type="text/javascript" language="javascript"> |
| | |
| | | var routerType = $("#routerType").val(); |
| | | var clientName = $("#clientName").val(); |
| | | var chargeType = $("#chargeType").val(); |
| | | var resendStatus = $("#RESEND_STATUS").val(); |
| | | var productId = $("#productId").val(); |
| | | $.ajax({ |
| | | url: "GwSp.ashx", |
| | | type: "POST", |
| | | data: { action: "loadGwSpAccountPageList", spID: spID, apID: apID, opID: opID, routerType: routerType, clientID: clientID, clientName: clientName, chargeType: chargeType, pageIndex: pagination.getPageIndex(), pageSize: pagination.getPageSize() }, |
| | | data: { action: "loadGwSpAccountPageList", spID: spID, apID: apID, opID: opID, routerType: routerType, clientID: clientID, clientName: clientName, chargeType: chargeType, pageIndex: pagination.getPageIndex(), pageSize: pagination.getPageSize(), resendStatus: resendStatus, productId: productId }, |
| | | success: function(result) { |
| | | if (result.OK) { |
| | | $("#gwspTable tbody").html(result.Message.Table); |
| | |
| | | }, "json"); |
| | | }); |
| | | |
| | | $(document).on("click", ".action-modal-charge", function(e) { |
| | | var id = $(this).data("id"); |
| | | $("#chargeDialog .action-charge").data("id", id); |
| | | $("#chargeDialog .title").text(id + "账户充值"); |
| | | $("#chargeDialog").modal("show"); |
| | | //$(document).on("click", ".action-modal-charge", function(e) { |
| | | // var id = $(this).data("id"); |
| | | // $("#chargeDialog .action-charge").data("id", id); |
| | | // $("#chargeDialog .title").text(id + "账户充值"); |
| | | // $("#chargeDialog").modal("show"); |
| | | //}); |
| | | |
| | | //充值 |
| | | $(document).on("click", ".action-modal-charge", function () { |
| | | var spID = $(this).data("id"); //账号ID |
| | | //window.open("gwOrderCreate.aspx?spId=" + spID, 'gwOrderCreate'); |
| | | window.location.href = "gwOrderCreate.aspx?spId=" + spID; |
| | | }); |
| | | |
| | | //编辑账号 |
| | |
| | | |
| | | loadPageList(); |
| | | |
| | | |
| | | |
| | | $(document).on("click", ".action-create", function () { |
| | | window.location.href = "gwspupdate.aspx"; |
| | | }); |
| | | |
| | | |
| | | $(document).on("click", ".action-export", function() { |
| | |
| | | window.location.href = url; |
| | | }); |
| | | |
| | | //充值日志 |
| | | /** |
| | | $(document).on("click", ".action-modal-Acctunchargelog", function() { |
| | | var id = $(this).data("id"); |
| | | window.location.href = "GwSpChargeLog.aspx?id=" + id + ""; |
| | | }); |
| | | **/ |
| | | |
| | | $(document).on("click", ".action-modal-Acctunchargelog", function () { |
| | | var spId = $(this).data("id"); |
| | | window.location.href = "GwOrderList.aspx?spId=" + spId + ""; |
| | | }); |
| | | |
| | | var serverIp =<%=Newtonsoft.Json.JsonConvert.SerializeObject(ConfigurationManager.AppSettings["serverIp"])%>; |
| | |
| | | } |
| | | |
| | | }); |
| | | |
| | | |
| | | $('#parentId').select2({ |
| | | placeholder: "请选择关联产品", |
| | | allowClear: true |
| | | }); |
| | | </script> |
| | | </asp:Content> |
| | | <asp:Content runat="server" ID="Content2" ContentPlaceHolderID="title">客户账号信息配置</asp:Content> |
| | |
| | | <input type="text" name="opID" id="opID" class="form-control col-md-2" /> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="form-group"> |
| | | <div class="input-group m-b"> |
| | | <span class="input-group-addon">关联产品ID</span> |
| | | <select name="productId" id="productId" class="form-control"> |
| | | <%=GetProductOptions("")%> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | </div> |
| | | <div class="form-group"> |
| | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <div class="input-group m-b"> |
| | | <select name="apID" class="form-control" id="RESEND_STATUS"> |
| | | <option value="3">自动补发</option> |
| | | <option value="1">启用补发</option> |
| | | <option value="0">停用补发</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <div class="input-group m-b"> |
| | | <input type="button" value="查询" class="btn btn-primary action-query" /> |
| | |
| | | SP账号/接入协议/归属客户 |
| | | </th> |
| | | <th> |
| | | 关联产品 |
| | | </th> |
| | | <th> |
| | | 通道 |
| | | </th> |
| | | <th> |
| | | 失败补发 |
| | | </th> |
| | | <th> |
| | | <!-- add: yangzh by 2022-03-14 start |
| | | 条数/余额/付费方式/单价/告警 |
| | | --> |
| | | 剩余总条数/基本条数/赠送条数/付费方式/单价/告警 |
| | | </th> |
| | | <th> |
| | | 账号配置属性 |
| | |
| | | <label class="col-sm-2 control-label"> |
| | | 移动通道 |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <select name="CMOPID" id="CMOPID" class="form-control"> |
| | | <div class="col-sm-10"> |
| | | <select name="CMOPID" id="CMOPID" class="form-control"> |
| | | |
| | | <%=GetOpOptions(0)%> |
| | | </select> |
| | | <%=GetOpOptions(0)%> |
| | | </select> |
| | | |
| | | |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <%-- |
| | | <div class="modal inmodal fade" id="chargeDialog" tabindex="-1" role="dialog" aria-hidden="true"> |
| | | <div class="modal-dialog form-horizontal"> |
| | | <div class="modal-content animated "> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | --%> |
| | | |
| | | <div class="modal inmodal fade" id="chargeDialog" tabindex="-1" role="dialog" aria-hidden="true"> |
| | | <div class="modal-dialog form-horizontal"> |
| | | <div class="modal-content animated "> |
| | | <div class="modal-header"> |
| | | <span class="title">账户充值</span><a class="close" data-dismiss="modal" aria-hidden="true">×</a></div> |
| | | <div class="modal-body"> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label"> |
| | | 充值金额</label> |
| | | <div class="col-sm-10 input-group m-b"> |
| | | <input type="text" class="form-control" name="amount" id="amount" value="" /> |
| | | <span class="input-group-addon">¥</span> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label"> |
| | | 充值金额</label> |
| | | <div class="col-sm-10 input-group m-b"> |
| | | <input type="text" class="form-control" name="amount" id="amount" value="" /> |
| | | <span class="input-group-addon">¥</span> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label"> |
| | | 备注</label> |
| | | <div class="col-sm-10 input-group m-b"> |
| | | <input type="text" class="form-control" name="remark" id="remark" value="" /> |
| | | <span class="input-group-addon"></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="modal-footer"> |
| | | <button class="btn-default btn" data-dismiss="modal" aria-hidden="true"> |
| | | 取消</button> |
| | | <input class="btn btn-primary action-charge" value="确定充值" type="button" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="modal inmodal fade" id="model-abstract" tabindex="-1" role="dialog" aria-hidden="true"> |
| | | <div class="modal-dialog form-horizontal"> |
| | | <div class="modal-content animated "> |