yzh
2022-06-30 3bf021ed05b7ae7a50b4287b2831588495bb06e6
web/web/GwSp.aspx
@@ -124,7 +124,7 @@
            //充值
            $(document).on("click", ".action-modal-charge", function () {
                var spID = $(this).data("id");  //账号ID
                var spID = $(this).data("id");  //短信账号
                //window.open("gwOrderCreate.aspx?spId=" + spID, 'gwOrderCreate');
                window.location.href = "gwOrderCreate.aspx?spId=" + spID;
            });
@@ -142,8 +142,15 @@
          //新加  
            $(document).on("click", ".action-updateStatus", function () {
                var spid = $(this).attr("data-spid");
                var status=$(this).attr("data-status");
                mytek.confirm("是否需要修改该账户状态?", "是否操作!", function (b) {
                var status = $(this).attr("data-status");
                var statusMsg = "";
                if (status == 0) {
                    statusMsg = "【停用】";
                }
                else {
                    statusMsg = "【启用】";
                }
                mytek.confirm("是否需要" + statusMsg + "该账户状态?", "是否操作!", function (b) {
                    if (b) {
                        $.post("gwsp.ashx", { action: "updateSpStatus", spid: spid,status:status }, function (r) {
                            mytek.alert(r.Message, r.OK, function () {
@@ -382,7 +389,7 @@
        <div class="ibox">
            <div class="form-group">
                <div class="input-group m-b">
                    <span class="input-group-addon">SP账号</span>
                    <span class="input-group-addon">短信账号</span>
                    <input type="text" name="spID" id="spID" class="form-control col-md-2" />
                </div>
            </div>
@@ -409,14 +416,14 @@
            
            <div class="form-group">
                <div class="input-group m-b">
                    <span class="input-group-addon">通道ID</span>
                    <span class="input-group-addon">通道名</span>
                    <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>
                    <span class="input-group-addon">关联产品名称</span>
                        <select name="productId" id="productId" class="form-control">
                            <%=GetProductOptions("")%>
                        </select>
@@ -463,8 +470,6 @@
            <div class="form-group">
                <div class="input-group m-b">
                    <input type="button" value="查询" class="btn btn-primary action-query" />&nbsp;&nbsp;
                    <input type="button" value="批量修改通道" class="btn btn-danger action-modal-op" />&nbsp;&nbsp;
                    <input type="button" class="btn btn-info action-export" value="导出数据" />&nbsp;&nbsp;
                    <input class="btn btn-warning  action-create" value="创建新账号" type="button" />
                </div>
            </div>
@@ -472,6 +477,8 @@
    </div>
    </form>
    <div class="table-responsive">
        <input type="button" value="批量修改通道" class="btn btn-danger action-modal-op" />&nbsp;&nbsp;
        <input type="button" class="btn btn-info action-export" value="导出数据" />&nbsp;&nbsp;
        <table class="table table-striped table-bordered table-hover" id="gwspTable">
            <thead>
                <tr class="header">
@@ -479,10 +486,19 @@
                        <input type='checkbox' name='checkAll' id='checkAll' />
                    </th>
                    <th>
                        SP账号/接入协议/归属客户
                        短信账号
                    </th>
                    <th>
                        关联产品
                    </th>
                    <th>
                        客户账号
                    </th>
                    <th>
                        公司名称
                    </th>
                    <th>
                        接入协议
                    </th>
                    <th>
                        通道
@@ -491,11 +507,20 @@
                        失败补发
                    </th>
                    <th>
                        付费方式
                    </th>
                    <th>
                        参数单价(元/条)
                    </th>
                    <th>
                        余额(总条数/基本条数/赠送条数)
                    </th>
                        <!-- add: yangzh by 2022-03-14 start
                        条数/余额/付费方式/单价/告警
                         -->
                    <th>
                        //条数/余额/付费方式/单价/告警
                        剩余总条数/基本条数/赠送条数/付费方式/单价/告警
                    </th>
                         -->
                    <th>
                        账号配置属性
                    </th>
@@ -508,6 +533,9 @@
                    <th>
                        状态
                    </th>
                    <th>
                        激活时间
                    </th>
                    <th colspan="4">
                        操作
                    </th>